What is Spooling ?


Spooling (Simultaneous Peripheral Operation On Line)


Spooling meaning is an acquaintance for on-line peripheral operations. It is a type of buffering mechanism or a process in which data is temporarily put into use and executed by a device, program, or system. Data is sent to memory or other volatile storage until the program or computer requests execution.

Peripheral devices in a computer system, such as printers and punch card readers, etc. Receiving input and output from the system quickly became a bottleneck. Spool is needed here.

Spooling works like a typical request queue where data, instructions, and processes from multiple sources accumulate for later execution. Typically, it remains on the computer's physical memory, buffers, or I / O device-specific interrupts. The spool is processed in a FIFO manner i.e. any first instruction in the queue will be popped and executed.

Applications / Implementation of Spooling:


1) Can be found in the most common I / O devices such as keyboard printers and mouse. For example, in printers, documents / files that are sent to the printer are first stored in memory or printer spooling. Once the printer is ready, it receives data from the spool and prints it.

Even experienced a situation when suddenly your mouse or keyboard stops working for a few seconds? Meanwhile, we usually click on the screen repeatedly and on the screen to check whether it is working or not. When and when it actually starts working, whatever and wherever we press while it hangs, executes very fast because all instructions accumulate in the spool of the respective device.

2) A batch processing system uses spooling to maintain a queue of ready-to-run jobs that can be started as soon as there are resources to process the system.

3) Spooling is capable of overlapping I / O operations for one task, with processor operations for another work. That is, many processes can write documents to a print queue without waiting and resuming with their work.

4) E-mail: An email is delivered by an MTA (mail transfer agent) to a temporary storage area, where it is picked up by an MA (mail user agent).

5) Can also be used to create banner pages (these are used in computerized printing to distinguish documents from each other and to identify the originator of a print request by username, an account number for pickup, or a bin) There are pages to be done. Such) pages are used in office environments where many people share a small number of available resources).

Post a Comment

0 Comments