[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEP_g=-LONa8uayCHYJ-Yve6PvxHJo7otWaZ80oYWeDC1Mjqmg@mail.gmail.com>
Date: Tue, 3 Dec 2013 21:45:02 -0800
From: Jesse Gross <jesse@...ira.com>
To: Thomas Graf <tgraf@...g.ch>
Cc: David Miller <davem@...emloft.net>,
"dev@...nvswitch.org" <dev@...nvswitch.org>,
netdev <netdev@...r.kernel.org>,
Daniel Borkmann <dborkman@...hat.com>, ffusco@...hat.com,
fleitner@...hat.com, Eric Dumazet <eric.dumazet@...il.com>,
Ben Hutchings <bhutchings@...arflare.com>
Subject: Re: [net-next 3/7] openvswitch: Enable memory mapped Netlink i/o
On Sat, Nov 30, 2013 at 4:21 AM, Thomas Graf <tgraf@...g.ch> wrote:
> Use memory mapped Netlink i/o for all unicast openvswitch
> communication if a ring has been set up.
>
> Benchmark
> * pktgen -> ovs internal port
> * 5M pkts, 5M flows
> * 4 threads, 8 cores
>
> Before:
> Result: OK: 67418743(c67108212+d310530) usec, 5000000 (9000byte,0frags)
> 74163pps 5339Mb/sec (5339736000bps) errors: 0
> + 2.98% ovs-vswitchd [k] copy_user_generic_string
> + 2.49% ovs-vswitchd [k] memcpy
> + 1.84% kpktgend_2 [k] memcpy
> + 1.81% kpktgend_1 [k] memcpy
> + 1.81% kpktgend_3 [k] memcpy
> + 1.78% kpktgend_0 [k] memcpy
>
> After:
> Result: OK: 24229690(c24127165+d102524) usec, 5000000 (9000byte,0frags)
> 206358pps 14857Mb/sec (14857776000bps) errors: 0
> + 2.80% ovs-vswitchd [k] memcpy
> + 1.31% kpktgend_2 [k] memcpy
> + 1.23% kpktgend_0 [k] memcpy
> + 1.09% kpktgend_1 [k] memcpy
> + 1.04% kpktgend_3 [k] memcpy
> + 0.96% ovs-vswitchd [k] copy_user_generic_string
>
> Signed-off-by: Thomas Graf <tgraf@...g.ch>
> Reviewed-by: Daniel Borkmann <dborkman@...hat.com>
First three patches applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists