S4 Computer architecture · Practice
The front end
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 6 kinds solid
Check
A 6-wide fetch stops at taken branches, which come every 5 instructions; each redirection costs 2 bubble cycle(s).
(a)
What fetch rate does it reach?
(b)
What fraction of the fetch slots carry instructions?
Check
A micro-op cache hits 0.8 of the time and delivers 6 µops a cycle; the decoders deliver 4.
(a)
What average rate does the front end reach?
Check
A program misses the instruction cache 5 times per thousand instructions, at 12 cycles each, on a core whose CPI is otherwise 0.5.
(a)
What CPI do the misses add?
(b)
What fraction of the time is the front end starving the core?
Check
Fetch rate: width 4, runs of 6, 1 bubble(s)?
Check
Average µop rate, hit rate 0.7, 6 per cycle on a hit, 4 on a miss?
Check
CPI from 3 instruction-cache MPKI at 15 cycles?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S4