Page 1 of 1

WSClock Tipps

Posted: Tue Jan 03, 2017 5:54 am
by heinzi1991
Hello;

We are trying to implement the Page Replace Algorithm WSClock, but we have some questions.
We know, that we must update our working at every pagefault and every process has its own working set.

We implemented a circular linked list and every entry has a field of "last time of use". At every pagefault we look at every page in the working set and look at the R - Bit and maybe the M - Bit.

The question is, when we must replace a page from the working set, every page fault or if we wanna swap out and another question is, is the size of the working set every time the same?

Thanks

Re: WSClock Tipps

Posted: Tue Jan 03, 2017 7:01 am
by Octacone