Friday, September 17, 2010

what is buffering and what is spooling?


what is buffering and what is spooling?

Buffering is a method of overlapping the computation of a living with its execution. It temporarily stores input or output information in an attempt to better game the speeds of two devices such as a fast CPU and a slow disk drive. If, for example, the CPU writes information to the buffer, it can verbs in its computation while the disk drive stores the information.



With spooling, the disk is used as a fundamentally large buffer. Usually complete job are queued on disk to be completed following. A typical example is the spooler for a printer. When a print job is issued, the spooler take care of it, sending it to the printer if it is not busy, or storing it on disk otherwise.



The crucial difference between buffering and spooling is that the latter allows the I/O of one job to overlap the computation of another. Buffering merely allows the I/O of a job to overlap next to its own computation
It's things your printer does when its going to print.
Buffering refers to storing temporarily information into a memory zone (packets from/to the network, from/to a modem, etc). This is to optimize facts processing.



Spooling refers to jobs sent to a printer. The job are saved surrounded by a location on some storage device, until the printer can process them.
(buffering) Downloading the first block of data. In streaming medium, buffering refers to bringing in an extra amount of information (filling the buffer) before playing the audio or video. Having more audio information or video frames in memory than are in actual fact needed at each precise moment compensates for momentary delay in nouns from the source.(spooling) To store (data sent to a printer) in a buffer, allowing the program that sent the information to the printer to resume its normal operation.

No comments:

Post a Comment