电子科技大学:《计算机操作系统》课程教学资源(PPT课件讲稿)第四章 设备管理 Device Management and Disk Scheduling

Chapter 4 Device Management and Disk Scheduling
Chapter 4 Device Management and Disk Scheduling

Content ☆Ⅳ o device overview &lo organization and architecture ☆ 1/0 buffering ☆ Disk scheduling ☆RAID 4 Notes: Difficult to develop a general, consistent solution. just a generally discuss. DEVICE MANAGEMENT
DEVICE MANAGEMENT Content ❖I/O device overview ❖I/O organization and architecture ❖I/O buffering ❖Disk scheduling ❖RAID ❖Notes: Difficult to develop a general, consistent solution. Just a generally discuss

4.1 1/0 Devices(P452) Three categories: Human readable devices s Such as Keyboard, Mouse, Display, Printer and so on machine readable devices Such as Actuator, Controller, sensor, Tape drive, Disk drive and so on Communication devices Such as modem, Network Adapter and so on. DEVICE MANAGEMENT
DEVICE MANAGEMENT 4.1 I/O Devices (P452) Three categories: ❖Human Readable Devices ٭ Such as Keyboard, Mouse, Display, Printer and so on; ❖Machine Readable Devices ٭ Such as Actuator, Controller, Sensor, Tape Drive, Disk Drive and so on; ❖Communication Devices ٭ Such as Modem, Network Adapter and so on

Classify .There are many sorting standard E. g data rates DEVICE MANAGEMENT
DEVICE MANAGEMENT Classify ❖There are many sorting standard. E.g. data rates

Data rates of devices leabit ethernet Graphics display Hard disk Ethernet Optical dIsk Scanner Laser prInter Floppy dIsk Modem Mouse Keyboard 10 103 105 107 Data Rate(bps) Figure ll1 Typical I/O Device Data Rates DEVICE MANAGEMENT
DEVICE MANAGEMENT Data Rates of Devices

Differences in lo devices ☆ Application Disk used to store files requires file-management software Disk used to store virtual memory pages needs special hardware and software to support it Terminal used by system administrator may have a higher priority than an ordinary user DEVICE MANAGEMENT
DEVICE MANAGEMENT Differences in I/O Devices ❖Application ٭ Disk used to store files requires file-management software ٭ Disk used to store virtual memory pages needs special hardware and software to support it ٭ Terminal used by system administrator may have a higher priority than an ordinary user

Differences in o devices complexity of control ☆ Unit of transfer Data may be transferred as a stream of bytes for a terminal or in larger blocks for a disk ☆ Data representation s Encoding schemes ☆ Error conditions Devices respond to errors differently DEVICE MANAGEMENT
DEVICE MANAGEMENT Differences in I/O Devices ❖Complexity of control ❖Unit of transfer ٭ Data may be transferred as a stream of bytes for a terminal or in larger blocks for a disk ❖Data representation ٭ Encoding schemes ❖Error conditions ٭ Devices respond to errors differently

0) 4.2 Techniques for Performing 10(p453 11 2) s Cyclic Test /Programmed ◇ Interrupt-Driven ☆ DMA Control DEVICE MANAGEMENT
DEVICE MANAGEMENT 4.2 Techniques for Performing I/O (p453 11.2) ❖Cyclic Test /Programmed ❖Interrupt-Driven ❖DMA Control

Programmed 10--P29 Issue Re ad command to CPL→LO IAO module ☆Ⅳ O module performs the action,not Read status the processor vO IO→CPU module ☆ Sets app ropriate bits in the vo Error status register status condition Ready ☆ No interrupts occur Read word from vc IO→CP Module Processor checks status until Write word operation is complete CP→ memor into memory ☆Busy- waits Yes Next instruction (a) Programmed IO DEVICE MANAGEMENT
DEVICE MANAGEMENT Programmed I/O --P29. ❖I/O module performs the action, not the processor ❖Sets appropriate bits in the I/O status register ❖No interrupts occur ❖Processor checks status until operation is complete ❖Busy-waits

