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]
Date:	Wed, 22 Dec 2010 09:40:19 -0800
From:	Jon Zhou <Jon.Zhou@...u.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
CC:	"juice@...gman.org" <juice@...gman.org>,
	Stephen Hemminger <shemminger@...tta.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: Using ethernet device as efficient small packet generator



-----Original Message-----
From: Eric Dumazet [mailto:eric.dumazet@...il.com] 
Sent: Thursday, December 23, 2010 1:18 AM
To: Jon Zhou
Cc: juice@...gman.org; Stephen Hemminger; netdev@...r.kernel.org
Subject: RE: Using ethernet device as efficient small packet generator


> PGDEV=/proc/net/pktgen/eth4

You meant :  PGDEV=/proc/net/pktgen/kpktgend_0   ???


With "PGDEV=/proc/net/pktgen/kpktgend_0", I can't pgset "queue_map_min 0"
Only able to pgset "queue_map_min 0" with "PGDEV=/proc/net/pktgen/eth4"

>   echo "Configuring $PGDEV"
>  pgset "$COUNT"
>  pgset "$CLONE_SKB"
>  pgset "$PKT_SIZE"
>  pgset "$DELAY"
>  pgset "dst 10.10.11.2" 
>  pgset "queue_map_min 0"
>  pgset "queue_map_max 7"
>  pgset "dst_mac  00:04:23:08:91:dc"
> 
> ->it is ok
> 
> 
> Here is the top result, why only kpktgend_0 is running?
> Eric,can you share the pktgen script? Thank you

If you want to control several kpktgend you need to send each one of
them a full pktgen script.

PGDEV=/proc/net/pktgen/kpktgend_0
script0
PGDEV=/proc/net/pktgen/kpktgend_1
script1
PGDEV=/proc/net/pktgen/kpktgend_2
script2
PGDEV=/proc/net/pktgen/kpktgend_3
script3

but these kpktgend can not share the same device?
i.e.
I can't add the device again?

PGDEV=/proc/net/pktgen/kpktgend_1
 #echo "Removing all devices"
 #pgset "rem_device_all" 
 #echo "Adding eth4"
 pgset "add_device eth4"   
 pgset "queue_map_min 1"
 pgset "queue_map_max 1"

as I saw when pps reach 1M, throughput reach 900Mbps,the kpktgend_0 also reach 100% cpu (with intel 10G X520 nic,ixgbe)


Powered by blists - more mailing lists