作者losew ()
看板Grad-ProbAsk
標題[理工] [OS] 97交大資聯
時間Mon Mar 8 17:20:49 2010
問答第三題
3. Page replacement mechanisms designed to handle page faults. Consider a
reference string 1,0,2,1,2,3,0,3,2,4,0,3,0,2,1,0,7 and the system has
three frames that are initially empty.
if the second-chance algorithm is applied, the number of page faults
is ____.
我算9次
頂X答案感覺又錯了,麻煩大家跟我對看看
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.171.78.7
推 assassin88:我算11次= = 03/08 17:24
推 lightergogo:我也算9次耶 03/08 17:30
推 assassin88:看錯~9次沒錯!! 03/08 17:33
→ windysoul:9次 03/08 17:35
推 Lautreamont:9 +1 03/08 17:36
推 fef92:9次 03/08 17:46
推 wishchen:用FIFO為base解好像是9次 解答好像用LRU當base= = 03/11 21:36