Re: RE: [PATCH] MEDIUM: enable low latency polling on systems which support it

2014-08-29 Thread Ben Burkert
Hi Remi, > According to this Intel doc [1], it requires an Intel X520 or X540, with > the ixgbe driver. A quick search for CONFIG_NET_RX_BUSY_POLL suggests that benet, bnx2x, ixgbe, mlx4, myri10ge support busy polling in the latest kernel (with enic, sfc, and virtio coming soon). ixgbevf is also

Re: [PATCH] MEDIUM: enable low latency polling on systems which support it

2014-08-29 Thread Ben Burkert
Hello Lukas, Thanks for the feedback! > We need someone to be able to test this, are you aware what nics currently > support busy polling? What about loopback? A loopback device would not work because busy polling requires a NAPI driver. > This seems to set busy polling unconditionally to 1 mic

[PATCH] MEDIUM: enable low latency polling on systems which support it

2014-08-28 Thread Ben Burkert
Hi all, I've started a patch to enable busy poll support for listener sockets. It can be enabled by adding "busy-poll" in the bind line. For systems that don't define SO_BUSY_POLL, building with the USE flag USE_BPS is required. I built & tested this on a ubuntu trusty machine (3.13.0 kernel) and

Re: Busy Poll Support

2014-08-28 Thread Ben Burkert
OK, thanks for the pointers Willy. On Thu, Aug 28, 2014 at 3:13 AM, Willy Tarreau wrote: > Hi Ben, > > On Wed, Aug 27, 2014 at 06:03:54PM -0700, Ben Burkert wrote: >> Hello, >> >> The 3.11 release of the Linux kernel added a new feature for low >> latency networ

Busy Poll Support

2014-08-27 Thread Ben Burkert
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