Batch Operating System
Nowadays, the user of the computer directly interacts with the computer. Is this statement also true in the past? In the past, the user was not able to directly interact with the computer system. The Punched cards or punched tapes were used to get input. All the data and programs were taken as an input with the help of Punched cards and referred to as jobs.
The next step was to prepared Punched cards jobs and handed over to the computer operator. Now, this was the responsibility of the computer operator that how he can arrange all the batches in a sequence. Batch operating system can transfer the jobs to the processor very efficiently.
The simplest batch operating system can transfer the jobs to the processor one by one. if a job was selected for its execution then the job remains in execution until its completion. When one job was completed then the batch operating system transfer the control to the next job, this is the reason why the batch operating system was the slowest operating system.
For example, one job is to scan the document and another job is to print the document. Now, what the batch operating system can do?
First of all, the batch operating system will scan the document and when scanning of the document will complete then batch operating system can print the document. The first and oldest batch operating system was developed in the middle of the 1950 century. Vendors and developers of the batch operating system improve their Research and then they proposed the ”IBSYS” Of IBM.
Multiprogramming batch system
First of all, let’s see what is multiprogramming. In multiprogramming, different users can execute different multiple programs and at the same time. When we say that multiple programs will execute simultaneously, then it means that all programs must be kept in main memory. The batch operating system is responsible for managing all the programs in a multi-programmed batch system. Multiple jobs can enter the system together. Now, the question is that the size of main memory is too small to manage all these kind of jobs. So, what is a solution? The solution is a
Job Pool in Batched OS
The job pool is a pool consisting of multiple jobs located on the hard disk and waiting for Ram. The job can be selected only for execution in memory if a job is selected from a job pool. Let’s say that there are multiple programs and data residing in the main memory, then the batch operating system will perform memory management. There are different memory management techniques to manage the job.
The simple batch operating system takes too much time to complete a simple job.
Multiprogramming system takes less time as compared to the simple Batched systems.
Multiprogramming system helps us to utilize the resources efficiently.
Due to multiprogramming system, the CPU always remain busy to execute some kind of processes.
Advantages of batch Operating System
- You were talking about the repeated jobs and the repeated jobs were the jobs that can be done faster in the batch operating system and all this can do without any involvement of the user. Batched programs can work offline, so they can reduce the CPU load.
- The batch operating systems is unable to manage the large repeated task very easily.
- Disadvantages of batched operating system
- The computer operators are the main actors in the batch operating system. so it is necessary that computer operator must be trained for using the batch operating system.
- It is complex and difficult to debug the batch operating systems programs.
- The waiting time for jobs is increased.
Advantages of batch Operating System
- Difficult to debug.
- Batch systems are costly.