Subject: Re: No SO_BUSY_POLL for UDP?

From: Lukas Erlacher <[email-masked]>
Date: Wed, 18 Mar 2015 00:51:40 +0100

On 03/18/2015 12:20 AM, Eric Dumazet wrote:
> 
> busypoll should be available on _connected_ UDP sockets. Otherwise, we
> would have to look all RX queues of the NIC, not a single one.
> 
> Try netperf  -t UDP_RR -- -N -n
> 
>     -n                Use the connected socket for UDP locally
>     -N                Use the connected socket for UDP remotely
> 
> (Although I believe netserver->netperf is ignoring the -N option, that
> is a netperf bug)
> 
> check with ss -a|grep udp
> 

Thank you very much, I was missing that bit of info. With connected
sockets, busy polling works perfectly.

Best,
Lukas Erlacher