Tuesday, October 6, 2009

Comparison of Buffers and Cache

Buffers are allocated by various processes to use as input queues, etc. Most of the time, buffers are some processes' output, and they are file buffers. A simplistic explanation of buffers is that they allow processes to temporarily store input in memory until the process can deal with it.

Cache is typically frequently requested disk I/O. If multiple processes are accessing the same files, much of those files will be cached to improve performance (RAM being much faster than hard drives).

No comments:

Post a Comment

tag ur valuable ideas below