
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to question 1 and 2 of homework 3, focusing on memory bandwidth analysis. The solutions detail the calculation of average memory bandwidth used for each memory reference in different cases, including read hits, read misses, write hits, and write misses.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Question 1. (Omitted)Everyone got this question right. Well done!
Question 2.
(a) case memory operation Read hit 0 read, 0 write Read miss 2 reads Write hit 0 read, 1 write Write miss 2 read, 1 write So average memory bandwidth used for each memory reference is
75% · 5% · 2 + 25% · 95% · 1 + 25% · 5% · (2 + 1) = 0. 35
Used bandwidth = 0.^35 ·^10
9 109 = 35% (b) case memory operation any hit 0 read, 0 write miss and replace clean one 2 reads miss and replace dirty one 2 reads, 2 writes So average memory bandwidth used for each memory reference is
5% · 70% · 2 + 5% · 30% · (2 + 2) = 0. 13
Used bandwidth = 0.^13 ·^10
9 109 = 13%