Tyler wrote:
That is the biggest waste of Running time i have ever heard of...
Sorry, I didn't think you literally meant "poll". The balance set manager thread wakes up every few seconds.
Quote:
plus all the wasted space on manging every detail about every page just so it can decide to poll something out.
Why would there be wasted space? The balance set manager uses the "clock" algorithm to decide which pages to steal from a working set. All this requires is an "accessed" bit, which is already in each PTE.
I don't really have time now to totally grasp kmcguire's post, but I think he's describing page buffering, which is the general term for the technique used by the Windows MM. I wouldn't be at all surprised to find that most modern OSes do things very similarly.
If you want a good explanation of how the Windows MM works, grab a copy of
Windows Internals. Even if you otherwise don't care much for Windows
the explanations in the book are detailed and I find them very helpful.