On Tue, 13 Feb 2018 22:04:48 +0100 Pavel Machek <pa...@ucw.cz> wrote:
> On Thu 2018-02-08 20:52:40, Alan Cox wrote: > > > > Also worth nothing that the difference between the cpu and memory > > > > speeds is much lower - so far fewer instructions could be speculatively > > > > executed while waiting a cache miss. > > > > But they also have more instructions that take a lot of clocks and are > > easier to stall - eg by doing things like opening and mmapping > > a framebuffer and then doing a floating point double store to it > > misaligned. > > > > Meltdown we can at least reasonably test but spectre is hard. > > Do you have pointer for simple meltdown test? It's CPU dependent but for the older processors you probably want one of the small ones as you've got much less cache and speculation to play with. And then you also need the test data to be in L1 D cache Alan