Spooling . For its acronym in English (Simultaneous Peripheral Operations On-Line). With the spooling process, the saving of information occurs in a file or storage device, it is important to point out that the time period in which the information is saved is brief and occurs until the program that will use the data requires the information. An example of spooling systems is the HASP (Houston Automatic Spooling Program) that is included in OS / 360 for the IBM family of computers . This definition is also often used to define simultaneous online peripheral operations.
Summary
[ hide ]
- 1 Operation
- 2 Using Spooling
- 3 Importance.
- 4 Differences between Buffering and Spooling
- 5 See Also
- 6 Sources
Functioning
It is based on performing Input / Output (I / O) operations on the disk or storage medium, saving in it the information supplied by the input peripherals and the output files or files. The system is very similar to deferred I / O, but using a disk instead of tapes and performing all the operations of the main processor. This allows simultaneous actions or operations such as reading the input of a job, processing another and printing a third.
Use of Spooling
Queue documents to print
Queue sent emails for later output
- When we use the printer: the data that has to be sent to the printer before the actual output of the same takes place, are subjected to this process;
In this case, documents are temporarily stored in an area on a disk (buffer), and the printer removes them from it at its own speed. The user can then perform other operations on the computer while printing takes place in the background. Spooling also allows users to queue multiple print jobs at once, rather than waiting for each one to finish before sending the next.
- When the devices that access the data do so at different speeds;
Spooling provides a buffer where data can be until the device (generally slower) processes it. This allows the CPU to work on other tasks while waiting for the slower device to finish processing the job.
- In cases where there is no direct communication between the programs that write and read the data;
The use of a buffer allows several processes in parallel to be generating data for the device, without the result being mixed, nor having to wait for the operation with the peripheral to finish. Consequently, an indirect communication is obtained between the programs that write the data and those that read it.
- When sending emails, it allows you to place the emails in a temporary storage area until the manager program sends them.
Importance.
- It is up to the user to do other tasks on the computer.
- Modern spooling systems with various processing functions ensure higher productivity and lower cost in production printing.
- Allows you to queue multiple files to print without having to wait for one to finish before sending the other to print.
Differences between Buffering and Spooling
These definitions tend to create certain doubts about the moment in which one or the other is operating, their differences can help to understand the doubts a bit.
- The way to handle input and output operations: Buffering overlaps the I / O of a running job, while Spooling overlaps them.
- Buffering can be based on spooling techniques but not vice versa.
- Buffering is faster than spooling because it uses Direct MemoryAccess (DMA) devices
- Spooling can use buffering but not the other way around.
