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 1 of 4.

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)

Tshering Dorji said:   5 years ago
That means the access time from the main memory is 100ns or 100ms? I think time is 100ns and not 100ms.

Please anyone explain it clearly.
(4)

Ms Pooja Choudhari said:   7 years ago
Here, T(avg)=h*Tc+(1-h)*M.

where,
T(avg)=Average time.

h=bit rate,(1-h)=Min Rate,
Tc=Time to access information from cache,
M=Miss Penalty(Time to main memory).
(1)

Harshini said:   6 years ago
Thank you @Bikram.
(1)

Prajwal said:   6 years ago
Thank you @Bikram and @Pooja.

Pujitha said:   6 years ago
Thank you so much, @Bikram Ji. You can join as a teacher.

Vanajavivek said:   6 years ago
Thank you @Bkram and @Pooja.

Ali Muhammad said:   5 years ago
You explained in a good manner. Thank you @ Bikram.

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

Anonym said:   8 years ago
1-0.095=0.05 according to the formula


Post your comments here:

Your comments will be displayed after verification.