Controlling access to the memory cache
Controlling access to the memory cache
Posted Jul 21, 2016 6:09 UTC (Thu) by roc (subscriber, #30627)Parent article: Controlling access to the memory cache
It would be nice to also be able to flush specific slices on a context switch to insulate different low-trust tasks from each other.
Posted Jul 26, 2016 13:29 UTC (Tue)
by JanC_ (guest, #34940)
[Link] (1 responses)
Posted Jul 26, 2016 15:15 UTC (Tue)
by excors (subscriber, #95769)
[Link]
Incidentally, rather than relying on JS, I wonder if you could do these L3 cache attacks using WebGL, given that Intel GPUs share the CPU's L3/LLC? I think it might be relatively straightforward if they supported GLES 3.1 functionality - write a compute shader that runs N threads each looping over 1/N of a cache-sized buffer (with large N to maximise bandwidth utilisation and improve the attack's temporal resolution), and measure the latency of each access by reading a global counter that's atomically incremented in a tight loop by another thread. Not sure if it's possible to do something equivalent with GLES 2.0/3.0 features though, since I can't see how to measure latency in them.
Controlling access to the memory cache
Controlling access to the memory cache
