TOS Arno Puder 1 What is an OS? A program that acts as an - - PowerPoint PPT Presentation

tos arno puder
SMART_READER_LITE
LIVE PREVIEW

TOS Arno Puder 1 What is an OS? A program that acts as an - - PowerPoint PPT Presentation

TOS Arno Puder 1 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


slide-1
SLIDE 1

1

TOS Arno Puder

slide-2
SLIDE 2

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.

slide-3
SLIDE 3

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).

slide-4
SLIDE 4

4

Abstract View of System Components

slide-5
SLIDE 5

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

slide-6
SLIDE 6

6

CPU

Top view of CPU chip Bottom view of CPU chip

slide-7
SLIDE 7

7

Integrated Circuits

slide-8
SLIDE 8

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

slide-9
SLIDE 9

9

PC Motherboard

CPU Main Memory Lithium battery Video Adapter PCI Expansion Interface

slide-10
SLIDE 10

10

Ethernet Network Card

slide-11
SLIDE 11

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

slide-12
SLIDE 12

12

Storage-Device Hierarchy

slide-13
SLIDE 13

13

Data Migration From Disk to Register

slide-14
SLIDE 14

14

Moving-Head Disk Mechanism

slide-15
SLIDE 15

15

Abstract View of System Components

slide-16
SLIDE 16

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

slide-17
SLIDE 17

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.

slide-18
SLIDE 18

18

Kernel Tasks

  • The kernel’s job is to manage

hardware resources to provide:

– Sharing – Protection – Convenient abstractions for applications

slide-19
SLIDE 19

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)