Knowee
Questions
Features
Study Tools

36)i) A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of ans. a)250ns c)190ns d)none of these. b)200ns

Question

36)i) A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of ans. a)250ns

c)190ns

d)none of these.

b)200ns

🧐 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 don't have the Miss Penalty (the time it takes to load data from the main memory when a cache miss occurs) given in the problem. However, we can use the given average access time to solve for it.

The problem states that the average access time is 250 ns, so we can set up the equation as follows:

250 ns = 100 ns + 0.1 * Miss Penalty

Solving for Miss Penalty gives us:

Miss Penalty = (250 ns - 100 ns) / 0.1 = 1500 ns

So, the time it takes to load data from the main memory when a cache miss occurs is 1500 ns.

However, none of the options provided (a) 250 ns, (b) 200 ns, (c) 190 ns, (d) none of these) match this result. Therefore, the correct answer is (d) none of these.

This problem has been solved

Similar Questions

A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of

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?

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.