[PATCH] randomized delay in locking primitives, take 2

Adrian Chadd adrian.chadd at gmail.com
Sun Jul 31 14:03:10 UTC 2016


Hi,

Did you test on any 1, 2, 4, 8 cpu machines? just to see if there are
any performance degredations on lower count CPUs?

Also, yeah, the MOD operator in each loop could get spendy on older
CPUs (eg my MIPS CPUs, older ARM stuff, etc.) Is it possible to
achieve much the same autotuning with pow2 operations instead of
divide/mod?


-a


More information about the freebsd-current mailing list