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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 27 Sep 2014 23:59:24 +0300 From: Or Gerlitz <gerlitz.or@...il.com> To: Alexei Starovoitov <ast@...mgrid.com>, Eric Dumazet <edumazet@...gle.com> Cc: "David S. Miller" <davem@...emloft.net>, Jesper Dangaard Brouer <brouer@...hat.com>, John Fastabend <john.r.fastabend@...el.com>, Linux Netdev List <netdev@...r.kernel.org> Subject: Re: [RFC PATCH net-next] net: pktgen: packet bursting via skb->xmit_more On Fri, Sep 26, 2014 at 3:46 AM, Alexei Starovoitov <ast@...mgrid.com> wrote: > This patch demonstrates the effect of delaying update of HW tailptr. > (based on earlier patch by Jesper) > > burst=1 is a 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 Guys, just to be sure, this pktgen config uses only one TX ring, right? > Performance with ixgbe: > > usec 30: > burst=1 tx:9.2 Mpps > burst=2 tx:13.6 Mpps > burst=3 tx:14.5 Mpps full 10G line rate > > usec 1 (default): > burst=1,4,100 tx:3.9 Mpps > > usec 0: > burst=1 tx:4.9 Mpps > burst=2 tx:6.6 Mpps > burst=3 tx:7.9 Mpps > burst=4 tx:8.7 Mpps > burst=8 tx:10.3 Mpps > burst=128 tx:12.4 Mpps > > Cc: Jesper Dangaard Brouer <brouer@...hat.com> > Signed-off-by: Alexei Starovoitov <ast@...mgrid.com> > --- > > tx queue size, irq affinity left in default. > pause frames are off. > > Nice to finally see line rate generated by one cpu > > Comparing to Jesper patch this one amortizes the cost > of spin_lock and atomic_inc by doing HARD_TX_LOCK and > atomic_add(N) once across N packets. -- 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