Chapter-1-Introduction-操作系统课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《Chapter-1-Introduction-操作系统课件.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Chapter Introduction 操作系统 课件
- 资源描述:
-
1、1.2nWhat Operating Systems DonComputer-System OrganizationnComputer-System ArchitecturenOperating-System StructurenOperating-System OperationsnProcess ManagementnMemory ManagementnStorage ManagementnProtection and SecuritynDistributed SystemsnSpecial-Purpose SystemsnComputing Environments1.3nTo prov
2、ide a grand tour of the major operating systems componentsnTo provide coverage of basic computer system organization1.4nA program that manages the computer hardware.nA program that acts as an intermediary between a user of a computer and the computer hardware.nOperating system goals:lExecute user pr
3、ograms and make solving user problems easier.-lMake the computer system to use.lUse the computer hardware in an manner.1.5nComputer system can be divided into provides basic computing resources4CPU,memory,I/O devices4Controls and coordinates use of hardware among various applications and users defin
4、e the ways in which the system resources are used to solve the computing problems of the users4Word processors,compilers,web browsers,database systems,video games4People,machines,other computers1.61.7nOS is a lManages all resourceslDecides between conflicting requests for efficient and fair resource
5、 usenOS is a lControls execution of programs to prevent errors and improper use of the computer1.8nNo universally accepted definitionn“Everything a vendor ships when you order an operating system”is good approximationlBut varies wildlyn“The one program running at all times on the computer”is the.Eve
6、rything else is either a system program(ships with the operating system)or an application program1.9 is loaded at power-up or rebootlTypically stored in ROM or EPROM,generally known as lInitializates all aspects of systemlLoads operating system kernel and starts execution1.10nComputer-system operati
7、onlOne or more CPUs,device controllers connect through common bus providing access to shared memorylConcurrent execution of CPUs and devices competing for memory cycles1.11nI/O devices and the CPU can execute.nEach is in charge of a particular device type.nEach device controller has a local buffer.n
8、CPU moves data from/to main memory to/from local buffersnI/O is from the device to local buffer of controller.nDevice controller informs CPU that it has finished its operation by causing an.1.12nInterrupt transfers control to the interrupt service routine generally,through the,which contains the add
9、resses of all the service routines.nInterrupt architecture must save the address of the interrupted instruction.nIncoming interrupts are while another interrupt is being processed to prevent a.nA is a software-generated interrupt caused either by an error or a user request.nAn operating system is dr
10、iven.1.131.14nAfter I/O starts,control returns to user program only upon I/O completion.lWait instruction idles the CPU until the next interruptlWait loop(contention for memory access).lAt most one I/O request is outstanding at a time,no simultaneous I/O processing.nAfter I/O starts,control returns
11、to user program without waiting for I/O completion.request to the operating system to allow user to wait for I/O completion.contains entry for each I/O device indicating its type,address,and state.lOperating system indexes into I/O device table to determine device status and to modify table entry to
12、 include interrupt.1.151.161.17nMain memory only large storage media that the CPU can access directly.nSecondary storage extension of main memory that provides large nonvolatile storage capacity.nMagnetic disks rigid metal or glass platters covered with magnetic recording material lDisk surface is l
13、ogically divided into,which are subdivided into.lThe determines the logical interaction between the device and the computer.1.18nStorage systems organized in hierarchy.lSpeedlCostlVolatility copying information into faster storage system;main memory can be viewed as a last cache for secondary storag
14、e.1.191.20nMovement between levels of storage hierarchy can be explicit or implicit1.21nSingle Processor SystemslA CPUlMany microprocessor4Device controllersnMulticore Processor SystemslA CPU with multi-corelA core is a processorn Multiprocessor System(Parallel Systems or Tightly coupled systems)lAs
15、ymmetric multiprocessing(ASMP)lSymmetric multiprocessing (SMP)nClustered systemslMany nodeslLAN1.221.231.24nHire an operatornUser operatornAdd a card readernReduce setup time by batching similar jobsnAutomatic job sequencing automatically transfers control from one job to another.First rudimentary o
16、perating system.nResident linitial control in monitorlcontrol transfers to job lwhen job completes control transfers back to monitornUniprogramming1.251.26cardsIBM1401IBM7094IBM1401TapesCard readerPrinter1.27 needed for efficiencylSingle user cannot keep CPU and I/O devices busy at all timeslMultipr
17、ogramming organizes jobs(code and data)so CPU always has one to execute-to increase CPU utilizationlA subset of total jobs in system is kept in memory simultaneouslylOne job selected and run via lWhen it has to wait(for I/O for example),OS switches to another job is logical extension in which CPU sw
18、itches jobs so frequently that users can interact with each job while it is running,creating interactive computing should be 1 secondlEach user has at least one program executing in memory lIf several jobs ready to run at the same time lIf processes dont fit in memory,moves them in and out to run al
展开阅读全文