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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 27 Sep 2014 23:55:52 +0300
From:	Or Gerlitz <>
To:	Eric Dumazet <>
Cc:	Alexei Starovoitov <>,
	"David S. Miller" <>,
	Jesper Dangaard Brouer <>,
	Eric Dumazet <>,
	John Fastabend <>,
	Linux Netdev List <>,
	Amir Vadai <>,
	Or Gerlitz <>
Subject: Re: [RFC PATCH net-next] net: pktgen: packet bursting via skb->xmit_more

On Sat, Sep 27, 2014 at 11:43 PM, Eric Dumazet <> wrote:
> On Fri, 2014-09-26 at 00:42 -0700, Eric Dumazet wrote:
>> By the way with this patch, I now reach 10 Mpps on mlx4
>> base line : 5 Mpps
>> + skb->xmit_more and quick hack in pjtgen (spinlock/unlock per packet)
>> -> 7 Mpps
>> + burst of 16 packets, no spinlock per packet -> 10 Mpps
> With careful study of mlx4 driver to remove false sharing, I now get 14
> Mpps.
> (Note they have a special feature to 'inline' small packets in tx
> descriptors : If this is used, max rate is lower, because cpu spend more
> cycles to perform the copies)
> I find worrying driver authors do not know how to properly use a ring
> buffer, and do not place the producer and consumer indexes in separate
> cache lines.

mmm, so the numberz sound good, the comment sounds as the basics are
still not fully behind us (so we have where to improve)... any mlx4
patch you want to share?
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists