13,199 views
0 votes
0 votes
Cache access time Tc = 100 ns
Memory access time Tm = 500 ns
If the effective access time is 10% greater than the cache access time, what is the hit ratio H?
(A) 89%
(B) 91%
(C) 98%
(D) 95%

4 Answers

Best answer
4 votes
4 votes

effective access time =cache hit ratio*cache access time+ cache miss ratio *(cache access time +main memory access time) 

effective access time =10% greater the cache access time ==>110

                                    let cache hit ratio is h

110 = h*100ns +(1-h) (100+500)

110= 100h+600-600h

500h= 490

h= 490/500= .98 = 98%

selected by
1 votes
1 votes

its all about two level memory access. Here firsty cpu will check in cache memory if miss occurs then it will go to main memory

but this is not mentioned here ,so we use simultaneous access of cache and main memory so,

110 = h*100 + (1-h)*500

h=97.5% 

hence answer is close to (c)

we should not use 600 for cache miss until it is mentioned. I am using hierarchical access(look aside cache).

0 votes
0 votes

Given -

Tcache= 100 ns

Tmain  =500 ns

EAT(Effective Access Time) = 110

H=?

110 = 100H +(1- H)*600

=> H = 98%

Option - C

0 votes
0 votes
effective access time =cache hit ratio*cache access time+ cache miss ratio *(cache access time +main memory access time)

Related questions

0 votes
0 votes
0 answers
2
KISHALAY DAS asked Nov 12, 2016
910 views
2 votes
2 votes
3 answers
3
Veerendra V asked Nov 8, 2016
6,937 views
Consider a paging system uses, TLB’s access time is 30 ns and memory access time is 200ns. If the effective memory access time is 150ns, what will be the hit ratio of T...