作者bernachom (Terry)
看板Grad-ProbAsk
標題[問題] OS-page reference
時間Sat Apr 11 00:39:35 2009
有一題目是
consider the following pge referece string
1 2 3 5 4 6 ........
how many page fault would occur for the following replacement algorithm
assuming 3 4 5 6 or7 frames?
1)LRU
2)OPT
像這種題目,真的會把3 4 5 6 7 frames都列出來嗎?
有什麼小技巧呢?謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.98.28
1F:→ godiva82:真的就是乖乖寫... 04/11 00:56
2F:推 terrykyo:沒技巧 做熟吧 中央97年做到會瘋掉 04/11 01:07
3F:→ bernachom:天呀..沒技巧..我看這題目通常都是10左右... 04/11 01:30
4F:→ bernachom:謝謝各位嚕... 04/11 01:31