buffercache
Buffercache is a term used in operating systems to describe a portion of main memory set aside to temporarily store data blocks read from or written to storage devices. The goal is to accelerate I/O operations by keeping recently accessed disk blocks nearby, reducing the need to fetch data from slower storage media on every access. Buffercache is part of the broader file system cache and is managed by the kernel.
In Unix-like systems, the cached data is divided into two related components: a block buffer cache for
The kernel writes back modified data in the cache to storage asynchronously, using dirty buffers or pages.
Monitoring and tuning can vary by OS. On Linux, metrics such as Buffers and Cached appear in