Top Banner
1 TOS Arno Puder
19

TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

Mar 22, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

1

TOS Arno Puder

Page 2: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

2

What is an OS?

•  A program that acts as an intermediary between a user of a computer and the computer hardware.

•  Operating system goals: – Execute user programs and make

solving user problems easier. – Make the computer system convenient

to use. •  Use the computer hardware in an efficient

manner.

Page 3: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

3

Computer System Components

1. Hardware – provides basic computing resources (CPU, memory, I/O devices).

2. Operating system – controls and coordinates the use of the hardware among the various application programs for the various users.

3. Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs).

4. Users (people, machines, other computers).

Page 4: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

4

Abstract View of System Components

Page 5: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

5

PC Architecture

D A T A B U S

CPU

Hard Disk

Network Card

Controller

Printer

Keyboard

Serial Line

Memory RAM ROM

Local Bus

Page 6: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

6

CPU

Top view of CPU chip Bottom view of CPU chip

Page 7: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

7

Integrated Circuits

Page 8: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

8

Partial die shot of the Intel 386 microprocessor using a variety of colors to show the bonding wires and bus connections using oblique illumination with red, yellow, and blue gels.

CPU

Page 9: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

9

PC Motherboard

CPU

Main Memory

Lithium battery

Video Adapter

PCI Expansion Interface

Page 10: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

10

Ethernet Network Card

Page 11: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

11

The Storage Hierarchy

•  Registers – storage immediately accessible within the CPU

•  Main memory – only large storage media that the CPU can access directly.

•  Secondary storage – extension of main memory that provides large nonvolatile storage capacity.

•  Magnetic disks – rigid metal or glass platters covered with magnetic recording material

Page 12: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

12

Storage-Device Hierarchy

Page 13: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

13

Data Migration From Disk to Register

Page 14: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

14

Moving-Head Disk Mechanism

Page 15: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

15

Abstract View of System Components

Page 16: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

16

Some Terms

•  Bus: electronic circuit that connects devices so that they may exchange data. – Examples: PCI, USB

•  Kernel: The “program” that runs directly on the computer hardware, managing the hardware for multiple applications – Note: kernel is NOT the same as the

user interface

Page 17: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

17

What is an OS revisited

• When comparing OS’s we tend to think about the user interfaces.

•  In this course, we focus on the OS kernel: what it does and how it does it.

Page 18: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

18

Kernel Tasks

• The kernel’s job is to manage hardware resources to provide: – Sharing – Protection – Convenient abstractions for

applications

Page 19: TOS Arno Pudertos.sfsu.edu/slides/01-introduction.pdf• A program that acts as an intermediary between a user of a computer and the computer hardware. • Operating system goals:

19

Examples of Kernel Tasks

•  Manage the CPU: pre-emptive scheduling

•  Manage memory: Virtual Memory •  Manage disks: File Systems •  Manage network: sockets •  Manage other peripherals

(keyboard, display, sound card)