When Replacements Really Occur
This lesson draws out a realistic view of why and how the operating system always keeps some memory free through replacements.
We'll cover the following...
Thus far, the way we’ve described how replacements occur assumes that the OS waits until memory is entirely full, and only then replaces (evicts) a page to make room for some other page. As you can imagine, this is a little bit unrealistic, and there are many reasons for the OS to keep a small portion of memory free more proactively.
Swap daemon or page daemon
To keep a small amount of memory free, most operating systems thus have some kind of high watermark (HW) and low watermark (LW) to help decide when to start evicting pages from memory. How this works is ...
Access this course and 1400+ top-rated courses and projects.