[問題] OS-page reference
有一題目是
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
→
04/11 00:56, , 1F
04/11 00:56, 1F
推
04/11 01:07, , 2F
04/11 01:07, 2F
→
04/11 01:30, , 3F
04/11 01:30, 3F
→
04/11 01:31, , 4F
04/11 01:31, 4F