edited by
13,341 views

3 Answers

Best answer
16 votes
16 votes
Effective Memory Access Time = Cache hit * Cache access time + Cache miss ( Cache miss Penalty + memory Access time)

 = 0.8(30) + (1-0.8)(30+150) ns

 = 24 + 0.2(180) ns

 = 24 + 36 ns = 60 ns.

Option A.
selected by
0 votes
0 votes
By default Hierarchial access

Tavg  = cache miss + main memory hit

 Cache miss = cache hit ratio * cache access time = 0.8 * 30ns = 24ns

Main memory hit = (1-cache hit ratio) * (main memory hit ratio) * (main mem access time + cache mem access time)

                              = (1-0.8) * (1) * (150ns+ 30ns)

                              = 36ns

(Main memory is final level of hierarchial access so main mem hit ratio = 1)

 

Therefore,

 

Tavg = 24+36 = 60ns
0 votes
0 votes
Step-1: Hit ratio 80%=0.8 and Miss ratio=20%=0.2
Access time=30ns
Main memory=150ns
Step-2: CPU access time = (Hit ratio*access time) + (Miss ratio*access time+Main memory)
= (0.8*30) + (0.2*(30+150))
= 60 ns
Answer:

Related questions

9 votes
9 votes
2 answers
1
sh!va asked May 7, 2017
2,996 views
The most appropriate matching for the following pairs :$\begin{array}{clcl} \text{X.} & \text{Indirect Addressing} & \text{i.} & \text{Loop} \\ \text{Y.} & \text{Immedi...
12 votes
12 votes
2 answers
2
sh!va asked May 7, 2017
7,141 views
How many $128\times 8$ bit RAMs are required to design $32\;\text{K}\times 32$ bit RAM?$512$$1024$$128$$32$
14 votes
14 votes
4 answers
3
go_editor asked Sep 29, 2014
12,602 views
The cyclomatic complexity of each of the modules $\text{A}$ and $\text{B}$ shown below is $10.$ What is the cyclomatic complexity of the sequential integration shown on t...
9 votes
9 votes
2 answers
4
sh!va asked May 7, 2017
4,324 views
Which interrupt in $8085$ Microprocessor is unmaskable?$\textsf{RST 5.5}$$\textsf{RST 7.5}$$\textsf{TRAP}$Both (a) and (b)