作者yesa315 (XD)
看板Grad-ProbAsk
标题[理工] [OS]-E.A.T
时间Tue Oct 20 10:23:27 2009
Consider a demand-paging system with a paging disk that has an average
access and transfer time of 20 milliseconds.Addresses are translated
through a page table in main memory, with an access time of 1 microsecond
per memory access. Thus, each memory reference through the page
table takes two accesses. To improve this time, we have added an
associative memory that reduces access time to one memory reference,
if the page-table entry is in the associative memory.
Assume that 80 percent of the accesses are in the associative memory
and that, of the remaining, 10 percent (or 2 percent of the total) cause
page faults.What is the effective memory access time?
恐龙本习题 跟95政大的考题类似 但给的答案
EAT = (0.8) × (1 us) + (0.1) × (2 us) + (0.1) × (5002 us)
= 501.2 us
= 0.5 ms
其中 5002us 满怪的 我算的是 应该2*20 ms + 2*1 us =40002us
有高手可以解释整个架构吗?
谢谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.127.208.96
※ 编辑: yesa315 来自: 140.127.208.96 (10/20 10:24)