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] [day] [month] [year] [list]
Message-ID: <1293040271.3027.284.camel@edumazet-laptop>
Date:	Wed, 22 Dec 2010 18:51:11 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Jon Zhou <Jon.Zhou@...u.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

Le mercredi 22 décembre 2010 à 09:40 -0800, Jon Zhou a écrit :
> 
> -----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)
> 
> 

Please quote messages normally

You mix several things, please read :

http://www.spinics.net/lists/netdev/msg71164.html



--
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