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 of ans. b)200ns a)250ns c)190ns d)none of these.

Question

A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of ans. b)200ns

a)250ns

c)190ns

d)none of these.

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

Solution

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

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

Given in the problem, we have:

Hit Time (Cache access time) = 100 ns Hit Ratio = 0.9 Therefore, Miss Rate = 1 - Hit Ratio = 1 - 0.9 = 0.1

We are also given that the Average Access Time is either 200 ns, 250 ns, or 190 ns. We can use these values to calculate the Miss Penalty for each case.

a) If Average Access Time = 250 ns, then: 250 ns = 100 ns + 0.1 * Miss Penalty 150 ns = 0.1 * Miss Penalty Miss Penalty = 150 ns / 0.1 = 1500 ns

b) If Average Access Time = 200 ns, then: 200 ns = 100 ns + 0.1 * Miss Penalty 100 ns = 0.1 * Miss Penalty Miss Penalty = 100 ns / 0.1 = 1000 ns

c) If Average Access Time = 190 ns, then: 190 ns = 100 ns + 0.1 * Miss Penalty 90 ns = 0.1 * Miss Penalty Miss Penalty = 90 ns / 0.1 = 900 ns

Therefore, none of the given options for Average Access Time match with the given Cache Access Time and Hit Ratio. So, the answer is:

d) None of these.

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?

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

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?

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.