1. Trang chủ
  2. » Công Nghệ Thông Tin

Lecture Operating systems: Internals and design principles (6/E): Chapter 2 - William Stallings

58 88 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 58
Dung lượng 251,95 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Chapter 2 Operating system overview, after studying this chapter, you should be able to: Summarize, at a top level, the key functions of an operating system (OS); discuss the evolution of operating systems for early simple batch systems to modern complex systems; discuss the key design areas that have been instrumental in the development of modern operating systems;...

Trang 1

Chapter 2 Operating System Overview

Patricia Roy Manatee Community College, Venice, FL

Trang 3

Operating System Objectives

• Ability to evolve

Trang 4

Layers and Views

Trang 5

Services Provided by the OS

Trang 6

Services Provided by the OS

Trang 7

Services Provided by the OS

– Internal and external hardware errors

– Software errors

– Operating system cannot grant request of application

Trang 8

Services Provided by the OS

– Collect usage statistics

– Monitor performance

– Used to anticipate future enhancements

– Used for billing purposes

Trang 9

Operating System

software

– It is a program that is executed

the processor

Trang 10

OS as Resource Manager

Trang 11

memory

Trang 15

Evolution of Operating

Systems

– Monitor

• Software that controls the sequence of events

• Batch jobs together

• Program returns control to monitor when finished

Trang 16

Job Control Language

– What compiler to use

– What data to use

Trang 19

Memory Protection

– Certain instructions may not be executed

Trang 20

Memory Protection

– Kernel mode

– Privileged instructions are executed

– Protected areas of memory may be accessed

Trang 21

System Utilization Example

Trang 22

complete before proceeding

Trang 23

processor can switch to the other job

Trang 24

Multiprogramming

Trang 25

Utilization Histograms

Trang 26

Example

Trang 27

Time Sharing Systems

interactive jobs

users

system through terminals

Trang 28

Batch Multiprogramming versus

Time Sharing

Trang 29

CTSS Operation

Trang 30

Major Achievements

Trang 32

– A single sequential thread of execution– A current state

– An associated set of system resources

Trang 33

Difficulties with Designing

System Software

Trang 35

Process

Trang 36

Memory Management

Trang 37

Virtual Memory

files

from a logical point of view

Trang 38

number of fixed-size blocks, called pages

offset within the page

main memory

main memory address

Trang 39

Virtual Memory

Trang 40

Virtual Memory Addressing

Trang 41

Information Protection and

– Assuring that users cannot read data for

which access is unauthorized

Trang 42

Information Protection and

Trang 43

Scheduling and Resource

Trang 44

Scheduling and Resource

Management

– Maximize throughput, minimize response time, and accommodate as many uses as possible

Trang 45

Key Elements of an Operating

System

Trang 46

System Structure

functions

perform more primitive functions

of more manageable subproblems

Trang 47

– Processor’s instruction set

– Operations such as add, subtract, load, and store

Trang 49

Concepts Related to Multiprogramming

– Process as a program in execution

– Suspend and resume processes

– Secondary storage devices

– Transfer of blocks of data

Trang 50

Concepts Related to Multiprogramming

– Creates logical address space for processes– Organizes virtual address space into blocks

Trang 51

Deal with External Objects

Trang 52

Deal with External Objects

Trang 53

Modern Operating Systems

Trang 54

Modern Operating Systems

– Process is divided into threads that can run concurrently

• Thread

– Dispatchable unit of work

– executes sequentially and is interruptable

• Process is a collection of one or more threads

Trang 55

Modern Operating Systems

– There are multiple processors

– These processors share same main memory and I/O facilities

– All processors can perform the same

functions

Trang 56

Multiprogramming and

Multiprocessing

Trang 57

Modern Operating Systems

– Provides the illusion of a single main memory space and single secondary memory space

Trang 58

Modern Operating Systems

– Used for adding modular extensions to a small kernel

– Enables programmers to customize an

operating system without disrupting system integrity

Ngày đăng: 30/01/2020, 05:20

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN