240 likes | 693 Views
OPERATING SYSTEMS SYSTEMS. 9 th January 11CS10002. BATCH SYSTEMS. In these systems though there are many jobs in the job pool only one job is entered into the memory and no other job is selected till the current running job is terminated. OS. J1. J0. J2. J3. J4. LIMITATIONS.
E N D
OPERATING SYSTEMSSYSTEMS 9th January 11CS10002
BATCH SYSTEMS In these systems though there are many jobs in the job pool only one job is entered into the memory and no other job is selected till the current running job is terminated. OS J1 J0 J2 J3 J4
LIMITATIONS Poor utilization of resources • For every I/O interrupt, CPU remains idle 2) I/O devices remain idle in CPU burst Average waiting time for the jobs is very high In the above example job j0 is being executed and all the other jobs are waiting. Response time is also high
MULTI PROGRAMMING SYSTEM • In this systems if a job goes into I/O interrupt or some waiting state then CPU switches to other job which is helpful for the utilization of CPU or other devices. • Multi Programming is the main feature of operating Systems • Operating System keeps set of jobs in the memory which is subset of job pool
Pros Utilization of resources is high. CPU or any other I/O devices are kept idle only if job pool is empty Cons : 1) Waiting time, Response time is high for the other jobs 2) User interaction is very low
TIME SHARING SYSTEM • This is a logical extension of multi programming systems in which CPU executes multiple jobs by switching among them, but the switches occur so frequently that the users can interact with each program when it is running.
In this system the jobs are selected from the memory by job scheduling • Keeping switching time low helps in giving low response time to each user • Time sharing system uses CPU scheduling and multi program in memory.