EF_POLL_ON_DEMAND

Onload User Guide (UG1586)

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

Poll for network events in the context of the application calls into the network stack. This option is enabled by default.

This option can improve performance in multi-threaded applications where the Onload stack is interrupt-driven (EF_INT_DRIVEN=1), because it can reduce lock contention. Setting EF_POLL_ON_DEMAND=0 ensures that network events are (mostly) processed in response to interrupts.