edited by
1,334 views
0 votes
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?

edited by

1 Answer

1 votes
1 votes
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

Related questions

0 votes
0 votes
0 answers
4