answersLogoWhite

0

Spooling refers to a process of transfering data by placing it in temporary working area where

another program may access it for processing at a later point in time. 'Spool ' can refer to the

action of a storage device that incorporates a physical spool or reel, such as tape drive.

For eg:- A printer can serve only one job at a time, several applications may wish to print their

output concurrently, without having their output mixed together. The operating system solves

this problem by intercepting all output to the printer. Each applications's output is Spooled

to a separate disk file. When an application finishes printing, the spooling system queues the

corresponding spool file for output to the printer. The spooling system copies the queued spool

files to the printer one at a time.

In some operating system, spooling is managed by a system daemon process. In other operating

systems, it is handled by an in-kennel thread.

In either case, the operating system provides a control interface that enables users and system

administrators to display the queue, to remove unwanted jobs before those jobs print to suspend

printing while the printer is serviced, and so on.

Some devices, such as tape drives and printers, cannot usefully multiplex the I/O requests of

multiple concurrent applications. Spooling is one way that operating systems can coordinate

concurrent output. Another way to deal with concurrent device access is to provide explicit

facilities for coordination.

Some operating systems (including VMS) provide support for exclusive device access, by

enabling a process to allocate an idle device, and to deallocate that device when it is no longer

needed. Other operating systems enforce a limit of one open file handle to such a device.

Many operating systems provide functions that enable processes to coordinate exclusive access

among themselves. For instance, Windows NT provides system calls to wait until a device

object becomes available. It also has a parameter to the open () system call that declares the

types of access to be permitted to other concurrent threads. On these systems, it is up to the

applications to avoid deadlock.

THE SPOOLING MECHANISM

The entire key to spooling is a synchronous processing, where the program is not constrained by

the speed of slow devices, particularly printers.

Printers are relatively slow peripherals. In comparison, disc devices and particularly CPU's

are orders of magnitude faster. Without spooling print data, the speed of program operation

is constrained by the slowest device, commonly printers, forcing the program to wait for the

mechanical motion of the printer, the program is known as "print bound'.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why is spooling necessary for batch programming?

advantage of spooling


What is the difference between online spooling and offline spooling?

in off line spooling user has no interface with systems it strongly used in Batch system's.it mean's that you submit your request to system , system will cmputing and print result of request without interface with user.


Sending print jobs to a buffer instead of immediately to the printer?

Spooling


What is Spooling turbo chargers?

Any turbo-charger that spins pressurised air into the cylinder makes a high pitched spooling sound is called a spooling turbo charger.


Role of spooling in blood DNA isolation?

spooling of the DNA results from the addition of the ethanol which is insoluble in the solution. after we get he DNA in the form of spooling structure the solution is centrifuged. so we get the DNA.


How does spooling improve efficiency of an os?

a lot


Why spooling is necessary for batch multiprogramming?

ogobs


How do you do pipe spooling?

Working with and rolling using a brace.


what is the meaning of spooling as used in art and design?

g


That advanced personal computer wil have spooling as a standard feature in the future?

All computers today have spooling services. If it did not you would not be able to print to more than one printer.


What is the meaning of spooling?

Spooling is putting jobs in a buffer area, whether in memory or on disk, where they can be accessed when a device is ready. For example, print jobs are spooled to a buffer to be printed when the printer is ready.


Spooling is necessary in batch processing system?

Not necessarily. It depends on what you are processing.