Repository navigation
Allow to configure socket option SO_BUSY_POLL - #8268
Conversation
|
@merlimat this looks good... After reading https://blog.cloudflare.com/how-to-achieve-low-latency/ I wonder why SO_BUSY_POLL would be preferred from just busy poll via user-space. Any pointers ? |
|
I think the difference is that while on loopback, for example it's not supported: My understanding is that it should move the packets from NIC to TCP stack with less delay.
|
|
@merlimat thanks... merged it. |
Motivation:
When using Epoll based transport, allow applications to configure
SO_BUSY_POLLsocket option:Modification:
SO_BUSY_POLLsocket optionResult: