Home | History | Annotate | Download | only in vendor

Lines Matching refs:contention

38  *     contention and cache sloshing.
162 * MALLOC_BALANCE enables monitoring of arena lock contention and dynamically
163 * re-balances arena load if exponentially averaged contention exceeds a
574 * We use an exponential moving average to track recent lock contention,
584 * Threshold value for the exponential moving contention average at which to
697 /* Number of times this arena reassigned a thread due to contention. */
994 * lock contention there is. This value is exponentially averaged.
996 uint32_t contention;
3948 unsigned contention;
3950 contention = malloc_spin_lock(&arena->lock);
3953 * Calculate the exponentially averaged contention for this
3957 arena->contention = (((uint64_t)arena->contention
3959 + (uint64_t)contention) >> BALANCE_ALPHA_INV_2POW;
3960 if (arena->contention >= opt_balance_threshold)
3970 arena->contention = 0;
4804 arena->contention = 0;