- 3
- 0
- 约9.51千字
- 约 52页
- 2019-05-06 发布于广东
- 举报
Chapter 1 Operating System Overview 1.1 Objectives and Functions (p45) 1.1.1 Overview 1.1.2 The Operating System as a User/Computer Interface 1.1.3 The Operating System as Resource Manager 1.1.4 Ease of Evolution of an Operating System 1.1.2 OS as a User/Computer Interface (I) Services of the Operating System (II) System access Provide protection and authorized Error detection and response Such as: error Accounting From the Point of View of the Monitor (p51) Monitor is responsible for the running of every job Controls are transferred between monitor and other user programs 1.2.3 Multiprogrammed Batch Systems Read one record 0.0015 seconds Execute 100 instructions 0.0001 seconds Write one record 0.0015 seconds TOTAL 0.0031 seconds Percent CPU Utilization = 0.0001/0.0031=3.2% Figure 2.4 System Utilization Example Example of Multiprogramming 256k available memory Notes: not consider the resource competition Analysis Single Processor use=5/(5+15+10)=17% Memory use=[(50*5+100*15+80*10)/256/30] =33% Disk use=10/30=33% Printer use=10/30=33% Total time= 5+15+10=30 Throughput =6 job/hour Mean response time=(5+20+30)/3=18 Analysis Multiprogramming Processor use=5/15=33% Memory use=[(50+100+80)*5+(100+80)*5+100*5]/256/15 =65% Disk use=10/15=67% Printer use=10/15=67% Total time=15 Throughout =12job/hour Mean response time=(5+10+15)/3=10 Reducing the Swapping Loads by Partial Swapping(p59) Fig 2.10 Two Views of a Storage System Fig 2.11 Key elements of an Operating System for Multiprogramming Hierarchy (Table 2.4) Hierarchy Hierarchy (Hardware) Errors May Happen in Multiprogramming Improper synchronization(同步): Signals being lost or duplicate(重复) signals being received. Failed mutual exclusion(失败的互斥) Nondeterminate(不确定) program operation: The result is not unique Deadlocks(死锁) To solute these problems, introduce process concept Process entity(实体) An executable program The associated data needed by the program The execution context(上下文) of the p
您可能关注的文档
- 池州学院音乐与教育学院教学课件第一章 教育与教育学.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第1讲 计算机网络概述.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第2讲 网络体系结构.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第4讲 信道复用与数字传输技术.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第6讲 数据链路层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第7讲 局域网(1).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第8讲 局域网(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第9讲 局域网(3).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第11讲 网络层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第12讲 网络层(3).ppt
- 浙江省温州市2024-2025学年七年级上学期语文期末考查卷.docx
- 精品解析:北京市建华实验学校2024-2025学年七年级下学期期中英语试题(原卷版).docx
- 精品解析:北京市通州区2024-2025学年七年级下学期期末考试英语试卷(原卷版).docx
- 精品解析:北京市回民学校2024-2025学年九年级上学期期中语文试题(解析版).docx
- 精品解析:北京市海淀区2025-2026学年九年级上学期期末语文试题(解析版).docx
- 精品解析:北京市东城区汇文中学2025-2026学年八年级上学期期中语文试题(原卷版).docx
- 精品解析:北京市回民学校2024-2025学年九年级上学期期中语文试题(原卷版).docx
- 精品解析:2024-2025学年广东省广州市从化区街口镇中心小学人教版五年级上册期中测试数学试卷(解析版).docx
- 精品解析:北京市通州区2024-2025学年七年级下学期期末考试英语试卷(解析版).docx
- 精品解析:北京市建华实验学校2024-2025学年七年级下学期期中英语试题(解析版).docx
最近下载
- JGJ-T403-2017:建筑基桩自平衡静载试验技术规程.pdf VIP
- 2023-2024学年贵州省贵阳市九年级上学期物理期末试题及答案.pdf VIP
- 地方政府大数据发展的现实与理想 .pdf
- 证券从业之证券市场基本法律法规考试题库(考点梳理).docx
- 2026年高考物理模拟试卷必刷题——匀变速直线运动的研究.docx VIP
- 环境影响评价工程师之环评法律法规题库及参考答案【精练】.docx
- 伟迪捷喷码机培训精编版.ppt VIP
- 2023年国家公务员考试题库含完整答案【夺冠】.docx
- 广东省梅州市丰顺县2024-2025学年六年级(上)期末语文试卷(有答案).pdf VIP
- 2026年高考物理模拟试卷必刷题——力学实验.docx VIP
原创力文档

文档评论(0)