Subject: Re: [PATCH v2 net-next] net: pktgen: packet bursting via skb->xmit_more

From: Jesper Dangaard Brouer <[email-masked]>
Date: Thu, 2 Oct 2014 12:44:36 +0200

On Wed, 01 Oct 2014 22:08:39 -0400 (EDT)
David Miller <[email-masked]> wrote:

> From: Alexei Starovoitov <[email-masked]>
> Date: Tue, 30 Sep 2014 17:53:21 -0700
> 
> > This patch demonstrates the effect of delaying update of HW tailptr.
> > (based on earlier patch by Jesper)
> > 
> > burst=1 is the default. It sends one packet with xmit_more=false
> > burst=2 sends one packet with xmit_more=true and
> >         2nd copy of the same packet with xmit_more=false
> > burst=3 sends two copies of the same packet with xmit_more=true and
> >         3rd copy with xmit_more=false
> > 
> > Performance with ixgbe (usec 30):
> > burst=1  tx:9.2 Mpps
> > burst=2  tx:13.5 Mpps
> > burst=3  tx:14.5 Mpps full 10G line rate
> > 
> > Signed-off-by: Alexei Starovoitov <[email-masked]>
> 
> Applied, great work.

Updated my pktgen script "pktgen02_burst.sh" for supporting this new
"burst" option:
 https://github.com/netoptimizer/network-testing/commit/cb625712f8efb
 https://github.com/netoptimizer/network-testing/blob/master/pktgen/pktgen02_burst.sh

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Sr. Network Kernel Developer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer