《操作系统》课程教学资源(PPT课件讲稿)实时调度 Real-Time Scheduling

CHAPTER 10 10.2 Real-Time Scheduling
CHAPTER 10 10.2 Real-Time Scheduling

Background Correctness of the system depends not only on the logical result of the computation but also on the time at which the results are produced (系统的正确性不仅取决于计算的逻辑结果,而且还 依赖于产生结果的时间) Tasks or processes attempt to control or react to events that take place in the outside world (实时任务或进程试图控制外部世界发生的事件或对 这些事件作出的反应) These events occur in“‘ real time” and process must be able to keep up with them (这些事件是“实时”发生的,进程必须能够跟随处 理这些事件)
Background • Correctness of the system depends not only on the logical result of the computation but also on the time at which the results are produced (系统的正确性不仅取决于计算的逻辑结果,而且还 依赖于产生结果的时间) • Tasks or processes attempt to control or react to events that take place in the outside world (实时任务或进程试图控制外部世界发生的事件或对 这些事件作出的反应) • These events occur in “real time” and process must be able to keep up with them (这些事件是“实时”发生的,进程必须能够跟随处 理这些事件)

实时系统的例子 Control of laboratory experiments(实验 控制) Process control plants(过程控制设备) Robotics(机器人) Air traffic control(空中交通管制) Telecommunications(远程通信) Military command and control systems (军事指挥与控制系统)
实时系统的例子 • Control of laboratory experiments(实验 控制) • Process control plants(过程控制设备) • Robotics(机器人) • Air traffic control(空中交通管制) • Telecommunications(远程通信) • Military command and control systems (军事指挥与控制系统)

Real-Time System 指能及时响应外部事件的请求,在规定的 时间内完成对该事件的处理,并控制所 有实时任务协调一致地运行的计算机系 统
Real-Time System 指能及时响应外部事件的请求,在规定的 时间内完成对该事件的处理,并控制所 有实时任务协调一致地运行的计算机系 统

Real-Time System 实控制系统,指要求进行实时控制的系统。 用于生产过程的控制,实时采集现场数据,并 对所采集的数据进行及时处理。如飞机的自动 驾驶系统,以及导弹的制导系统等。 实信息她理系统,指能对信息进行实时处 理的系统。典型的实时信息处理系统有:飞机 订票系统、情报检索系统等
Real-Time System • 实时控制系统,指要求进行实时控制的系统。 用于生产过程的控制,实时采集现场数据,并 对所采集的数据进行及时处理 。如飞机的自动 驾驶系统,以及导弹的制导系统等。 • 实时信息处理系统,指能对信息进行实时处 理的系统。典型的实时信息处理系统有:飞机 订票系统、情报检索系统等

Rea-time task ·按任务执行时是否呈现周期性来划分 periodic(周期性)实时任务 aperiodic(非周期性)实时任务,必须联 系着一个截止时间( deadline 根据对截止时间的要求来划分 hard real- time task(硬实时任务),系 统必须满足任务对截止时间的要求,否则可能 出现难以预测的结果。 soft rea|- time task(软实时任务)
Real-time Task • 按任务执行时是否呈现周期性来划分 periodic(周期性)实时任务 aperiodic(非周期性)实时任务,必须联 系着一个截止时间(deadline) • 根据对截止时间的要求来划分 hard real-time task (硬实时任务) ,系 统必须满足任务对截止时间的要求,否则可能 出现难以预测的结果。 soft real-time task (软实时任务)

Characteristics of Real-Time Operating Systems (实时操作系统的特点) · Deterministic(确定性) Operations are performed at fixed, predetermined times or within predetermined time intervals(是指可以按照固定的、预先确 定的时间或时间间隔执行操作) Concerned with how long the operating system delays before acknowledging an interrupt (W 定性关注的是操作系统获知有一个中断之前有 多长延迟)
Characteristics of Real-Time Operating Systems (实时操作系统的特点) • Deterministic(确定性) – Operations are performed at fixed, predetermined times or within predetermined time intervals(是指可以按照固定的、预先确 定的时间或时间间隔执行操作) – Concerned with how long the operating system delays before acknowledging an interrupt(确 定性关注的是操作系统获知有一个中断之前有 多长延迟)

Characteristics of Real-Time Operating Systems (实时操作系统的特点) Responsiveness响应性) How long, after acknowledgment, it takes the operating system to service the interrupt (响应时间关注的是:知道中断之后,操作系统为中断提 供的服务时间) ●响应性包括: Includes amount of time to begin execution of the interrupt(包括处理中断并开始执行中断服务例程所需 时间总和) Includes the amount of time to perform the interrupt (包括执行中断服务例程所需要的时间总量)
Characteristics of Real-Time Operating Systems (实时操作系统的特点) • Responsiveness(响应性) • How long, after acknowledgment, it takes the operating system to service the interrupt (响应时间关注的是:知道中断之后,操作系统为中断提 供的服务时间) ●响应性包括: – Includes amount of time to begin execution of the interrupt(包括处理中断并开始执行中断服务例程所需 时间总和) – Includes the amount of time to perform the interrupt (包括执行中断服务例程所需要的时间总量)

Characteristics of Real-Time Operating Systems (实时操作系统的特点) User control User specifies priority(用户指定优先级) Use of paging or process swapping(使用分 页调度或是进程交换) What processes must always reside in main memory(进程必须常驻内存) Disks algorithms to use(使用磁盘算法) Rights of processes进程具有的权限)
Characteristics of Real-Time Operating Systems (实时操作系统的特点) • User control – User specifies priority(用户指定优先级) – Use of paging or process swapping(使用分 页调度或是进程交换) – What processes must always reside in main memory(进程必须常驻内存) – Disks algorithms to use(使用磁盘算法) – Rights of processes(进程具有的权限)

