[RFC] Dynamic lock elision support
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Tue Aug 18 16:10:00 GMT 2015
Elided locks can have mixed overall performance in practice. That is, there is some non-trivial tuning a user might have to do to see the positive benefits. Additionally, when tuning the adaptive lock constants on PPC, my experimentation seems to correlate tuned values with both the number of hardware threads per core, and the behavior of the application.
My initial thought is elision should be disabled by default, with an environment variable to toggle both support, and potentially override tuning constants.
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc_dynamic_elide.patch
Type: text/x-patch
Size: 1657 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150818/5662443a/attachment.bin>
More information about the Libc-alpha
mailing list