Knowee
Questions
Features
Study Tools

A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time ofans.b)200nsa)250nsd)none of these.c)190ns

Question

A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time ofans.b)200nsa)250nsd)none of these.c)190ns

🧐 Not the exact question you are looking for?Go ask a question

Solution

The average access time of a computer can be calculated using the formula:

Average Access Time = Hit Time + Miss Rate * Miss Penalty

Given in the problem:

  • Cache access time (Hit Time) = 100 ns
  • Hit ratio = 0.9, therefore, Miss Rate = 1 - Hit ratio = 1 - 0.9 = 0.1

We know that: Average Access Time = 200 ns

We can substitute the known values into the formula and solve for the unknown Miss Penalty:

200 ns = 100 ns + 0.1 * Miss Penalty

Rearranging the equation to solve for Miss Penalty gives:

Miss Penalty = (200 ns - 100 ns) / 0.1 = 1000 ns

Therefore, the time it takes to access the memory when a cache miss occurs (Miss Penalty) is 1000 ns.

This problem has been solved

Similar Questions

A small computer has a direct-mapped data cache of size 1 kilo Bytes. lts block size is 32 bytes, hit time is 2 processor clock cycles, and, the miss penalty is 20 processor clock cyclesWhile running a loop, in each iteration data (of size 1 byte) is accessed from memory addresses 6, 522, 768, 1028. If the loop iterates 10 times, compute the average data access time for the loop.

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)?

If the same 1 kilo Byte cache had been organized as a two-way set associative cache (other specifications remaining the same), then what would have been the average data access time for the loop?

In this question, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main miss penalty for both processors take 200 s. The following table shows data for caches attached to each of two processors:   Miss RateHit TimeP18%2sP22%5sWhat is the Average Memory Access Time for P1 and P2?

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

1/3

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.