首页 > 试题广场 >

Consider a demand-paging syste

[问答题]
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?

推荐
effective access time=(0.8) x (1 μsec)+ (0.1) X (2 1-μsec) -F (0.1) X (5002 1-μsec) =501.2μsec=0.5 millisec

发表于 2018-03-23 21:57:57 回复(0)