ImageVerifierCode 换一换
格式:PPT , 页数:47 ,大小:325.51KB ,
文档编号:5176570      下载积分:25 文币
快捷下载
登录下载
邮箱/手机:
温馨提示:
系统将以此处填写的邮箱或者手机号生成账号和密码,方便再次下载。 如填写123,账号和密码都是123。
支付方式: 支付宝    微信支付   
验证码:   换一换

优惠套餐
 

温馨提示:若手机下载失败,请复制以下地址【https://www.163wenku.com/d-5176570.html】到电脑浏览器->登陆(账号密码均为手机号或邮箱;不要扫码登陆)->重新下载(不再收费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  
下载须知

1: 试题类文档的标题没说有答案,则无答案;主观题也可能无答案。PPT的音视频可能无法播放。 请谨慎下单,一旦售出,概不退换。
2: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
3: 本文为用户(晟晟文业)主动上传,所有收益归该用户。163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

1,本文(计算机系统结构2英文课件.ppt)为本站会员(晟晟文业)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!

计算机系统结构2英文课件.ppt

1、Chapter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationChapter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem Struc

2、turenVirtual MachinesnSystem Design and ImplementationCommon System ComponentsnProcess ManagementnMain Memory ManagementnSecondary-Storage ManagementnI/O System ManagementnFile ManagementnProtection SystemnNetworkingnCommand-Interpreter SystemProcess ManagementnA process is a program in execution.A

3、process needs certain resources,including CPU time,memory,files,and I/O devices,to accomplish its task.nThe operating system is responsible for the following activities in connection with process management.在同进程管理有关的活动中,操作系统负责下列事务在同进程管理有关的活动中,操作系统负责下列事务nProcess creation and deletion.nprocess suspens

4、ion and resumption.nProvision of mechanisms for nprocess synchronizationnprocess communicationMain-Memory ManagementnMemory is a large array of words or bytes,each with its own address.It is a repository of quickly accessible data shared by the CPU and I/O devices.nMain memory is a volatile storage

5、device.It loses its contents in the case of system failure.nThe operating system is responsible for the following activities in connections with memory management:nKeep track of which parts of memory are currently being used and by whom.nDecide which processes to load when memory space becomes avail

6、able.nAllocate and deallocate memory space as needed.Secondary-Storage ManagementnSince main memory(primary storage)is volatile and too small to accommodate all data and programs permanently,the computer system must provide secondary storage to back up main memory.nMost modern computer systems use d

7、isks as the principle on-line storage medium,for both programs and data.nThe operating system is responsible for the following activities in connection with disk managementnFree space managementnStorage allocationnDisk schedulingI/O System ManagementnThe I/O system consists of:nA buffer-caching syst

8、emnA general device-driver interfacenDrivers for specific hardware devicesFile ManagementnA file is a collection of related information defined by its creator.Commonly,files represent programs(both source and object forms)and data.nThe operating system is responsible for the following activities in

9、connections with file management:nFile creation and deletion.nDirectory creation and deletion.nSupport of primitives原语 for manipulating files and directories.nMapping files onto secondary storage.nFile backup on stable(nonvolatile)storage media.Protection SystemnProtection refers to a mechanism for

10、controlling access by programs,processes,or users to both system and user resources.nThe protection mechanism mustndistinguish between authorized and unauthorized usage.nspecify the controls to be imposed.nprovide a means of enforcement.Networking(Distributed Systems)nA distributed system is a colle

11、ction processors that do not share memory or a clock.Each processor has its own local memory.nThe processors in the system are connected through a communication network.nA distributed system provides user access to various system resources.nAccess to a shared resource allows:nComputation speed-up 加速

12、运算加速运算nIncreased data availability 提高数据利用性提高数据利用性nEnhanced reliability 增强可靠性增强可靠性Command-Interpreter SystemnMany commands are given to the operating system by control statements which deal with:nprocess creation and managementnI/O handlingnsecondary-storage managementnmain-memory managementnfile-sys

13、tem accessnprotectionnnetworkingCommand-Interpreter System(Cont.)nThe program that reads and interprets control statements is called variously:ncontrol-card interpreter ncommand-line interpreter nshell(in UNIX)Its function is to get and execute the next command statement.Chapter 3 Operating-System S

14、tructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationOperating System ServicesnProgram execution system capability to load a program into memory and to run it.nI/O operations since user programs cannot ex

15、ecute I/O operations directly,the operating system must provide some means to perform I/O.nFile-system manipulation program capability to read,write,create,and delete files.nCommunications exchange of information between processes executing either on the same computer or on different systems tied to

16、gether by a network.Implemented via shared memory or message passing.nError detection ensure correct computing by detecting errors in the CPU and memory hardware,in I/O devices,or in user programs.Additional Operating System Functions Additional functions exist not for helping the user,but rather fo

17、r ensuring efficient system operations.Resource allocation allocating resources to multiple users or multiple jobs running at the same time.Accounting keep track of and record which users use how much and what kinds of computer resources for account billing or for accumulating usage statistics.Prote

