

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
Solutions to homework problems related to computer architecture concepts such as window size, multithreading, and cache penalty calculation. It includes detailed explanations and formulas for each problem.
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Problem 1
Problem 2
stack Penalty due to store->load and load->other = 0.150.50{0.80(0.201+0.301) +0.20(0.2010+0.306)}=0.03+0.057 = 0. Penalty due to memory stalls = {(0.15+0.05)0.500.0250} = 0. total penalty for access stack = 0.087+0.1 = 0. non-stack Penalty due to store->load and load->other = 0.150.50 {0.2010+0.306} = 0. Penalty due to memory stalls = {(0.15+0.05)0.500.03*50} = 0. total penalty for access non-stack = 0.285+0.15=0.
CPI of B = 2+ total penalty for stack+ total penalty for non-stack =2+0.187+0.435 = 2.
Problem 3 Note: The answer is NOT unique.
Dir-map (set 0)
Dir-map (set 1)
Dir-map (set 2)
Dir-map (set 3)
Dir-map (hit/miss)
miss miss miss miss miss miss miss
Set-asso (set 0)
Set-asso (set 1)
Set-asso (hit/miss)
miss miss miss miss miss miss hit
Full-asso (set 0)
Full-asso (hit/miss)
miss miss miss miss miss hit hit