Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1608000

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

From Eric Dumazet <edumazet@google.com>
Newsgroups linux.kernel
Subject Re: [net-next PATCH v2 0/8] Add busy poll support for epoll
Date 2017-03-23 23:50 +0100
Message-ID <tojIl-wf-3@gated-at.bofh.it> (permalink)
References <toiCB-8g8-3@gated-at.bofh.it> <toj5D-ic-5@gated-at.bofh.it> <tojyG-sG-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 23, 2017 at 3:38 PM, Alexander Duyck
<alexander.duyck@gmail.com> wrote:
> On Thu, Mar 23, 2017 at 3:07 PM, Alexei Starovoitov

>> 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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[net-next PATCH v2 0/8] Add busy poll support for epoll Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-23 22:40 +0100
  Re: [net-next PATCH v2 0/8] Add busy poll support for epoll Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2017-03-23 23:10 +0100
    Re: [net-next PATCH v2 0/8] Add busy poll support for epoll Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-23 23:40 +0100
      Re: [net-next PATCH v2 0/8] Add busy poll support for epoll Eric Dumazet <edumazet@google.com> - 2017-03-23 23:50 +0100

csiph-web