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: <Pine.LNX.4.64.0911231500060.24347@ask.diku.dk>
Date:	Mon, 23 Nov 2009 15:10:24 +0100 (CET)
From:	Jesper Dangaard Brouer <hawk@...u.dk>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>,
	Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: ixgbe question


On Mon, 23 Nov 2009, Eric Dumazet wrote:

> I tried a pktgen stress on 82599EB card and could not split RX load on multiple cpus.
>
> Setup is :
>
> One 82599 card with fiber0 looped to fiber1, 10Gb link mode.
> machine is a HPDL380 G6 with dual quadcore E5530 @2.4GHz (16 logical cpus)
>
> I use one pktgen thread sending to fiber0 one many dst IP, and checked that fiber1
> was using many RX queues :

How is your smp_affinity mask's set?

grep . /proc/irq/*/fiber1-*/../smp_affinity


> But only one CPU (CPU1) had a softirq running, 100%, and many frames were dropped

Just a hint, I use 'ethtool -S fiber1' to see how the packets gets 
distributed across the rx and tx queues.



> CLONE_SKB="clone_skb 15"

Be careful with to high clone, as my experience is it will send a burst of 
clone_skb packets before the packet gets randomized again.


> pgset "dst_min 192.168.0.2"
> pgset "dst_max 192.168.0.250"
> pgset "src_min 192.168.0.1"
> pgset "src_max 192.168.0.1"
> pgset "dst_mac  00:1b:21:4a:fe:55"

To get a packets randomized across RX queues, I used:

     echo "- Random UDP source port min:$min - max:$max"
     pgset "flag UDPSRC_RND"
     pgset "udp_src_min $min"
     pgset "udp_src_max $max"

Ahh.. I think you are missing:

  pgset "flag IPDST_RND"


Cheers,
   Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
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