看板 Grad-ProbAsk 關於我們 聯絡資訊
Suppose that the virtual memory of a computer system adopts demand paging. Assume that the effective memory access time without any page fault is 50ns and the service time for a page fault is 15ms ,What is the maximum acceptable page-fault rate for an effective access time of no more than 120ns (1ns=10^-9,and 1ms=10^-3)? Answer:The maximum acceptable page fault rate is______ 解答寫: (1-p)*50ns + p*(15ms+50ns)<120ns, 50ns可省略 請教一下,為什麼50ns可省略呢? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.100.142
apsol:15ms>>>>50ns 03/31 22:52
bernachom:請教一下,那,遠大於多少才可以省略呢? 03/31 22:55
bernachom:搞不太清楚,相差多少才是遠大於... 03/31 22:56
hateexam:至少差了10^6比值 跟昨天問題一樣 03/31 23:04
bernachom:那..昨天那題,也可以省略嚕?謝謝. 03/31 23:09
hateexam:昨天那題解法已經省略了... 03/31 23:26
bernachom:看懂了...謝謝^^ 03/31 23:38
hateexam:不會;) 03/31 23:39
godiva82:恐龍版是省略的~我是覺得要算P不要省略好,剛好可以消掉~ 03/31 23:59
WFC:個人是覺得他指的 page fault service 已包含page fault 所要 04/01 00:37
WFC:服務的項目 文中並沒有指名是單純的 page fault process 04/01 00:38
WFC:service 的時間 所以不加入 memory access的時間(已包含進去) 04/01 00:39
WFC:恐龍 P311 下面有指出當 page fault 時要處理的零零總總有很多 04/01 00:40
WFC:所以才會用 page fault time 概括之 04/01 00:41
WFC:要不要加 感覺要看題意在考慮 04/01 00:41
bernachom:腦筋有點打結..那什題目要說什麼才需要算呢? 04/01 00:45
hateexam:抱歉 我沒仔細看 你昨天那題根本無關省不省略問題 04/01 03:19
hateexam:因為他已經說分頁失誤所需花費的所有時間了 04/01 03:19