EF_SOCK_LOCK_BUZZ

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
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.