3 ms·
I think an assessment of how Windows would perform here is appropriate.
by wfunction 13y ago
I think an assessment of how Windows would perform here is appropriate.
- ozgune 13y agoHere's my high level understanding of how Windows handles this. Windows uses a set of LRU lists to manage its page cache, where each LRU list corresponds to a priority. In its simplest form then, your pages are evicted according to an LRU eviction policy. Now, the user can also set priorities on their processes. Let's say they set priority #2. The pages referenced by this process are then inserted into the corresponding LRU cache #2. When a page needs to be evicted from the cache, the LRU list with the lowest priority is consulted first (LRU cache #0), and entries are evicted from it.