- 1
- 0
- 约1.24万字
- 约 61页
- 2019-05-06 发布于广东
- 举报
Processes and SchedulingSection III Objective of scheduling Fairness----Prevent starvation Efficiency Throughput Response time Types of scheduling (调度类型p379) Sorted by OS types(按系统类型分类) Batch scheduling(批处理调度) Time-sharing scheduling (分时调度) Real-time scheduling (实时调度) Multiprocessor scheduling(多处理机调度) Scheduling and Process State Transitions (p380) Levels of Scheduling(分级调度图P381) Long-term scheduling(P380) Determines(确定) which program are admitted to the system for processing. Controls the degree of multiprogramming(多道程度). Once admitted(提交), a job becomes a process and is added to the queue for short-term scheduler or for medium-term scheduler. In a batch system, the long-term scheduler chooses the jobs held in(保持在) disk queue and creates processes from the queue when it can. Two problems for long-term scheduling(p381) Decide the number of processes that OS can take on, which is decided by the degree of multiprogramming. Which job or jobs to accept and turn into(转化为) processes. Decided by scheduling algorithm,e.g. FCFS、SJF、HRRN etc… When to invoke the long-term scheduler? States of Job: admit, execution, finish Medium-term scheduling(p383) Part of the swapping function(交换功能). Choose processes in disk to swap in for execution. Short-term scheduling(p383) Known as the dispatcher(分派器), executes most frequently and makes the fine-grained(细粒度) decision of which process to execute next. The event to invoked(引起) the short-term scheduling Clock interrupts I/O interrupts Operating system calls Signals (信号) Scheduling Criteria(准则) T9.2(p385) User Oriented, Performance Related(面向用户,考虑性能) Response time(响应时间). From the submission(提交) of a request until the response begins to be received. Often be used in time-shared time. Turnaround(周转)time. The interval(间隙) of time between the submission of a process and its completion. Often be used in batch systems. Deadlines(截止期). The deadlines be specified for a process, such as starting deadlines and completion deadlines. Scheduling
您可能关注的文档
- 滁州学院计算机与信息工程学院计算机网络课件第4讲 信道复用与数字传输技术.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第6讲 数据链路层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第7讲 局域网(1).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第8讲 局域网(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第9讲 局域网(3).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第11讲 网络层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第12讲 网络层(3).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第13讲 网络层(4).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第14讲 网络层(5).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第17讲 传输层(3).ppt
- 电子科技大学计算机操作系统课件Chapter 3 Memory Management.ppt
- 电子科技大学计算机操作系统课件Chapter 4 Device Management and Disk Scheduling.ppt
- 电子科技大学计算机操作系统课件Chapter 5 File System.ppt
- 电子科技大学计算机操作系统课件第二章 进程管理.ppt
- 电子科技大学计算机操作系统课件第三章 处理机的调度和死锁.ppt
- 电子科技大学计算机操作系统课件第四章 存储器管理.ppt
- 电子科技大学计算机操作系统课件第五章 设备管理.ppt
- 电子科技大学计算机科学与工程学院编译原理课件第01章 绪论.ppt
- 电子科技大学计算机科学与工程学院编译原理课件第02章 数据类型.ppt
- 电子科技大学计算机科学与工程学院编译原理课件第3章 控制结构.ppt
原创力文档

文档评论(0)