On (23/04/17 11:32), Yosry Ahmed wrote: > > /proc/lock-stat after make -j$((`nproc`+1)) linux kernel for > > &pool->lock#3: > > > > Base Patched > > ------------------------------------------ > > con-bounces 2035730 1540066 > > contentions 2343871 1774348 > > waittime-min 0.10 0.10 > > waittime-max 4004216.24 2745.22 > > waittime-total 101334168.29 67865414.91 > > waittime-avg 43.23 38.25 > > acq-bounces 2895765 2186745 > > acquisitions 6247686 5136943 > > holdtime-min 0.07 0.07 > > holdtime-max 2605507.97 482439.16 > > holdtime-total 9998599.59 5107151.01 > > holdtime-avg 1.60 0.99 > > The numbers seem to be better when using an atomic vs. a mutex, is > this just noise or significant difference? (I am not familiar with > lock-stat). Pretty sure that's just noise. The test is make -j72 on a system that swaps out, so it's terribly noisy.