Cls1_Introduction_1
Cls1_Introduction_1
Raghu T V
email - [email protected]
Syllabus
2
Course Outcomes
3
Text book and References
4
Evaluation process
5
Course delivery plan
6
Things included
- Basics of process.
- Process structure.
-How computer selects each process .
- Resource allocations
- Managing memory
- Managing files.
- Managing hardware.
7
Things not included
8
History of Operating systems
9
Major historical developments.
10
1964 ->IBM 360 .Developed to cater a series of
computers developed by IBM.
1969 -> UNIX .Developed as a time sharing system with
filesystem architecture,access permissions etc.
1973 -> UNIX 4th Edition. Mostly written in C.Could be
easly ported to other machines.
1981 -> MS DOS was launched by Microsoft.
1984 -> Apple macintosh . Featured a graphical
interface which could be accessed by using a mouse.
11
1990 -> Windows 3.0. Came out with a graphical interface.
1993 -> Linux .UNIX was free only for educational
institutions.Linux came up as a free alternative.
1993 -2007 -> Many versions of Windows and Linux.Major
improvements include support for multitasking,hardware
support,Networking support.
2007 ->iOS .The era of touch user interface.
2008 -> Android. Based on core concepts of Linux.
And the saga continues....
12
Development trends
13
Operating Sytem -General view
14
A formal defenition among many..
15
Computer System Structure
2.Operating System.
-Controls and coordinates the use of hardware by applications and users.
3.Application Programs.
-Use system resources to solve tasks.
4.Users.
-Use the applications or interfaces
16
Abstract view of the components of a
computer system
17
Where Does the OS fit in
18
19
Operating system services
20
Contd..
Communications – Processes may exchange information, on the same
computer or between computers over a network
Communications may be via shared memory or through message
passing (packets moved by the OS)
Error detection – OS needs to be constantly aware of possible errors
May occur in the CPU and memory hardware, in I/O devices, in user
program
For each type of error, OS should take the appropriate action to
ensure correct and consistent computing
Debugging facilities can greatly enhance the user’s and
programmer’s abilities to efficiently use the system
21
Contd..
Another set of OS functions exists for ensuring the efficient operation of the system
itself via resource sharing
Resource allocation - When multiple users or multiple jobs running concurrently,
resources must be allocated to each of them
Many types of resources - Some (such as CPU cycles, main memory, and file
storage) may have special allocation code, others (such as I/O devices) may
have general request and release code
Accounting - To keep track of which users use how much and what kinds of
computer resources
Protection and security - The owners of information stored in a multiuser or
networked computer system may want to control use of that information, concurrent
processes should not interfere with each other
Protection involves ensuring that all access to system resources is controlled
Security of the system from outsiders requires user authentication, extends to
defending external I/O devices from invalid access attempts
If a system is to be protected and secure, precautions must be instituted
throughout it. A chain is only as strong as its weakest link.
22
A toplevel view of OS services
23
OS and hardware
24
System Calls
Programming interface to the services provided by the OS
25
26
On calling a system call
27
Dual mode operation.
28
Some system calls in Windows and Linux
29
Sample execution sequence
30
Interrupt
31
KERNEL ?????
32
UNIX Architecture
33
Microkernel architecture
34