S4 Computer architecture · Practice
Dynamic scheduling with Tomasulo's algorithm
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 4-wide core averages 15 cycles from dispatch to completion. What window does it need to sustain full width?
Check
An 8-wide core has a 128-entry window and averages 20 cycles of latency per instruction. What IPC can it sustain at most?
Check
A core with 32 architectural registers keeps 96 instructions in flight, 0.8 of which write a register. How many physical registers does renaming need?
Check
A Tomasulo machine has 2 common data bus(es), each carrying one result per cycle, and 0.6 of instructions produce a result. What IPC does the CDB allow at most?
Check
A multiplier receives 1 instructions per cycle on average. Each spends 4 cycles waiting for operands and 3 cycles executing. How many reservation stations does it need on average?
Check
A chain of 3 dependent multiplies each executes in 4 cycles and then takes 1 cycle to broadcast its result on the CDB before the next can start. How many cycles from the first starting to execute to the last result's broadcast?
Check
A 6-wide out-of-order core averages 20 cycles of latency per instruction; 0.8 of instructions write one of 32 architectural registers, and it has 3 common data buses.
(a)
How big must its window be to sustain full width?
(b)
How many physical registers does that window need?
(c)
What IPC can its result buses carry?
Check
Window for full width: 3-wide, 25 cycles latency?
Check
Sustainable IPC: window 64, latency 30, width 6?
Check
Physical registers: 32 architectural, 128 in flight, 0.85 writing?
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