- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
操作系统概念课件ch06
CHAPTER 6: CPU SCHEDULING (调度) Scheduling Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Scheduling Algorithm Evaluation SCHEDULING CONCEPTS To maximize CPU utilization with multiprogramming CPU–I/O Burst Cycle: Process execution consists of a sequence of CPU execution and I/O wait. CPU burst I/O wait CPU burst I/O wait …. Scheduling concepts: Histogram Scheduling concepts: CPU Scheduler (调度器) CPU scheduler selects a process from the ready processes and allocates the CPU to it. When to use CPU scheduler? When a process terminates. When a process switches from running to waiting state. When a process switches from running to ready state. When a process switches from waiting to ready. Scheduling under 1 and 2 only is non-preemptive(非抢占). Win 3.x Scheduling under all conditions is preemptive(抢占). Win 9x, Win NT/2K/XP, Linux Scheduling concepts: Process dispatcher (派遣器) Dispatcher module gives the CPU control to the process selected by the short-term scheduler; this involves: switching context (saving context and restoring context) switching to user mode (from monitor mode ? user mode) jumping to the proper location in the user program to restart that program (PC counter) Dispatch latency – the time it takes for the dispatcher to stop one process and start another running. SCHEDULING CRITERIA (标准) CPU utilization (使用率): keep the CPU as busy as possible. CPU throughput (吞吐量): number of processes that complete their execution per time unit. Process turnaround time (周转时间): amount of time to execute a particular process. Process waiting time (等时间): amount of time a process has been waiting in the ready queue. Process response time (响应时间): amount of time it takes from when a request was submitted until the first response is produced, not output (for time-sharing environment). Scheduling criteria To maximize or minimize some average measures: Maximize CPU utilization. Maximize CPU throughput. Minim
您可能关注的文档
最近下载
- GP-150中文说明书.pdf VIP
- 中文说明书-船舶自动识别系统(AIS)FA-150版.docx VIP
- FAR21X7_28X7雷达中文操作说明书.pdf VIP
- 2025届广东深圳市物理高一第一学期期末教学质量检测试题含解析.doc VIP
- 广东高一物理第一学期期末试题.doc VIP
- 水资源及其利用——人类拥有的水资源及其分布.pdf VIP
- FURUNO古野OZS56490D_NX700使用说明书.pdf VIP
- 青岛啤酒股份有限公司成本控制存在问题及对策研究.doc
- 生物安全柜使用与维护保养记录表.doc VIP
- 输变电工程施工质量验收统一表式(变电工程电气专业).docx VIP
文档评论(0)