Characteristics of Real-Time Operating Systems (实时操作系统的特点) Reliability(可靠性 Degradation of performance may have catastrophic Consequences(性能降低可能产生文难性的后果) Attempt either to correct the problem or minimize its effects while continuing to run(企图即能校正问 题或将影响降到最小而继续运行) Most critical(采用临界区保证可靠性),high priority tasks execute(高优先级任务先执行)
Characteristics of Real-Time Operating Systems (实时操作系统的特点) • Reliability(可靠性) – Degradation of performance may have catastrophic consequences(性能降低可能产生灾难性的后果) – Attempt either to correct the problem or minimize its effects while continuing to run(企图即能校正问 题或将影响降到最小而继续运行) – Most critical(采用临界区保证可靠性), high priority tasks execute(高优先级任务先执行)
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 白城师范学院:《数据库系统概论 An Introduction to Database System》课程教学资源(PPT课件讲稿)第二章 关系数据库(2.1-2.3).ppt
- 《计算机算法设计与分析》课程教学资源(PPT课件)第8章回溯法.ppt
- 清华大学出版社:《计算机应用基础实例教程》课程教学资源(PPT课件讲稿,第二版,共七章,主编:吴霞,制作:李晓新).ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)绪论、第1章 量化设计与分析基础(主讲:周学海).ppt
- 北京大学:烟花算法的变异算子(PPT讲稿)Mutation Operators of Fireworks Algorithm.pptx
- Introduction to Text Mining 文本挖掘.pptx
- 《Managing XML and Semistructured Data》教学资源(PPT课件讲稿)Part 04 Compressing XML Data.ppt
- 《JAVA面向对象入门技术》教程教学资源(PPT课件讲稿)第二章 Java语言基础.ppt
- 北京大学:《项目成本管理》课程教学资源(PPT课件讲稿)项目范围计划(主讲:周立新).ppt
- 山东大学:《网站设计与建设》课程教学资源(PPT课件讲稿)第三部分 网站设计技术 第20章 MySQL数据库.ppt
- 程序设计工具(PPT课件讲稿)Software Program Tool.ppt
- 《Java Web应用开发技术与案例教程》教学资源(PPT讲稿)第7章 Java Web常用开发模式与案例.ppt
- 《面向对象程序设计》课程教学大纲(适用专业:信息与计算科学).pdf
- 《编译技术》课程教学资源(PPT课件讲稿)第六章 运行时存储空间的组织和管理.ppt
- 沈阳理工大学:《计算机网络》课程教学资源(PPT课件讲稿)第2章 IP技术.ppt
- 香港科技大学:Record Linkage for Big Data.pptx
- 中国科技大学计算机系:《黑客反向工程》课程教学资源(PPT课件讲稿)黑客反向工程导论(陈凯明).ppt
- 《单片机应用技术》课程PPT教学课件(C语言版)第10章 单片机测控接口.ppt
- 《计算机操作系统》课程教学资源(PPT课件讲稿)第四章 存储器管理.ppt
- 《计算机网络与因特网 Computer Networks and Internets》课程教学资源(PPT课件讲稿)第二讲 互联网应用软件.ppt
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 6 Concurrency - Deadlock(死锁)and Starvation(饥饿).ppt
- 《网络搜索和挖掘关键技术 Web Search and Mining》课程教学资源(PPT讲稿)Lecture 12 Language Models.ppt
- Progress of Concurrent Objects with Partial Methods.pptx
- 《编译原理与技术》课程教学资源(PPT课件讲稿)代码优化.ppt
- 《单片机应用技术》课程PPT教学课件(C语言版)第3章 MCS-51指令系统及汇编程序设计.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第八章 图.ppt
- 同济大学:《大数据分析与数据挖掘 Big Data Analysis and Mining》课程教学资源(PPT课件讲稿)Platforms for Big Data Mining(主讲:饶卫雄).ppt
- 《计算机网络》课程教学资源(PPT讲稿)网络安全(访问控制、加密、防火墙).ppt
- 水平集方法与图像分割 Level set method and image segmentation.pptx
- 北京师范大学:《计算机文化基础》课程教学资源(PPT课件讲稿)08 网页制作基础知识(赵国庆).ppt
- 《C语言程序设计》课程教学资源(PPT讲稿)第1章 程序设计和C语言.pptx
- 《计算机组装与维护》课程教学资源(PPT课件讲稿)第十一章 计算机数据恢复技术.ppt
- 贵州大学:计算机应用基础(PPT课件讲稿)计算机基础知识.pdf
- 《计算导论与程序设计》课程教学资源(PPT课件讲稿)Chap 5 函数.ppt
- 《计算机网络 Computer Networking》课程教学资源(PPT课件讲稿)Chapter 08 Network Security.ppt
- 《计算机网络与通信》课程教学资源(PPT课件)Chapter 8 传输层.ppt
- 《数据结构与算法分析》课程教学资源(PPT讲稿)Lists, Stacks and Queues.ppt
- 沈阳理工大学:《Visual Basic 6.0程序设计》课程教学资源(PPT课件讲稿)第三章 VB基本语言.ppt
- 南京大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)简介、第一章 引论(谭晓阳).ppt
- 中国科学技术大学:《Linux操作系统分析》课程教学资源(PPT课件讲稿)第一章 绪论(主讲:陈香兰).ppt