S4 Computer architecture · Practice
Multicore cache hierarchies
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 7 kinds solid
Check
8 cores each have a 0.5 MB private L2; the shared L3 holds 32 MB.
(a)
How much distinct data fits if the L3 is inclusive?
(b)
And if it is exclusive?
Check
An 8 MB cache with 64-byte lines is 8-way set associative.
(a)
How many sets does it have?
(b)
How much tree-PLRU state does it need?
(c)
And 2-bit RRIP?
Check
An LLC is sliced over a 6 × 6 mesh; a slice takes 8 cycles and each hop 3.
(a)
What is the average latency to a random slice?
(b)
And to the farthest slice?
Check
A program misses 0.02 of the time with the whole LLC; it now shares the cache equally with 2 programs in all.
(a)
What miss rate does the √2 rule predict?
Check
Distinct capacity with an exclusive 32 MB L3 and 8 private 1 MB L2s?
Check
Average NUCA latency on a 5 × 5 mesh, 10-cycle slices, 4 cycles per hop?
Check
Miss rate of a program missing 0.03 alone, sharing equally among 3?
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