Operating System
Operating System
Objectives
1. A firm understanding about OS, its primary
purpose and goals to a computer system;
2. Trace the history of OS and the development
of systems.
3. Concepts basic to OS;
4. OS components and its component
management;
5. Computer system operations, structure of the
computer systems and hardware protection;
6. Services of OS.
FYI…
OS Platform Statistics www.www3schools.com
2017 Win10
2016 Win10
Win8Win8
Win7Win7
Vista Vista
NT* WinXP
WinXP Linux
Linux Mac
Mac ChromeOS
ChromeOS Mobile
Mobil
e
June 35.5% 9.5% 31.0% 0.1% 0.7% 6.0% 10.3% 0.1% 6.8%
Apr 21.2% 14.1% 41.2% 0.4% 0.1% 1.9% 5.5% 10.6% 0.2% 5.1%
May 34.9% 9.8% 31.7% 0.2% 0.7% 5.6% 10.5% 0.2% 6.4%
Mar 19.5% 14.7% 42.4% 0.4% 0.1% 1.9% 5.5% 10.3% 0.2% 5.1%
April 34.3% 10.1% 31.9% 0.2% 0.8% 5.5% 10.8% 0.2% 6.3%
Feb 17.8% 15.2% 43.1% 0.4% 0.1% 2.1% 5.6% 10.4% 0.2% 5.2%
March 33.1% 10.2% 33.2% 0.2% 0.9% 5.5% 10.6% 0.2% 6.1%
Jan 17.0% 15.8% 43.2% 0.4% 0.1% 2.2% 5.7% 10.2% 0.2% 5.4%
February 32.2% 10.5% 33.6% 0.2% 1.0% 5.7% 10.5% 0.2% 6.2%
January 31.7% 10.7% 33.8% 0.2% 1.0% 5.7% 10.3% 0.2% 6.3%
Introduction
➢ Major components of Computer Systems:
● Hardware
● Computer users
● Software
➢ Note:
● Without software, computer is of little use. However
with software, computer can store, manipulate and
retrieve information, and can engage in many other
activities.
Introduction
➢ Software can be grouped into:
● System software (OS and utilities)
● Application software (user programs)
Computer Hardware
Introduction
Utilities Application
Software
OS
➢ Spooling
● Simultaneous Peripheral Operation Online.
● Uses disk as input device and for storing output files.
B. Multiprogrammed Batch Systems
➢ OS keeps several jobs in memory at a time and
picks and begins to execute one of the jobs in
the memory.
CPU
I/O
0 5 10 15 20 25 30 35 40 time
Job A Job B
CPU
I/O
0 5 10 15 time
“pure” multiprogramming
Job A and B end at time 20.
D. Personal Computer
➢ Personal Computer
● computer system dedicated to a single user
➢ I/O devices
➢ User convenience and responsiveness
➢ Adopt technology developed for larger OS often
individuals have sole use of computer and do not need
advance CPU utilization or protection features
➢ May run several different types of OS
E. Parallel Systems
➢ Systems having more than one processor
(multiprocessor systems) in close
communication, sharing the common bus,
clock, memory and peripheral devices.
➢ Increased throughput
➢ Economical
➢ Increased reliability
● Graceful degradation
● Fail-safe systems
Types of parallel systems
➢ Symmetric multiprocessing model (SMP)
● Each processor runs an identical copy of the OS
and these copies communicate with each other
● Many processes can run at once without
performance deterioration
● Most modern OS support SMP
CPU 1 CPU2 CPU3
CPU4
Types of parallel systems
Master CPU
Slaves CPU
F. Distributed Systems
➢ Distribute computation among several
processors.
F. Distributed Systems
➢ Loosely coupled systems
● processors do not share memory or a clock, instead,
each processor has its own local memory.
➢ Requires networking infrastructure
● LAN or WAN implementations
● May be either client-server of peer-to-peer systems
➢ Resources on each machine are managed by
that machine’s OS and working together to
manage the collective network resources
Reasons for building Distributed
Systems
➢ Resource sharing
➢ Computation Speedup
● allows to distribute the computation among various
sites.
● Movement of jobs is called “load sharing”
➢ Reliability
➢ Communications
Distributed Systems : Clustered