On 06/08/2015 11:46 PM, Daniel Borkmann wrote:
On 06/06/2015 01:05 AM, Perf Tech wrote:
I have a PC with  3 NICs (eth0 is Intel 82579LM NIC, eth1 is 82574L), OS is
ubuntu 12.04 server.
I connected eth0 and eth1 with a ethernet cable and both ports are up.

Trying to find out how fast trafgen(0.5.9-rc4) can send packets on this
system.

# ./trafgen --dev eth0 --conf tmp2.txt  --cpp
      4 packets to schedule
    292 bytes in total
Running! Hang up with ^C!


I am monitoring "ifconfig eth0" with a monitoring program that I have used

There's a tool in the netsniff-ng repo called ifpps, you might also want to
check that out.

many years, the issue is,  trafgen is only sending
pcap at a rate 129000 packets/sec with data rate of 79Mbps.   I had
expected it to be a long higher.

What kernel and NIC driver do you use? Did you do any particular tuning
settings?

E.g. a starting point could be:

http://netoptimizer.blogspot.ch/2014/09/network-setup-for-accurate-nanosec.html

Also, if your config uses checksumming, it's done in trafgen in software,
so if you want to test a simple minimal config, you could use a static buffer
as a start.


Did I run the command wrong?

Thanks



--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to