Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a demand-paging system with a paging disk that has an average access an

ID: 3847597 • Letter: C

Question

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 70 percent of the accesses are in the associative memory and that, of those remaining, 10 percent (or 3 percent of the total) cause page faults. What is the effective memory access time?

Explanation / Answer

Answer:

Given transfer time is =20 milliseconds
access time =1 microsecond
% of accessess are in associative memory =70% = 0.7
% of total taken=3%=0.03

Therefore access Time = (0.7) * (1 microsecond) + (0.18) * (2 microsecond) + (0.03) * (20002 microsecond)

= 601.2 microsecond
= 0.6 millisecond

Hope you will satisfy with my answer Thank you.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote