• edited by
2,315 views
0 0 votes

Consider a two-level memory hierarchy, L1  (cache) has an accessing time of 5 ns and main memory has an accessing time of 100 ns. Writing or updating contents takes 20 ns and 200 ns for L1  and main memory respectively. Assume L1 gives misses 20% of the time with 60% of the instructions being read-only instructions. What is the average access time for the system (in ns) if it uses the WRITETHROUGH technique?

1 Answer

1 1 vote
read:0.8(5)+0.2(5+100)=25 ns

write:0.8* max(20,200)+0.2(200)=200 ns

total time=0.6*25+0.4*200

=95 ns
Position:
Show:

Related questions

0 0 votes
1 1 answer
2.4k
2.4k views
Shivangi Parashar 2 asked Nov 25, 2018
2,380 views
consider two-level cache hierarchies with L1 and L2 cache. Programs refer to memory 1000 times out of which 40 misses are in the L1 cache and 10 misses are in the L2 cach...
1 1 vote
1 1 answer
1.1k
1.1k views
Rahul_Rathod_ asked Aug 6, 2018
1,143 views
in cache performace i have confusion about where to use which formula likefor write through whether use H (tc) + (1-H) (tc+m) or H (tc) + (1-H) (m)and how to identify wh...
0 0 votes
0 0 answers
542
542 views
Priyansh Singh asked Jul 2, 2018
542 views
Hi sir, i want to ask that how we'll come to know whether this is an independent memory organization or it is a hierarchical organization ? In case of hierarchical it's a...
–1 –1 vote
1 1 answer
1.6k
1.6k views
vupadhayayx86 asked Jun 13, 2018
1,630 views
What should be correct answer to this question?In solution it's option A in Carl hamacher text book it's B ? I am confused please help