lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131203234919.GA27943@order.stressinduktion.org>
Date:	Wed, 4 Dec 2013 00:49:20 +0100
From:	Hannes Frederic Sowa <hannes@...essinduktion.org>
To:	Or Gerlitz <or.gerlitz@...il.com>
Cc:	Eric Dumazet <eric.dumazet@...il.com>,
	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 Wed, Dec 04, 2013 at 01:30:09AM +0200, Or Gerlitz wrote:
> On Wed, Dec 4, 2013 at 1:10 AM, Or Gerlitz <or.gerlitz@...il.com> wrote:
> > 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
> 
> I added proper sorting (thanks Rick), here's the passive side report

Btw. the nice helper for the dropwatch is "perf script net_dropmonitor".

Greetings,

  Hannes


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

Powered by Openwall GNU/*/Linux Powered by OpenVZ