[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZOPZ+bkvg4G6qzY6YmMui9-KmGmpHyFCJUD2xsFLOXm12rgA@mail.gmail.com>
Date: Wed, 4 Dec 2013 01:10:35 +0200
From: Or Gerlitz <or.gerlitz@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Joseph Gasparakis <joseph.gasparakis@...el.com>,
Jerry Chu <hkchu@...gle.com>,
Or Gerlitz <ogerlitz@...lanox.com>,
Eric Dumazet <edumazet@...gle.com>,
Alexei Starovoitov <ast@...mgrid.com>,
Pravin B Shelar <pshelar@...ira.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: vxlan/veth performance issues on net.git + latest kernels
On Tue, Dec 3, 2013 at 11:55 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Tue, 2013-12-03 at 16:50 -0500, David Miller wrote:
>
>> At this point I would use drop monitor to figure out in what context
>> packets are being dropped on the floor. There are scripts provided
>> with the perf tool to utilize it.
>
> Most easy way is to do :
>
> perf record -e skb:kfree_skb -a -g sleep 10
> perf report
$ ./perf record -e skb:kfree_skb -g -a sleep 10
$ ./perf report -i perf.data
Samples: 883K of event 'skb:kfree_skb', Event count (approx.): 883406
+ 97.13% swapper [kernel.kallsyms] [k] net_tx_action
+ 1.53% iperf [kernel.kallsyms] [k] net_tx_action
+ 1.03% perf [kernel.kallsyms] [k] net_tx_action
+ 0.27% ksoftirqd/7 [kernel.kallsyms] [k] net_tx_action
+ 0.03% kworker/7:1 [kernel.kallsyms] [k] net_tx_action
+ 0.00% rpcbind [kernel.kallsyms] [k] net_tx_action
+ 0.00% swapper [kernel.kallsyms] [k] kfree_skb
+ 0.00% sleep [kernel.kallsyms] [k] net_tx_action
+ 0.00% hald-addon-acpi [kernel.kallsyms] [k] kfree_skb
+ 0.00% iperf [kernel.kallsyms] [k] kfree_skb
+ 0.00% perf [kernel.kallsyms] [k] kfree_skb
>
>
>
--
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