S4 Computer architecture · Practice
Multiprocessors and snooping coherence
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 at 3 GHz and IPC 1 sends 0.002 misses per instruction to the bus, each moving a 128-byte line. How much bus bandwidth does it use?
Check
A 100 GB/s bus serves cores at 2 GHz, IPC 1, each with 0.008 bus misses per instruction and 64-byte lines. How many cores saturate it?
Check
Under MSI, a thread reads and then writes 1000 lines that no other core holds. How many bus transactions does that take?
Check
Under MESI, a thread reads and then writes 1000 lines; a fraction 0.5 of them are held by no other cache when read. How many bus transactions?
Check
Two cores each increment their own counter 2000 times, alternating, with both counters in one cache line. About how many coherence misses result?
Check
A line is shared by 7 other caches, and a core writes to it 10 times, with the other caches rereading it between writes. How many invalidations reach other caches in all?
Check
A 64 GB/s snooping bus serves cores at 2 GHz and IPC 2; each misses 0.01 times per instruction with 64-byte lines.
(a)
How much bus traffic does each core make?
(b)
How many cores can the bus support?
Check
Bus traffic per core: 2.5 GHz, 0.004 misses per instruction, 64-byte lines?
Check
Cores to saturate a 50 GB/s bus: 3 GHz, 0.002, 128-byte lines?
Check
MESI transactions: 300 lines, 0.6 unshared?
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