Operating Systems - Module 1
Operating Systems - Module 1
SYSTEMS
Prof Shamik Palit
Department of Engineering & IT
Manipal University, Dubai
Module 1
CONTENTS
Module 1
Operating System
Introduction
DEFINITION
WHAT IS AN OPERATING
SYSTEM?
WHAT IS AN OPERATING
SYSTEM?
Hardware - electronic,
optical devices
Software programs
contain:
mechanical,
WHAT IS AN OPERATING
SYSTEM?
2.
3.
THE OS
applications
software
utilities
systems
software
Operating system
hardware
components
device
CPU
device
...
memory
device
THE GOALS OF AN OS
Convenience
User
should
not
handle
the
tiny
details
(encapsulate/abstract),
provide
synchronization
primitives, system calls, file system, tools
THE GOALS OF AN OS
Fairness
AN OS IS A RESOURCE
ALLOCATOR
computing
CPU
time
Memory (ram, swap, working set, virtual,..)
File system (storage space)
I/O devices (display, printers, mouse,..)
Clock
Resident monitor
initial control in monitor
control transfers to job
when job completes control transfers pack to monitor
TYPES OF OS : MULTIPROGRAMMED
BATCH SYSTEMS
Several jobs are kept in main memory at the same time, and the
CPU is multiplexed among them.
The CPU is multiplexed among several jobs that are kept in memory
and on disk (the CPU is allocated to a job only if the job is in
memory).
On-line system must be available for users to access data and code.
graceful degradation
fail-soft systems
Asymmetric multiprocessing
Each processor is assigned a specific task; master processor
schedules and allocated work to slave processors.
More common in extremely large systems
TYPES OF OS : REAL-TIME
SYSTEMS
TYPES OF OS : REAL-TIME
SYSTEMS (CONT.)
Hard real-time:
Secondary storage limited or absent, data stored in short
term memory, or read-only memory (ROM)
Conflicts with time-sharing systems, not supported by
general-purpose operating systems.
Soft real-time
Limited utility in industrial control of robotics
Useful in applications (multimedia, virtual reality)
requiring advanced operating-system features.
TYPES OF OS : HANDHELD
SYSTEMS
memory
Slow processors
Small display screens.
Module 1
Operating System
Structure
System Components
Process
management
Main memory management
File Management
I/O System management
Secondary Storage management
Networking
Protection System
Command Interpreter System
System Components
Process
management
Process
System Components
Main
memory management
System Components
File
Management
System Components
I/O
System management
System Components
Secondary
Storage management
System Components
Networking
Distributed system
Collection of process that do not share memory
Each processor has its local memory
Process communicate through network
User access various resources
Ex: http used in communication web server &
browser
System Components
Protection
System
System Components
Command
Interpreter System
Structure
Layered
Approach
Microkernels
Simple Structure
Many
Ex : MS DOS, UNIX
UNIX
Kernel
System Programs
New
Layered Approach
OS
It
Microkernels
Remove
Minimal
Provide
Communication
Microkernels
Client
Advantage:
Examples
Tru 64 UNIX
Apple Mac OS X Server
QNX
Module 1
Operating System
Services
Program execution
System
I/O operation
A
Users
Communications
Can
occur in 2 ways:
Communications
Error detections
OS
OS
Resource Allocation
Resource must be allocated when
Different
OS
Accounting
Which
Protections
Owner of the information stored in multiuser
computer want to control use of that information
Protection ensures that all access to the system
resources are controlled
Security
User Authentication
External I/O devices
Thank You