Interrupt-Driven 10 Issue Read CpU→O s Processor is interrupted when 1O command to Do some thi IO module module ready to exchange data Read status Interrupt of wo Processor is free to do other work module IO→Cp ☆ No needless waiting Error status condition Ready s Consumes a lot of processor time Read word from Io IO→CPU because every word read or written Module passes through the processor Write word CPU→ memory into memory Done Next instruction (b)Interrupt-driven LO DEVICE MANAGEMENT
DEVICE MANAGEMENT Interrupt-Driven I/O ❖Processor is interrupted when I/O module ready to exchange data ❖Processor is free to do other work ❖No needless waiting ❖Consumes a lot of processor time because every word read or written passes through the processor
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:模型检测(PPT课件讲稿)Model Checking.pptx
- 《计算机网络》课程教学大纲 Computer Networks.pdf
- 中国科学技术大学:《Linux操作系统分析》课程教学资源(PPT课件讲稿)Linux的进程(1/3).ppt
- 合肥工业大学:《数据库系统概论》课程教学资源(PPT课件)第四章 并发控制.ppt
- Phase Change Memory Aware Data Management and Application.pptx
- 《高级程序语言》课程教学资源(PPT课件讲稿)第09章 平台无关语言.ppt
- 并行算法 Parallel Algorithms(PPT讲稿)现状与展望 status and prospects.ppt
- 上海交通大学:Network Coding for Wireless Networks(PPT讲稿).pptx
- 西安电子科技大学:《现代密码学》课程教学资源(PPT课件讲稿)第七章 密码协议.pptx
- 北京大学:网络搜索引擎原理(PPT讲稿)Web Graph & Link Analysis.ppt
- 《数据结构 Data Structure》课程教学资源(PPT课件讲稿)第二章 线性表.ppt
- 大庆职业学院:《计算机网络技术基础》课程电子教案(PPT教学课件)第3章 网络体系结构与协议.ppt
- 《微型计算机原理及应用》课程教学资源(PPT课件讲稿)第6章 输入输出与中断.ppt
- 信息化技术中心:网络安全意识培训(PPT讲稿).pptx
- 徐州师范大学:《电子商务 Electronic Business》课程教学资源(PPT课件讲稿)电子商务安全实验、数字证书应用.ppt
- Generic Programming(PPT课件讲稿)Templates and Overloading.ppt
- 西安电子科技大学:《操作系统 Operating Systems》课程教学资源(PPT课件讲稿)Chapter 01 Introduction(主讲:高海昌).ppt
- 四川大学:《数据结构》课程教学资源(PPT课件讲稿)第七章 查找 Search.ppt
- 西安电子科技大学:《现代操作系统》课程PPT教学课件(讲稿)作业管理 Job Management.ppt
- 《多媒体技术》课程教学资源(PPT课件讲稿).ppt
- 湖南生物机电职业技术学院:《电子商务概论》课程教学资源(PPT课件)第八章 电子商务安全.ppt
- 《操作系统》课程PPT教学课件(英文)内存管理 Memory Management.ppt
- 上海交通大学:IT项目管理(PPT讲稿)讲座6 软件项目工作量估算.ppt
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)第9章 数据库系统开发工具VB.ppt
- 合肥学院:《数据库原理与应用》课程教学资源(PPT课件)第4章 数据库的创建与管理.ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第3章 流水线技术.ppt
- 系统软件与软件安全(PPT讲稿)构造安全、高效的系统软件.pptx
- 计算机问题求解(PPT讲稿)图的计算机表示以及遍历.pptx
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 03 Standard Template Library & Generic Programming.ppt
- Scanning Electron Microscopy(SEM).ppt
- 《C语言程序设计》课程教学资源(PPT课件)第6章数据类型和表达式.ppt
- 面向对象编程 Object-Oriented Programming(PPT课件讲稿)继承 Inheritance.ppt
- 《单片机应用技术》课程PPT教学课件(C语言版)第7章 定时器/计数器.ppt
- 清华大学:《计算机导论》课程电子教案(PPT教学课件)第8章 计算机领域的典型问题.ppt
- 《网站设计与建设 Website design and developments》课程教学资源(PPT课件讲稿)第三部分 网站设计技术 第10章 HTML基础.ppt
- 山东大学:《面向对象程序设计》课程教学资源(PPT课件讲稿)第四章 编写对象接口.ppt
- 中国科学技术大学:《机器学习》课程PPT教学课件(讲稿)第二章 模型评估与选择.pptx
- 《C语言程序设计》课程电子教案(PPT课件)第三章 控制语句.ppt
- 安徽理工大学:《计算机网络》课程PPT教学课件(第4版)第1章 概述(编著:谢希仁).ppt
- 中国人民大学:《数据库系统概论 An Introduction to Database System》课程教学资源(PPT课件讲稿)第九章 关系查询处理和查询优化.ppt