[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090722102520.27a024ed@nehalam>
Date: Wed, 22 Jul 2009 10:25:20 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: Jesper Dangaard Brouer <hawk@...u.dk>, jon_zhou@...lent.com,
netdev@...r.kernel.org
Subject: Re: the maximal speed of pktgen with 1Gbps NIC
On Wed, 22 Jul 2009 17:12:32 +0200
Ben Hutchings <bhutchings@...arflare.com> wrote:
> On Wed, 2009-07-22 at 14:56 +0200, Jesper Dangaard Brouer wrote:
> > 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)
> [...]
>
> You need to take the inter-packet gap into consideration too.
>
> Ben.
Speed Packets/sec TCP MByte/sec
10 M 14880.95 1,170,351
100 M 148809.52 11,703,511
1 G 1488095.24 123,755,256
10 G 14880952.38 1,237,552,556
40 G 59523809.52 4,950,210,224
100 G 148809523.81 12,375,525,559
* TCP assumes timestamp option and jumbo frames if possible.
http://www.erg.abdn.ac.uk/users/gorry/course/lan-pages/enet-calc.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