If the average time to handle a page fault is 10 milliseconds, and a memory access requires 1 microsecond, then achieving a 99.99% hit ratio would lead to an average memory access time ofa.1 millisecondb.1.9999 millisecondsc.1.9999 microsecondsd.9.999 microseconds
Question
If the average time to handle a page fault is 10 milliseconds, and a memory access requires 1 microsecond, then achieving a 99.99% hit ratio would lead to an average memory access time ofa.1 millisecondb.1.9999 millisecondsc.1.9999 microsecondsd.9.999 microseconds
Solution
To determine the average memory access time given the hit ratio, we need to use the following formula:
Given:
- Hit Ratio = 99.99% = 0.9999
- Miss Ratio = 1 - Hit Ratio = 1 - 0.9999 = 0.0001
- Memory Access Time = 1 microsecond = 1 s
- Page Fault Time = 10 milliseconds = 10,000 microseconds = 10,000 s
Now, plug these values into the formula:
Calculate each part:
Add these two results together:
Therefore, the average memory access time is:
So, the correct answer is:
c. 1.9999 microseconds
Similar Questions
Assume 40% of the instructions are data accessing instruction. Let a hit take 1 clock cycle and the miss penalty is 100 clock cycle. Assume instruction miss rate is 4% and data access miss rate is 12%, what is the average memory access time?
If the CPU fails to find the page number in the TLB (20 nanoseconds), then it must first access memory for the page table and frame number (100 nanoseconds) in cache memory, and then access the desired byte in main memory (100 nanoseconds), for a total of 220 nanoseconds. Find the effective memory-access time if hit ratio is 80%:Here TLB is a buffer, that additionally is associated with Cache space120 nanoseconds160 nanoseconds140 nanoseconds130 nanoseconds
A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of
A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of ans. b)200ns d)none of these. c)190ns a)250ns one line answer
What is the cache hit ratio. if memory access takes 20 ns with cache and 110 ns without it (cache uses a 10 ns memory)?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.