Hello, The 3.11 release of the Linux kernel added a new feature for low latency network polling. Using the SO_BUSY_POLL socket option, an application can enable busy polling. This instructs the kernel to poll the network device driver directly for a period of time when the application does a read or poll on the socket before new packets have been recieved. For HAproxy deployments sensitive to latency or jitter, supporting busy polling could provide a mechanism to trade higher CPU load for reduced latency and jitter.
I'm intersted in adding a feature to HAproxy for setting SO_BUSY_POLL on a listener socket. I was thinking the socket option could be enabled by setting a "busy_poll" keyword in the listen section. Is there any interest in accepting patches for such a feature? Cheers, -Ben