EF_EPOLL_MT_SAFE

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
ul_epoll_mt_safe
Default
0
Minimum
0
Maximum
1
Scope
per-process

This option disables concurrency control inside the accelerated epoll implementations, reducing CPU overhead. It is safe to enable this option if, for each epoll set, all calls on the epoll set and all calls that can modify a member of the epoll set are concurrency safe. Calls that can modify a member are bind(), connect(), listen() and close().

This option improves performance with EF_UL_EPOLL=1 or 3 and also with EF_UL_EPOLL=2 and EF_EPOLL_CTL_FAST=1.