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

Bài giảng hệ điều hành nâng cao chapter 1 introduction

48 368 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 48
Dung lượng 3,37 MB

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

Nội dung

1.5 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th EditionComputer System Structure applications and users resources are used to solve the computing problems of th

Trang 1

Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Chapter 1: Introduction

Trang 3

1.3 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Objectives

Trang 4

What is an Operating System?

and the computer hardware

Trang 5

1.5 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Computer System Structure

applications and users

resources are used to solve the computing problems of the users

systems, video games

Trang 6

Four Components of a Computer System

Trang 7

1.7 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

What Operating Systems Do

users happy

life

computers in devices and automobiles

Trang 8

Operating System Definition

use

of the computer

Trang 9

1.9 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Operating System Definition (Cont.)

good approximation

 But varies wildly

Everything else is either a system program (ships with the operating

system) or an application program

Trang 10

Computer Startup

 Initializes all aspects of system

Trang 11

1.11 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Computer System Organization

bus providing access to shared memory

memory cycles

Trang 12

Computer-System Operation

 I/O is from the device to local buffer of controller

causing an interrupt

Trang 13

1.13 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Common Functions of Interrupts

 Interrupt transfers control to the interrupt service routine generally,

through the interrupt vector, which contains the addresses of all the service routines

instruction

processed to prevent a lost interrupt

user request

Trang 14

Interrupt Handling

registers and the program counter

each type of interrupt

Trang 15

1.15 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Interrupt Timeline

Trang 16

I/O Structure

completion

 Wait instruction idles the CPU until the next interrupt

simultaneous I/O processing

 After I/O starts, control returns to user program without waiting for I/

O completion

wait for I/O completion

its type, address, and state

device status and to modify table entry to include interrupt

Trang 17

1.17 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Direct Memory Access Structure

memory speeds

 Device controller transfers blocks of data from buffer storage directly to

main memory without CPU intervention

per byte

Trang 18

recording material

 Disk surface is logically divided into tracks, which are subdivided into sectors

device and the computer

Trang 19

1.19 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

memory can be viewed as a cache for secondary storage

Trang 20

Storage-Device Hierarchy

Trang 21

1.21 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Caching

hardware, operating system, software)

there

 If it is, information used directly from the cache (fast)

Trang 22

Computer-System Architecture

mainframes)

Trang 23

1.23 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

How a Modern Computer Works

A von Neumann architecture

Trang 24

Symmetric Multiprocessing Architecture

Trang 25

1.25 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

A Dual-Core Design

Trang 26

Clustered Systems

 Provides a high-availability service which survives failures

monitoring each other

 Applications must be written to use parallelization

Trang 27

1.27 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Clustered Systems

Trang 28

Operating System Structure

execute

so frequently that users can interact with each job while it is running, creating

Trang 29

1.29 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Memory Layout for Multiprogrammed System

Trang 30

Operating-System Operations

 Software error or request creates exception or trap

other or the operating system

components

Trang 31

1.31 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Transition from User to Kernel Mode

 Set interrupt after specific period

program that exceeds allotted time

Trang 32

Process Management

 A process is a program in execution It is a unit of work within the

system Program is a passive entity, process is an active entity.

 Initialization data

location of next instruction to execute

 Process executes instructions sequentially, one at a time, until completion

system running concurrently on one or more CPUs

threads

Trang 33

1.33 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Process Management Activities

The operating system is responsible for the following activities in

connection with process management:

Trang 34

Memory Management

and by whom

and out of memory

Trang 35

1.35 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Storage Management

 Abstracts physical properties to logical storage unit - file

 Each medium is controlled by device (i.e., disk drive, tape drive)

data-transfer rate, access method (sequential or random)

 Files usually organized into directories

what

 Creating and deleting files and directories

 Primitives to manipulate files and dirs

Trang 36

Mass-Storage Management

data that must be kept for a “long” period of time

(read-write)

Trang 37

1.37 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Performance of Various Levels of Storage

implicit

Trang 38

Migration of Integer A from Disk to Register

matter where it is stored in the storage hierarchy

such that all CPUs have the most recent value in their cache

Trang 39

1.39 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

I/O Subsystem

the user

temporarily while it is being transferred), caching (storing parts of data in faster storage for performance), spooling (the overlapping

of output of one job with input of other jobs)

Trang 40

Protection and Security

users to resources defined by the OS

theft, theft of service

Trang 41

1.41 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Distributed Computing

network

 Illusion of a single system

Trang 42

Special-Purpose Systems

Trang 43

1.43 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Computing Environments

mainframe or minicomputers providing batch and timesharing

access to same resources

Trang 44

Computing Environments (Cont.)

services (i.e., database)

retrieve files

Trang 45

1.45 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Peer-to-Peer Computing

 Registers its service with central lookup service on network, or

Trang 46

Web-Based Computing

load balancers

into Linux and Windows XP, which can be clients and servers

Trang 47

1.47 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition

Open-Source Operating Systems

GNU Public License (GPL)

Trang 48

End of Chapter 1

Ngày đăng: 03/12/2015, 17:13

TỪ KHÓA LIÊN QUAN

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

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm