- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
(5 points)There exist two processes P1 and P2 in a multiprogramming batch system. P2 enters into the system 10ms later than P1, and their executing traces, i.e. alternating sequences of CPU bursts and I/O bursts, are as follows:
P1: computing, 80ms → I/O operation, 100ms → computing, 40ms
P2: computing, 130ms → I/O operation, 50ms → computing, 50ms
It is assumed that time costs of CPU scheduling and process switch are omitted, what is the maximal throughput for completing these two processes, and why?
Answers:
1. 最大吞吐量 = 2/(80+130+50+50) = 2/310= 1/155 个/ms (3 points)
2. 当P1、P2的CPU计算和I/O操作最大程度并行执行时,2个进程总的执行时间最短,系统吞吐量达到最大,如下图所示;(2 points)
In a computer system, the users submit to the system their computational tasks as jobs, and all these jobs are then stored as the standby jobs on the disk.
The job scheduler (also known as long-term scheduler) selects the standby jobs on the disk, creates new processes in memory for them, and then starts executing of these processes. Each job’s ID is the same as that of the process created for it, for example, Ji and Pi.
When the number of concurrent processes in memory is lower than three, the job scheduler takes the FCFS algorithm to select a standby job on the disk to create a new process. Otherwise, the jobs should wait on the disk.
For the processes in memory, the process scheduler (also known as short-term scheduler) takes the non-preemptive priority-based algorithm to select a process and allocates the CPU to it.
It is assumed the system costs resulting from job and process scheduling are omitted.
Consider the following set of Jobs J1, J2, J3 , J4 and J5. For 1≤ i ≤5, the arrival time of each Ji , the length of the CPU burst time of each process Pi, and the priority number for each Ji/Pi are given as below, and a smaller priority number implies a higher priority.
Job Arrival Time Burst Time Priority Number
(minute)
J1 14:00 40 4
J2
您可能关注的文档
- 《中级电工工艺学》教案第四章交流电机的修理解析.doc
- 0AP.460.420fY使用说明书解析.doc
- 《中级公共管理研究方法》期末复习大纲解析.doc
- 0vr材质参数设置解析.doc
- 《中级会计实务》冲刺试卷(一)解析.doc
- 0毕业设计评审表(任务书)解析.doc
- 0初烧DIY讲座——电子管电压变换曲线解析.doc
- 《中建一局集团第一建筑有限公司项目管理50项规定动作手册》(第一版)解析.doc
- 0室外泛光照明常用——灯具选型解析.doc
- 001【现代简约】江南青年城黑白灰经典色调解析.doc
- 【步步高】(广东专用)2015届高考数学二轮复习专题训练六第3讲圆锥曲线中的热点问题理解析.doc
- 1--8课复习题档解析.doc
- 1--9乘除法口算题解析.doc
- 1——11——2《积极参与国际经济竞争与合作》导学案解析.doc
- 【步步高】(广东专用)2016年高考化学一轮复习第九章第6讲高分子化合物和有机合成解析.doc
- 1-11苏教版六年级语文课文同步练习解析.doc
- 1-80m系杆拱拱肋安装专项施工方案20111029解析.doc
- 1-2009级-王大爷的遭遇(教师版)解析.doc
- 【步步高】2014-2015学年高中化学第3章第1节第2课时溶液的酸碱性与pH值对点训练鲁科版选修4解析.doc
- 1-2015年北京海淀区高三一模物理试题及答案_word版解析.doc
文档评论(0)