18、ction ensuring that all access to system resources is controlled.System CallsnSystem calls provide the interface between a running program and the operating system.nGenerally available as assembly-language instructions.nLanguages defined to replace assembly language for systems programming allow sys

19、tem calls to be made directly nThree general methods are used to pass parameters between a running program and the operating system.nPass parameters in registers.nStore the parameters in a table in memory,and the table address is passed as a parameter in a register.nPush(store)the parameters onto th

20、e stack by the program,and pop off the stack by operating system.Passing of Parameters As A Table 表格方式的参数传递表格方式的参数传递Chapter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationSystem

21、Calls(Cont.)nProcess controlnFile managementnDevice managementnInformation maintenancenCommunicationsSystem Call process controlnend,abortnload,executencreate process,terminate processnget process attributes,set process attributesnwait for timenwait event,signal eventnAllocate and free memoryMS-DOS

22、ExecutionAt System Start-up系统启动系统启动Running a Program运行程序运行程序UNIX Running Multiple ProgramsSystem Call file managementncreate file,delete filenopen,closenread,write,repositionnget file attributes,set file attributesSystem Call device managementnrequest device,release devicenread,write,repositionnget

23、device attributes,set device attributesnlogically attach or detach devicesSystem Call information managementnget time or date,set time or datenget system data,set system datanget process,file,or device attributesnset process,file,or device attributesSystem Call communicationsncreate,delete communica

24、tion connectionnsend,receive messagesntransfer status informationnattach or detach remote devicesCommunication ModelsMsg Passing Shared Memory Chapter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Desig

25、n and ImplementationSystem ProgramsnSystem programs provide a convenient environment for program development and execution.They can be divided into:nFile manipulationnStatus informationnFile modificationnProgramming language supportnProgram loading and executionnCommunicationsnApplication programsCh

26、apter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationSystem Structure Layered ApproachnThe operating system is divided into a number of layers(levels),each built on top of lower

27、layers.The bottom layer(layer 0),is the hardware;the highest(layer N)is the user interface.nWith modularity,layers are selected such that each uses functions(operations)and services of only lower-level layers.An Operating System LayerLayered Structure of the THE OSnA layered design was first used in

28、 THE operating system.Its six layers are as follows:layer 5:user programslayer 4:buffering for input and outputlayer 3:operator-console device driverlayer 2:memory managementlayer 1:CPU schedulinglayer 0:hardwareMicrokernelsWindows NT Client-Server StructureChapter 3 Operating-System StructuresnSyst

29、em ComponentsnOperating System ServicesnSystem CallsnSystem ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationVirtual MachinesnA virtual machine takes the layered approach to its logical conclusion.It treats hardware and the operating system kernel as though they were all ha

30、rdware.虚拟机是层次化的逻辑结果虚拟机是层次化的逻辑结果nA virtual machine provides an interface identical to the underlying bare hardware.nThe operating system creates the illusion of multiple processes,each executing on its own processor with its own(virtual)memory.操作系统创建了多个进程,每个进程在其处理器和(虚拟)内存执行操作系统创建了多个进程,每个进程在其处理器和(虚拟)内

31、存执行Virtual Machines(Cont.)nThe resources of the physical computer are shared to create the virtual machines.nCPU scheduling can create the appearance that users have their own processor.nSpooling and a file system can provide virtual card readers and virtual line printers.nA normal user time-sharing

32、 terminal serves as the virtual machine operators console.普通用户终端成为虚拟机操作员的控制台普通用户终端成为虚拟机操作员的控制台System ModelsNon-virtual Machine Virtual Machine Advantages/Disadvantages of Virtual MachinesnThe virtual-machine concept provides complete protection of system resources since each virtual machine is isola

33、ted from all other virtual machines.nA virtual-machine system is a perfect vehicle for operating-systems research and development.System development is done on the virtual machine,instead of on a physical machine and so does not disrupt normal system operation.nThe virtual machine concept is difficu

34、lt to implement due to the effort required to provide an exact duplicate to the underlying machine.The Java Virtual MachineJava.class File on Cross Platforms跨平台的Java.class文件Java Development EnvironmentChapter 3 Operating-System StructuresnSystem ComponentsnOperating System ServicesnSystem CallsnSyst

35、em ProgramsnSystem StructurenVirtual MachinesnSystem Design and ImplementationSystem Design GoalsnUser goals operating system should be convenient to use,easy to learn,reliable,safe,and fast.nSystem goals operating system should be easy to design,implement,and maintain,as well as flexible,reliable,e

36、rror-free,and efficient.Mechanisms and PoliciesnMechanisms determine how to do something,policies decide what will be done.机制确定怎样做,策略决定要做什么机制确定怎样做,策略决定要做什么nThe separation of policy from mechanism is a very important principle,it allows maximum flexibility if policy decisions are to be changed later.

37、System ImplementationnTraditionally written in assembly language,operating systems can now be written in higher-level languages.nCode written in a high-level language:ncan be written faster.nis more compact.nis easier to understand and debug.nAn operating system is far easier to port(move to some other hardware)if it is written in a high-level language.HomeworknP83 n3.5n3.7n3.13n3.15

侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|