- Name
-
sock_lock_buzz
- Default
-
0
- Minimum
-
0
- Maximum
-
1
- Scope
- per-process
Spin while waiting to obtain a per-socket lock. If the spin timeout expires, enter the kernel and block. The spin timeout is set by EF_BUZZ_USEC.
The per-socket lock is taken in recv()
calls and similar. This option can reduce jitter when multiple threads invoke recv()
on the same socket, but can reduce fairness between threads competing for the lock.