0% found this document useful (0 votes)
49 views

Operating System Cosc2032 Cosc2032 Operating System

This document provides an overview of operating systems including: 1. It defines an operating system as a program that manages computer hardware and provides an interface between users and applications. 2. It discusses the history of operating systems from first generation vacuum tube computers to modern personal computers. 3. It describes the core services that operating systems provide like resource management, abstraction of hardware, and protection between processes.

Uploaded by

Eyouale Tensae
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Operating System Cosc2032 Cosc2032 Operating System

This document provides an overview of operating systems including: 1. It defines an operating system as a program that manages computer hardware and provides an interface between users and applications. 2. It discusses the history of operating systems from first generation vacuum tube computers to modern personal computers. 3. It describes the core services that operating systems provide like resource management, abstraction of hardware, and protection between processes.

Uploaded by

Eyouale Tensae
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

CS363 - Operating System 1/1/2013

Operating 1. Introduction
System
CoSc2032 CoSc2032
/ Operating System
1 2

Introduction
What is an Operating
• What is an operation system? System?
• History of Operating Systems •An operating system is a program that
manages the computer hardware.
• OS Services and OS Structure
•It also provides a basis for application
programs and acts as an intermediary
3
between the computer user and computer
4

hardware.
What do OS Do
The computer system can be divided
roughly into four components:
• The hardware
• The operating system
• The application software
• The Users
History of OS
• The First Generation (1945 – 55)
–Vaccum Tubes and Plugboards
–Each machine designed, built,
programmed, operated, and maintained
a single group of people
–Mode of operation:
•Programmers signup for a block of
time
•Programmers insert a plugboard into
the computer in the machine room
•Plugboard was replaced by punched
card in early 1950s
CS363 - Operating System 1/1/2013

History of OS
History of OS
• The Second Generation (1955
• The Second Generation
– 65) (1955 – 65)
– Transistors and Batch Systems –Mainframe
– Computers became reliable enough to
be used by customers (users) –Job
– Clear separation between professions –Programming (FORTRAN)
• Designers, builders, operators, –Batch System
programmers and maintenance
5 6
personnel

History of OS History of OS
• The Second Generation (1955 – 65) • The Second Generation (1955 – 65)

Input Output Input Output


Room Room Room Room

Main Main
Frame Frame

7 8
CS363 - Operating System 1/1/2013

History of OS History of OS
• The Second Generation (1955 – 65) • The Third Generation (1965 – 80)
– IC and Multi Programming

9 10

History of OS History of OS
• The Third Generation (1965 – 80) • The Third Generation (1965 – 80)
– Spooling: ability of reading jobs from cards onto – Timesharing
the disk
• IBM 1401s were not needed
• Much of carrying of tapes disappeared
– However, 3rd generation systems were still batch
system
– Problems of batch system paved the way to
Termina
timesharing l

11 12
CS363 - Operating System 1/1/2013

History of OS History of OS
• The Third Generation • The Fourth Generation (1980
(1965 – 80) – ???)
– Personal Computers
– Timesharing
– No basic difference between Micro and Mini
– Business drama
• Intel’s 8080 € Digital Research’s CP/M (1977)
• The deal between IBM PC and Bill Gate’s BASIC Interpreter (1980s)
– Seattle Computer Products (DOS)
– DOS/BASIC
– Time Paterson MS-DOS retrospect

User 1 User 2
… User N
• Steve Jobs followed Doug Engelbart’s GUI
– Lisa € Macintosh
– MS Windows influenced by Macintosh

13 –… 14

What is an operation system? What is an operation system?


• A layer in the modern computer
system that is responsible to
manage several devices and
provide user programs with a
simpler interface to the
hardware.
– Extended Machine
– Resource Manager 15 16
CS363 - Operating System 1/1/2013

OS Structure and Services OS Structure and Services


• Kernel Mode
– Protected from user application tampering the
hardware
• User Mode
– The mode in which applications and system
programs run
– Permits only a subset of the instructions to be
executed and a subset of features to be accessed
• Disallow I/O instruction, Memory Protection, PSW
Setting
17 18

Reading Assignment
Monolithic Architecture
• Architectures of Operating Systems
– Monolithic
• Monolithic Architecture—the
– Layered early operating systems
– Kernel
– Microkernel – Everycomponent is contained in the
– Virtual Machines kernel, can directly communicate with
other components
• Increasing Efficiency
– Multi program
– Multi User 19 20
CS363 - Operating System 1/1/2013

Monolithic Architecture Monolithic Architecture


• Pros
– Highly efficient – by direct intercommunication
Applications User Space between components
System Calls OS Layer • Cons
– difficult to develop
– difficult to isolate the source of bugs and other
Computer Hardware
errors
• particularly susceptible to damage from malicious
code

HiLCoE 2012 CS363 - Operating System 21 HiLCoE 2012 CS363 - Operating System 22

Layered Architecture Layered Architecture


• Layered OS structure:
• Pros
– Group components that perform similar functions
– It provides good modularity – helps simplify the
into layers. Each layer communicates only with
neighbour layer development of an OS
• Cons
User Space
– Less efficient
Layer 3 – Complex design – each functionality has to be
Layer 2
Kernel Space divided into parts to fit into different layers.
Layer 1
Layer 0
Computer Hardware
23 24
CS363 - Operating System 1/1/2013

Kernel Based Architecture Kernel Based Architecture


• It separates the machine-independent parts • Pros
from the machine-dependent parts – Better portability—Kernel encloses all the
– Kernel is machine-dependent. It contains the machine-dependent code
basic component of OS. • Cons
User Space – Ensuring security and extensibility is a
challenge
Operating System

OS Kernel

Computer Hardware
CS363 - Operating System 25 26

Microkernel Based Architecture Microkernel Based Architecture


• As OS expanded, the kernel became large and
difficult to manage
User Space
– Microkernel approach removes all nonessential
components from the kernel and implementing
Operating System
them as system and user-level programs.
• Result: A smaller kernel Microkernel

Computer Hardware

27 28
CS363 - Operating System 1/1/2013

Microkernel Based Architecture Virtual


Machines
• Pros
– Enhance portability, extensibility, reliability and • Can create the User Space User Space User Space
security
illusion that there
• Cons are more than one
– Less efficient—increased system function separate machines. Kerne Kerne
overhead l l
VM1

VM1
Virtual machine
implementation
Host Operating System
29 30
Computer Hardware

OS Structure and Services OS Structure and Services


• To obtain services from the operating system, • OS Services
a user program must make a system call – Process Management
• The interface between the operating system – Memory Management
and the user programs is defined by the set – File Management
of system calls that the operating system – I/O Management
provides. – User Management

31 32

You might also like