WSClock Tipps

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
heinzi1991
Posts: 1
Joined: Tue Jan 03, 2017 5:40 am

WSClock Tipps

Post 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
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: WSClock Tipps

Post by Octacone »

OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
Post Reply