Difference between Spooling and Buffering

ComputersWeb ServicesComputer Network

In context of performance of a computer main factor is of multitasking i.e how processes are divided and performed by the CPU between different input output sub systems. In order to process tasks most efficiently, computer systems use various methods to schedule tasks, speed up calculations and improve Web browsing among which Spooling and buffering are the primary methods.

Following are the important differences between Spooling and Buffering.

Sr. No.KeySpoolingBuffering
1DefinitionSpooling, an acronym of Simultaneous Peripheral Operation On-line (SPOOL), puts data into a temporary working area so it can be accessed and processed by another program or resource.On other hand Buffering is an act of storing data temporarily in the buffer. It helps in matching the speed of the data stream between the sender and receiver.
2Internal implementationSpooling overlaps the input and output of one job with the computation of another job.Buffering on other hand overlaps the input and output of one job with the computation of the same job.
3Resource requirementSpooling requires less resource management as compare to buffering as different resources manages the process for specific jobs.On other hand Buffering requires more resource management as compare to spooling as same resource manages the process of same divided job.
4ProcessorSpooling can also process data at the remote sites. The spooler only has to notify when a process gets completed at the remote site so that spooler can spool next process to the remote side device.On other hand Buffering do not support the remote processing.
5EfficientSpooling is more efficient than buffering.On other hand Buffering is less efficient than spooling.
6Size on memoryIt considers disk as a huge spool or buffer.On other hand Buffer is a limited area in main memory.
raja
Published on 10-Jan-2020 05:26:51
Advertisements