联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> OS作业OS作业

日期:2024-04-06 03:52

COMP SCI/SFWR ENG 4E03 — Assignment 11

1. (a) For a single server queue using FCFS scheduling you are given the option of three different processing time distributions: (i) exponential with rate 5 per minute, (ii) uniformly distributed between 10 and 14 seconds, (iii) equal to 11 or 13 seconds with equal probability. If mean response time is the performance measure of interest, which would you choose?

(b) For your choice in (a), would you prefer to switch to PS scheduling (assuming no issues with overhead)?

(c) For your choice in (a), would you prefer to switch to SRPT scheduling (assuming no issues with overhead)?

2. A single-server system has two types of arrivals. The arrival process is a Poisson process with rate 4 per minute. With probability 0.1, an arrival is of type 1 and has a processing time of exactly 2 seconds. With probability 0.9, an arrival is of type 2 and has a processing time of exactly 12 seconds.

(a) Calculate the mean response time for type 1 jobs if the scheduling policy is FCFS.

(b) Calculate the mean response time for type 1 jobs if preemptive priority is given to type 1 jobs.





相关文章

版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp