Page cache in Linux

From HPCWIKI
Revision as of 14:20, 9 December 2023 by Admin (talk | contribs) (Created page with "== cached vs buffers == Linux is a general purpose operating system instead of having specific code paths to perform what is right for a single specific task. Linux uses all excess memory for its page cache. The linux page cache can be seen in /proc/meminfo with the statistic “Cached.” while The “Buffers” memory area is a memory area that holds raw disk data, meant as an intermediate buffer between processes, the kernel, and disk == Tuning the Page Cache == Pag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cached vs buffers

Linux is a general purpose operating system instead of having specific code paths to perform what is right for a single specific task.

Linux uses all excess memory for its page cache. The linux page cache can be seen in /proc/meminfo with the statistic “Cached.” while The “Buffers” memory area is a memory area that holds raw disk data, meant as an intermediate buffer between processes, the kernel, and disk

Tuning the Page Cache

Page cache is a disk cache which holds data of files and executable programs, for example pages with actual contents of files or block devices. Page cache (disk cache) is used to reduce the number of disk reads. see more tuning page cache

References