Download presentation
Presentation is loading. Please wait.
Published byBonnie Harrell Modified over 9 years ago
2
CIS250 OPERATING SYSTEMS
3
Chapter One Introduction
4
Objectives Define the term Operating System Discuss the various types of Operating systems – simple batch – multiprogrammed batched – time-sharing – pc systems – parallel systems – distributed – real-time
5
What is an Operating System? The one program that is running at all times - the kernel A program that acts as a intermediary between a user and the hardware –It provides services to programs and users –It should ensure that the programs do not interfere with the system Provides an environment to run programs efficiently. Must be convenient to the user A control program
6
Four Components of a Computer System Hardware Operating system Application programs Users
7
Hardware CPU Memory Input/Output Devices
8
Operating System Resource allocator Coordinates the use of hardware among applications and the users; handles conflicts, requests. Controls resources
9
Application Programs Compilers Databases Games
10
Operating Systems History In the beginning.... –large machines were run from a console –one instruction processed at a time –program was loaded into memory manually –front panel switches were used –programmer was the operator
11
Early Batch Systems Software and hardware added to improve efficiency –Hardware card readers line printers magnetic tapes –Software assemblers, loaders, linkers common function libraries device drivers for each I/O device - tells OS how buffers, flags, registers, control and status bits for each device should be run
12
Compilers were created FORTRAN and COBOL –Programming was easier –Operating was more complex If a mistake was made, had to start over from the beginning During set up, CPU sat idle
13
More Complex Operating Mount FORTRAN compiler from tape –Load program through the card reader –Write to tape FORTRAN compiler produces assembly code Mount another tape for assembly Link O/P to library routines Execute binary object code Load into memory and debug
14
Then…Simple Batch Systems Had operators and programmers - this reduced setup time; but CPU still idle when there were errors Created automatic job sequencing - resident monitor introduced Replaced slower I/O devices (card readers, line printers) with magnetic tape
15
Automatic Job Sequencing Resident monitor introduced –Program in memory, transfers control from one job to the next –Job Control Language- batch programs; lack of interaction between user and job –I/O devices still slower than the CPU Replaced slower I/O devices (card readers, line printers) with magnetic tape –tape was sequential - fill tape, re-wind, unload, mount
16
More Processing Improvements Replaced sequential tapes with random access disk systems Developed spooling (large buffer) Job created pools to increase CPU utilization Job scheduling to administer job pool CPU scheduling
17
Spooling Simultaneous Peripheral Operation On-Line Uses disk as a large buffer Reads ahead for I/P devices and storing O/P files until output devices can handle them Can read I/P of one job and O/P of another
18
Multiprogrammed Batched Systems Job Scheduling –O/S selects the job, Loads it into memory, Executes the job –CPU utilization is increased - CPU not idle when there is work –CPU “switches” jobs; uses CPU scheduling
19
Terms Multi-programming: multiple programs running concurrently Multi-tasking: multiple threads within a process Multi-processing: multiple CPUs - to maximize CPU efficiency –share bus, clock and sometimes memory
20
Parallel Systems Symmetric - all CPUs are equal; I/O can be processed on any CPU Asymmetric - master CPU distributes tasks to slaves and the master usually does all I/O
21
Distributed Systems – loosely coupled, resource sharing –processes are “distributed” across systems which do not share a bus or a clock –if one system fails, the entire system does not crash Real-time Systems - control device in a dedicated application; rigid time reqmnts.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.