You are on page 1of 4

7/31/2022

INDIAN INSTITUTE OF TECHNOLOGY ROORKEE

Advanced Operating System


CSN-502
Introduction

Operating System
The function of the operating system is to present the user
with the equivalent of an extended machine or virtual
machine that is easier to program than the underlying
hardware. The job of the operating system is to provide for
an orderly and controlled allocation of resources.
A S Tanenbaum and A S Woodhull

An operating system is a software that manages the


computer hardware. It also provides a basis for
application programs and acts as an intermediary
between the computer user and the computer hardware.
Silberschatz, Galvin and Gagne
2

1
7/31/2022

Why Operating System?


Resource management
• CPU and disk Scheduling (Time management)
• Main and Secondary storage management (Space)
• Process synchronization and deadlock handling
• Accounting and status information

User friendliness
• Execution environment
• Error detection and handling
• Protection and security
• Fault tolerance and failure recovery
3

Operating System

• Design Approaches
• Separation of policies and mechanisms
(What and How)

2
7/31/2022

Why Advanced Operating System?

• High Speed Architectures


• Multiprocessor Systems
• Distributed System
• Applications requiring special OS support
• Database Systems
• Real Time Systems

Example

P1: A = 0; P2: B = 0;
A = 1; B = 1;
L1: if (B == 1) goto L1; L2: if (A == 1) goto L2;
< critical sec> <critical sec>
A = 0; B = 0;

3
7/31/2022

Syllabus

Books

You might also like