The select()
, pselect()
file descriptor set can consist of both accelerated and non-accelerated file descriptors. The environment variable EF_UL_SELECT enables/disables acceleration of the select()
, pselect()
function calls. Onload supports the following options for the EF_UL_SELECT variable:
Value | Epoll Behavior |
---|---|
0 |
Disable acceleration at user-level. Calls to Spinning cannot be enabled. |
1 |
Enable acceleration at user-level. Calls to Spinning can be enabled and interrupts are avoided until an application blocks. |
Additional environment variables can be employed to control the select()
, pselect()
functions and to give priority to accelerated sockets over non-accelerated sockets and
other file descriptors. Refer to EF_SELECT_FAST and EF_SELECT_SPIN.