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 Jul 2009 14:56:07 +0200 (CEST)
From:	Jesper Dangaard Brouer <hawk@...u.dk>
To:	jon_zhou@...lent.com
Cc:	netdev@...r.kernel.org
Subject: Re: the maximal speed of pktgen with 1Gbps NIC


On Wed, 22 Jul 2009, jon_zhou@...lent.com wrote:

> anyone knows the maximal speed of pktgen with 1Gbps NIC?

You are limited by the number of packets per second (pps) your machine can 
generate.  This limitation is given by the CPU speed and the NIC used.

The maximum pps I have seen with pktgen at 1Gbit/s is 1200 kpps.

1Gbit/s wire speed pps with 64 bytes packets is approx 1953 kpps.
(1000*10^6/(64*8) = 1953125)

> on my pc, the maximal  speed is 500 Mbps when the packet size is 100 bytes(with boardcom 5755)

cat /proc/net/pktgen/ethXX to see how many pps pktgen is generating.

Quick calc tells me you a doing 625 kpps (500*10^6/(100*8) = 625000).


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