Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4 . ( 1 2 points total ) Assume that we have a computer that uses virtual memory. It has a TLB , a (
points total Assume that we have a computer that uses virtual memory. It has a
TLB a L cache, and a page table. Furthermore, we can assume the following:
A TLB access requires ns
A cache access requires ns
A memory access requires ns
A disk access requires ms this includes updating the page table, cache, and
TLB
The TLB hit ratio is
The cache hit rate is
The page fault rate is
On a page fault, the page is fetched from disk, and access is restarted. In other
words, you must redo the access after the disk block is retrieved see flowchart
in Chapter
All references are sequential no overlap, nothing done in parallel
a points Assume that the CPU is trying to retrieve a virtual address. The
address is in a page that has just been retrieved from disk when the
preceding virtual address was processed. What is the time to access this new
address?
b points Assume that the CPU is trying to retrieve a virtual address. The
address is in a page that has already been retrieved from disk. However, this
retrieval was a relatively long time ago and neither the TLB nor the L cache
have any relevant info for this access. What is the time to access this
address?
c points Given the configuration above, give the effective access time for a
lookup in the page table this is just for the lookup you are not concerned
about the cost of a page fault
d points Assume that all caches have been disabled no TLB no data
caches, etc. The CPU now receives a virtual address. In this scenario, what
is the effective access time to retrieve the value associated with this virtual
address?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started