UOS-1
UOS-1
CAPE COAST
COLLEGE OF DISTANCE EDUCATION
Unit 1
Introducing Operating Systems
Units Topic Details
- Definition and functions of operating systems (OS)
- Review of computer hardware organization
Self Assessment Test
Unit 1 Introduction
-
-
History and evolution of OS
Types of OS
2
Self Assessment Test
References:
1. Operating Systems: Internals and Design
Principles, William Stallings.
2. Operating Systems Concepts (5th edition or
3 later), A. Silberschatz, P. Galvin and G. Gagne.
3. Modern Operating Systems (3rd edition or
later), Andrew Tanenbaum
5
Operating System Software (cont'd.)
6
User Interface
Allows the user to issue commands to
Operating the operating system
System Manage tasks
Software Monitor the system’s resources
(cont'd.)
continuously
Enforce policies determining:
Who gets what, when, and how much
Allocate a resource (when appropriate)
Deallocate a resource (when
appropriate)
7
Each manager at the
base of the pyramid
takes responsibility
for its own tasks
while working
harmoniously with
every other
manager.
8
Network Manager
Operating
Coordinates the services
System required for multiple systems
Software
(cont'd.) to work cohesively together
Shared network resources:
memory space, processors,
printers, databases,
applications, etc.
9
In charge of main memory
Random access memory (RAM)
Requires constant flow of electricity
Main Memory to hold data
Management
Responsibilities include:
Checking validity and legality of
memory space request
Reallocating memory to make more
useable space available
Deallocating memory to reclaim it
Protecting space in main memory
occupied by operating system
10
Read-only memory (ROM)
Another type of memory
Main
Memory Critical when computer is powered on
Management Holds firmware: programming
code
When and how to load each
piece of the operating
system after the power is
turned on
Non-volatile
Contents retained when the
power is turned off
11
In charge of allocating Central Processing
Unit (CPU)
Tracks process status
Processor Program’s “instance of execution”
Management
Comparable to a traffic controller
When a process is finished or
maximum computation time expired
Processor Manager reclaims the
CPU and allocates to next waiting
process
Computer with multiple CPUs
More complex management
12
In charge of connecting with every
available device
Printers, ports, disk drives, etc.
Device Responsibilities include:
Management Choosing most efficient resource
allocation method
Based on scheduling policy
Identifying each device uniquely
Starting device operation (when
appropriate)
Monitoring device progress
Deallocating the device
What is the function of a device driver?
13
In charge of tracking every file in the system
Data files, program files, compilers,
application programs, etc.
Responsibilities include:
File Enforcing user/program resource access
Management restrictions
Uses predetermined access policies
Controlling user/program modification
restrictions
Read-only, read-write, create, delete
Allocating space for a file on secondary
storage
One large storage area or smaller linked
pieces
Retrieving files efficiently
14
Included in operating systems
with networking capability
Authorizes users to share
Network
Management resources
Overall responsibility for
every aspect of network
connectivity
Devices, files, memory
space, CPU capacity, etc.
15
Portion of the operating system
Direct interaction with users
Two primary types
Graphical user interface (GUI)
User Input from pointing device
Interface Menu options, desktops, and formats
vary
Command line interface
Keyboard-typed commands that display
on a monitor
Strict requirements for every command:
typed accurately; correct syntax;
combinations of commands assembled
correctly
16
No single manager performs tasks
in isolation
Each element of an operating
Cooperation system
Issues Performs individual tasks and
Harmoniously interacts with
other managers
Incredible precision required
for operating system to work
smoothly
More complicated when
networking is involved 17
Practice of using Internet-
connected resources
Performing processing,
storage, or other operations
Cloud Operating system maintains
Computing
responsibility
Managing all local resources
and coordinating data transfer
to and from the cloud
Role of the operating system
Accessing resources
Managing the system
efficiently
18
Computer Hardware Overview
Understandi
ng Operating 21
Evolution of Moore’s Law: Gordon Moore, 1965
Computing
Hardware Each new processor chip
(cont'd.) compared to its predecessor
Twice as much capacity
Released within 18-24 months
22
An Evolution of Computing
Hardware (cont'd.)
Gordon Moore’s 1965
paper included the
prediction that the
number of transistors
incorporated in a chip
will approximately
double every 24
months [Moore, 1965].
Courtesy of Intel
Corporation.
23
24
Five categories
Batch
Types of Interactive
Operating
Systems Real-time
Hybrid
Embedded
Two distinguishing features
Response time
Method of data entry into
the system
25
Batch systems: jobs entered as a whole
and in sequence
Input relied on punched cards or tape
Types of
Operating
Efficiency measured in throughput
Systems Interactive systems: allow multiple jobs
(cont'd.) Faster turnaround than batch systems
Slower than real-time systems
Introduced to provide fast turnaround
when debugging programs
Complex algorithms: share processing
power
26
Real-time systems
Reliability is critical
Types of Used in time-critical environments
Operating Spacecraft, airport traffic control, fly-
Systems by-wire aircraft, critical industrial
(cont'd.) processes, medical systems, etc.
Two types of real-time systems
Hard real-time systems: risk total
system failure if the predicted time
deadline is missed
Soft real-time systems: suffer
performance degradation as a
consequence of a missed deadline
27
Hybrid systems
Combination of batch and interactive
Light interactive load
Types of Accepts and runs batch programs in
Operating the background
Systems
(cont'd.) Network operating systems
Special class of software
Users perform tasks using few, if
any, local resources, e.g., cloud
computing
Wireless networking capability
Standard feature in many computing
devices: cell phones, tablets, and
other handheld Web browsers
28
Example of a simple
network. The server
is connected by
cable to the router
and other devices
connect wirelessly.
29
Embedded systems
Computers placed inside other
products
Types of Automobiles, digital music players,
Operating elevators, pacemakers, etc.
Systems
(cont'd.)
Adds features and capabilities
Operating system requirements
Perform specific set of programs
Non-interchangeable among
systems
Small kernel and flexible function
capabilities
30
Most common overall goal
Maximize use of the system’s
resources (memory, processing,
Design
devices, and files) and minimize
Considerations downtime
Factors included in developmental
efforts
RAM resources
CPUs: number and type available
Peripheral devices: variety likely to be
connected
Networking capability
Security requirements, etc.
31
Overall function of operating
systems
Evolution of operating systems
Capable of running complex
Conclusion
computers and computer
systems
Operating system designer
Chooses the policies that best
match the system’s environment
32
Questions