As university assignment, I wrote a small virtual memory simulator which implements pagination; the algorithm chosen to replace a target page is the enhanced second chance, also known as “clock algorithm”: this solution comes out as natural evolution of FIFO algorithm, working out the problem of removing those pages which are frequently accessed.
Continue reading →
Posts Tagged: ansi c
3
Oct 09