没有合适的资源?快使用搜索试试~ 我知道了~
(2)采用时间片为1ms的轮转(RR)调度 (3)采用最短剩余时间(SRTF)调度I/O设备利用率 (2)如果有效访问时间要比访问内存慢少于10%,即有效访问时
资源详情
资源评论
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/86361004/bg1.jpg)
《操作系统》 作业三
班级 学号 姓名
1、有三个进程:P1、P2 和 P3,其中 P1 和 P2 是 CPU 密集型的,每个运行一个星期,P3 是 I/O
密集型的,1ms 使用 CPU,9ms 使用磁盘;如果一次只运行一个进程,P1 或 P2 使用 100%的
CPU,P3 使用 90%的磁盘。
如果采用先来先服务(FCFS)调度,一旦 P1 或 P2 进入则每个使用 CPU 一个星期,如果使
用时间轮转(RR)或者最短剩余时间(SRTF)调度会怎样?假定:
(1)采用时间片为 100ms 的轮转(RR)调度。
(2)采用时间片为 1ms 的轮转(RR)调度。
(3)采用最短剩余时间(SRTF)调度 I/O 设备利用率。
分别求出这三个调度处理的磁盘利用率。
2、对于一个请求分页系统,假定内存访问时间为 200ns,而平均缺页故障的服务时间为 8ms,
请回答:
(1)如果 1000 次访问内存引起一次缺页故障,数据的有效访问时间是多少?
(2)如果有效访问时间要比访问内存慢少于 10%,即有效访问时间在 200ns 和 200ns*
(1+10%)之间,那么大约多少次内存访问会出现一次缺页故障?
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![wps](https://img-home.csdnimg.cn/images/20210720083653.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![application/pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
懂得越多越要学
- 粉丝: 21
- 资源: 308
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)
评论0