Buffers and Caches in Linux Memory

Buffers and Caches in Linux Memory

Buffer and Cache Definitions: Buffer: A temporary storage for raw disk blocks, which writes cached data to disk. It is usually not very large (around 20MB). This allows the kernel to consolidate scattered writes, optimizing disk writes uniformly. For example, multiple small writes can be combined into a single large write. Cache: A page cache … Read more