[Bug nptl/33704] trylock throughput reduces significantly under high concurency load.
skpgkp2 at gmail dot com
sourceware-bugzilla@sourceware.org
Wed Dec 10 02:10:19 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33704
Sunil Pandey <skpgkp2 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16508|0 |1
is obsolete| |
--- Comment #7 from Sunil Pandey <skpgkp2 at gmail dot com> ---
Created attachment 16511
--> https://sourceware.org/bugzilla/attachment.cgi?id=16511&action=edit
pthread_mutex_trylock_patch
We are interested about pthread_mutex_trylock case PTHREAD_MUTEX_TIMED_NP.
Attached patch improves throughput across board on x86. Following are skylake
server data.
Core count: 80
tcount baseline pthread_mutex_trylock speedup
80 232112 3119301 13.44x
64 247737 937424 3.78x
32 441441 888738 2.01x
16 863201 1529987 1.77x
8 1587950 2775892 1.75x
4 3208012 6487683 2.02x
2 7729917 11811184 1.53x
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list