Day1 S1 OS Intro
Day1 S1 OS Intro
Introduction to OS - theory
Introduction to Linux – theory
Basic Linux commands
Shell Programming – start if time permits
Hands on – Practice Linux commands
IntroductIon
to
operatIng SyStemS
Prachi Pandey
System Software Development Group (SSDG)
C-DAC, Bangalore
Topics
About
Evolution/History of OS
Types of OS
Components/Functions of OS
User and Kernel space
An Operating System is a program that acts as an interface
between a user of a computer and the computer hardware
Users
Applications
Operating
System
Hardware
CPU I/O Devices RAM
How do you get your program onto the hardware?
How do you print out the answer?
Altair 8080
Primary Goal – Convenience
Network OS
Embedded OS
History
ENIAC 1943
History contd.
Network OS
Embedded OS
Users did not interact with computer directly.
Each user submitted his/her jobs to the operator
who in turn fed the programs to the computer.
User had to come back later to collect the output.
Disadvantages
Lack of interaction between the user and job
Job Starvation
Multiprogramming means sharing of resources
between more than one processes.
RAM
I/O P1
P1
P2
CPU
P3
P4
Time sharing or multitasking is a logical extension of
multiprogramming. It is same as multiprogramming with
preemption.
In the loosely coupled one, each processor has its own memory
and copy of the OS.
A real-time operating system is an operating
system that guarantees to process events or data
within a stipulated time.
Soft
Less accurate if response time is too long.
Useful in applications such as multimedia,
virtual reality.
Use of the networks required OSs appropriate for them.
Goal:
Keep User Programs from Crashing each other
Keep User Programs from Crashing OS
Keep Parts of OS from crashing other parts?
Simple Policy:
Programs are not allowed to read/write memory of
other Programs or of Operating System
Mechanisms:
Address Translation
Dual Mode Operation
Data 2
Code Code
Data Stack 1
Data
Heap Heap 1
Heap
Stack Code 1
Stack
Stack 2
Prog 1 Prog 2
Data 1
Virtual Virtual
Address Heap 2 Address
Space 1 Space 2
Code 2
OS code
Contact:
[email protected]