4 ms·
> I've seen code that makes assumptions about how much real time must have passed based on PAUSE loops. Note: here, the PAUSE instruction is not the problem at
by acqq 6y ago
> I've seen code that makes assumptions about how much real time must have passed based on PAUSE loops.
Note: here, the PAUSE instruction is not the problem at all, but the "code that makes assumptions."
Because the "seen" code is not named, I assume it's something internal for some company?
- jeffbee 6y agoYes, private code. Basically there was some mutex fairness thing that was written on a SKX and on a Zen CPU where PAUSE is 50x faster it didn't have good fairness, it was too tight.