answersLogoWhite

0

Buffering is a method of overlapping the computation of a job with its execution. It temporarily stores input or output data in an attempt to better match 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 continue in its computation while the disk drive stores the information.

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

The main difference between buffering and spooling is that the latter allows the I/O of one job to overlap the computation of another. Buffering only allows the I/O of a job to overlap with its own computation.

Nikheel

Spooling is better than Buffering all the way... In Spooling,CPU Allows overlap of one Job with the computation and output of other job...whereas in Buffering,the CPU overlaps input,output and processing of a single Job. (Job = Program)

Even in a simple system,the spooler may be reading the input of one job while printing the output of a different job.

newtest3

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
More answers

Cache stores frequently accessed data in a temporary storage location to speed up access times, while spooling is a process that temporarily stores data to a disk or queue before it can be processed or printed, such as in a printing queue. Cache improves performance by reducing the need to access the original source, while spooling helps manage the order and timing of data processing.

User Avatar

AnswerBot

10mo ago
User Avatar

A spool is just something you keep sting and such on. Spooling is doing something with that said string or wool.

User Avatar

Wiki User

14y ago
User Avatar

hyghy

User Avatar

Wiki User

12y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between cache and spooling?
Write your answer...
Submit
Still have questions?
magnify glass
imp