public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/28022] New: Add tunnable of step for PTHREAD_MUTEX_ADAPTIVE
@ 2021-06-29 1:49 wangxuszcn at foxmail dot com
0 siblings, 0 replies; only message in thread
From: wangxuszcn at foxmail dot com @ 2021-06-29 1:49 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28022
Bug ID: 28022
Summary: Add tunnable of step for PTHREAD_MUTEX_ADAPTIVE
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: nptl
Assignee: unassigned at sourceware dot org
Reporter: wangxuszcn at foxmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Created attachment 13515
--> https://sourceware.org/bugzilla/attachment.cgi?id=13515&action=edit
Add tunnable of step for PTHREAD_MUTEX_ADAPTIVE
PTHREAD_MUTEX_ADAPTIVE is often used for performance optimization.
But the default step usually takes a long time(about 50min in my test
situation)
to adapt to the expected effect.
Add glibc.pthread.mutex_spin_step for dynamic adjustment adaptive step:
export GLIBC_TUNABLES=glibc.pthread.mutex_spin_step=N
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-29 1:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 1:49 [Bug nptl/28022] New: Add tunnable of step for PTHREAD_MUTEX_ADAPTIVE wangxuszcn at foxmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).