Thread (29 messages) 29 messages, 5 authors, 2017-03-24

Re: [net-next PATCH v2 0/8] Add busy poll support for epoll

From: Eric Dumazet <hidden>
Date: 2017-03-23 22:49:22
Also in: lkml, netdev

On Thu, Mar 23, 2017 at 3:38 PM, Alexander Duyck
[off-list ref] wrote:
On Thu, Mar 23, 2017 at 3:07 PM, Alexei Starovoitov
quoted
it all sounds awesome, but i cannot quite visualize the impact.
Can you post some sample code/minibenchmark and numbers before/after?

Thanks!
Anything specific you are looking for?  I can probably work with our
team internally to setup the benchmark in the next day or so.

I've been doing most of my benchmarking at my desk with sockperf with
just one thread and multiple sockets and seeing some modest savings
with my round trip times dropping from something like 18 microseconds
on average to 8 microseconds for ping-pong tests.
Same reduction for me, on 1000/1000 bytes RPC.

26 usec -> 16 usec  per transaction

(If you use sockperf, beware that it displays half round trips)

Also note that the gains also depends on how the interrupt mitigation
parameters are set.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help