News for hackers. Stuff that matters.

Eit4Choh

This observation isn't about lensing
Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] on Friday July 27, 2018 @06:46AM (#17624968)
> overly complex

Speculative execution is what makes our sequential code fast by exploiting parallel execution pipelines that would otherwise sit idle.

Avoiding this would increase complexity somewhere else, e.g. compilers would have to become even more clever or programmers would have to work harder to reduce the branches in their code. Sprinkling code with annotations to prevent speculative execution around sensitive data is of course just another way complexity does go up to let us keep the performance gains of speculation.

Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] on Friday July 27, 2018 @06:42AM (#17624946)
> This is also really good because the bandwidth is really low.

Until someone improves on this work.

Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] on Friday July 27, 2018 @06:38AM (#17624934)
Maybe just don't speculate across power domains? I.e. if a speculative execution would require bringing up the AVX2 unit that might be a bad idea anyway because it slows down everything else even if the branch is mispredicted.

Or at least execute it on the slow path if the unit is not up (lower execution width) without triggering the ramp-up as long as it is speculative. Only ramp-up when the instruction is committed.