mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-19 08:51:22 +03:00
Mutex: Tweak internal spin count.
The recent pairing heap optimizations flattened the lock hold time profile. This was a win for raw cycle counts, but ended up causing us to "just miss" acquiring the mutex before sleeping more often. Bump those counts.
This commit is contained in:
parent
6f41ba55ee
commit
27f71242b7
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
* Based on benchmark results, a fixed spin with this amount of retries works
|
||||
* well for our critical sections.
|
||||
*/
|
||||
int64_t opt_mutex_max_spin = 250;
|
||||
int64_t opt_mutex_max_spin = 600;
|
||||
|
||||
/******************************************************************************/
|
||||
/* Data. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue