Question
Consider a memory system with the following parameters: - Translation Lookaside Buffer has 256 entires and it is 2-way set associative. - Page size is
Consider a memory system with the following parameters: - Translation Lookaside Buffer has 256 entires and it is 2-way set associative. - Page size is 4 KB. - The tag bits for TLB is 21 bits. - Physical memory is 128GB.
a) What is the virtual address size (in bits)? b) What is the physical address size (in bits)? c) How many physical pages are there? d) What is the size of virtual memory in TB? e) If the hit rate is 99% and hit time is 1 cycle to TLB, what is the average memory access time to the TBL if its miss penalty is 20 cycles when there is no page fault? f) Assume that 0.02% of the time, there is a page fault, and the disk latency is 10,000 cycles. Then, what is the average access time for TLB?
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