Professional Documents
Culture Documents
Topics Covered
What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
A little insight
Computer systems typically contain:Hardware and Software components Hardware electronic/electric, mechanical components Software programs and subprograms Without support softwares, the computer is of very little use
What is an OS?
An interface between Hardware and User Programs An abstraction of the hardware for all the (user) processes
i.e. hides the complexity of the underlying hardware and give the user a better view of the computer
applications software
Operating system
hardware components
CPU
device
device
...
memory
device
The Goals of an OS
Let users run programs:
Correctness
Memory boundaries, priorities, steady state
Convenience
User should not handle the tiny details (encapsulation/abstraction), provide synchronization primitives, system calls, file system, tools
The Goals of an OS
OS lets the users run programs while focusing on :
Maximizing Efficiency
Resource Utilization, resource Sharing, Multitasking
An OS is a Resource Allocator
Its good to share! Multiple users get all computing resources simultaneously:
CPU time Memory (ram, swap, working set, virtual etc) File system (storage space, primary and secondary storage devices) I/O devices (display, printers, mouse,keyboard) Clock
The OS should give every user the illusion that he/she is getting all resources exclusively (not sharing!)
loop forever { run the process for a while. stop the process and save its state. load state of another process. }
Virtual Continuity
A process can get switched in or switched out.
OS should give the illusion for the process as if it exists in the CPU continuously => Context Switching
Preemptive Scheduling
There are OSs where a process is forced to give up the CPU (e.g. when stayed for too long). Such systems implement a preemptive scheduling policy.
Examples include Windows (NT,XP & 7) , Unix etc
Using Priorities
Most OSs provide the priority mechanism Priorities are associated with processes Priorities are used to help the OS reach fairness
Process
A process is a program in execution. The components of a process are:
the program to be executed, the data on which the program will execute, the resources required by the programsuch as memory, file(s)and the status of the execution (wait, ready, running).
Desktop Systems
Personal computers computer system dedicated to a single user. I/O devices keyboards, mice, display screens, small printers. User convenience and responsiveness. Can adopt technology developed for larger operating system often individuals have sole use of computer and do not need advanced CPU utilization of protection features. May run several different types of operating systems (Windows, Mac OS, UNIX, Linux)
Distributed Systems
Distribute the computation among several physical processors. Loosely coupled system each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines. Advantages of distributed systems. Resources Sharing Computation speed up load sharing Reliability Communications
Sources
www.wikipedia.com www.google.co.in www.microsoft.com www.linuxdeveloperforum.com www.apple.inc
THANK YOU