S4 Computer architecture · Practice
Pipelining limits and optimal depth
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 10 kinds solid
Check
A core has 120 FO4 of logic per instruction, 3 FO4 of overhead per stage and loses 0.08 cycles per instruction per stage of depth. What depth minimizes time per instruction?
Check
With 80 FO4 of logic, 3 FO4 of overhead and 0.1 stalls per instruction per stage, what's the time per instruction at 30 stages, in FO4?
Check
A pipeline of 20 stages splits 100 FO4 of logic evenly, with 3 FO4 of overhead per stage. What fraction of each cycle is overhead?
Check
Branches are 0.15 of instructions, 0.03 of them mispredicted, and they resolve at stage 25. How much CPI do mispredictions add?
Check
How many FO4 is each cycle when 100 FO4 of logic is split over 25 stages with 3 FO4 of overhead?
Check
At the optimal depth, what's the time per instruction for t = 100 FO4, o = 3 FO4 and b = 0.08?
Check
An instruction's path is 120 FO4; each stage adds 2 FO4 of overhead, and hazards cost 0.08 cycles per instruction per stage.
(a)
What is the time per instruction with 20 stages?
(b)
What depth minimizes it?
Check
Optimal depth: t = 90, o = 3.5, b = 0.12?
Check
TPI at 35 stages: t = 100, o = 3, b = 0.06?
Check
Misprediction CPI: 0.12 branches, 0.02 mispredicted, resolved at stage 20?
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