Electronics and Communication Engineering - Digital Electronics - Discussion

Discussion Forum : Digital Electronics - Section 1 (Q.No. 16)
16.
The access time of a word in 4 MB main memory is 100 ms. The access time of a word in a 32 kb data cache memory is 10 ns. The average data cache bit ratio is 0.95. The efficiency of memory access time is
9.5 ns
14.5 ns
20 ns
95 ns
Answer: Option
Explanation:

Access time = 0.95 x 10 + 0.05 x 100.

Discussion:
34 comments Page 2 of 4.

Ramesh said:   10 years ago
If anyone knows clear explanation then please explain.

Mahesh said:   10 years ago
Can you please explain clearly?

Sree said:   9 years ago
Please mention the formula used here.

Kokila said:   9 years ago
I need clear explanation, please elaborate the solution.

Monica said:   9 years ago
Please, anyone gives the clear solution for this question with a correct formulas or logic.

Pradeepa said:   9 years ago
Hi, I want a clear explanation of the answer. Please provide me.

Ram said:   9 years ago
0.95 * 10ns + 0.05 * 100ms = If you are consider ms and ns, then what will be the answer?
Please explain.

S.ROHINI said:   9 years ago
Please mention the formula and explanation.

Bikram Kesharee Nayak said:   9 years ago
Assume that main memory access time is 100 ns instead of ms as given here. When we try to search/ access a bit or word through memory, first the cache memory is searched for access. So it's related to hit ratio directly. The performance of cache memory is measured in terms of hit ratio. If a data item requested by CPU is found in the cache, it is called a 'HIT'.If the requested data item is not found i the cache that means it's in main memory and it is called a 'MISS'. Hit ratio is the ratio of the number of hits divided by total no. of requests.

Now given that the memory access time (MAT. cache) for cache is 10 ns and for main memory is 100 ns.

So, Average memory access time or efficiency = (Hit ratio * MAT. cache) + (1- hit ratio) * (MAT. main memory).
= (0.95* 10 ns) + (0.05* 100 ns),
= 9.5 ns + 5 ns,
= 14.5 ns.

I hope everyone understand this.
(25)

Padmaja said:   9 years ago
Thank you @Bikram Kesharee Nayak.


Post your comments here:

Your comments will be displayed after verification.