logoalt Hacker News

murderfs • today at 9:29 AM • 3 replies • view on HN

It's probably not "a tiny bit slower", but something like doing an instruction that locks up the sibling thread for 200 billion cycles like in https://github.com/xoreaxeaxeax/asm-hall-of-shame.

Doesn't matter for single-user machines, but cloud providers might care a bit.


Replies

nraynaud • today at 9:53 AM

I wonder if that would leak crypto keys from one thread to the other.

mgaunard • today at 10:14 AM

Most of these are just slow and contended I/O.

Disappointing.

jart • today at 12:37 PM

You got an assembly instruction to take a whole minute. Wow.