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
Answer: Option
Explanation:
Access time = 0.95 x 10 + 0.05 x 100.
Discussion:
34 comments Page 2 of 4.
Heena said:
8 years ago
How do we get 0.05 hit rate from main memory?
Rishi Ram Panth said:
8 years ago
Thank you @Bikram.
Surya said:
9 years ago
Thank you all for explaining the solution.
Amrita said:
9 years ago
Thank you the explanation @Bikram.
Padmaja said:
9 years ago
Thank you @Bikram Kesharee Nayak.
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.
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)
S.ROHINI said:
9 years ago
Please mention the formula and explanation.
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.
Please explain.
Pradeepa said:
9 years ago
Hi, I want a clear explanation of the answer. Please provide me.
Monica said:
9 years ago
Please, anyone gives the clear solution for this question with a correct formulas or logic.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers