S4 Computer architecture · Practice
Hardware security and side channels
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
A covert channel sends one symbol every 500 cycles at 3 GHz, and 0.2 of symbols are misread.
(a)
What is its raw symbol rate?
(b)
How much information does each symbol carry?
(c)
What information rate can it reach with ideal coding?
Check
A Spectre round costs 5000 cycles of setup and probes 256 lines at 200 cycles each, on a 4 GHz core.
(a)
How long does each byte take?
(b)
How fast does it leak?
Check
DRAM rows cycle in 45 ns, the refresh window is 32 ms, and a vulnerable row flips after 50000 activations of a neighbor.
(a)
How many activations fit in one refresh window?
(b)
How long does it take to reach the flipping threshold?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A mitigation costs 30 ns each time it triggers, 100000 times a second.
(a)
What fraction of a core does it take?
Check
Bits per symbol at a 0.1 error rate?
Check
Activations per 64 ms window at 40 ns per row cycle?
Check
Core fraction for 200000 events a second at 100 ns each?
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