Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 1997 23:35:01 +0100 (BST)
From:      Jim Dixon <jdd@vbc.net>
To:        Tom Samplonius <tom@sdf.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Throughput on kernel routing rules?
Message-ID:  <Pine.BSI.3.91.970816232335.21948O-100000@avon-gw.uk1.vbc.net>
In-Reply-To: <Pine.BSF.3.95q.970816145503.22096D-100000@misery.sdf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Aug 1997, Tom Samplonius wrote:

> > > > > Anyone ever done any tests to see how many packets per second FreeBSD
> > > > > can route?
> > > > 
> > > > We have seen something like 10-15Kpps.  There is a group at MIT working 
> > > 
> > >   On what kind of CPU?  Since I guess such things are CPU bound...
> > 
> > P133.  It's I/O bound at these speeds.
> 
>   Depending on the number and speed of the interfaces, and the average
> packet size.

I am reporting observations.  I am not theorizing.  The CPU was nowhere
near being saturated.
 
>   It is easy to get 10Kpps per second on a single full-duplex 10BT
> interface.

The machine I was talking about has three 100 Mbps ethernet interfaces.
The fastest I have seen it running is a something more than 60 Mbps across 
all three interfaces.  Let's say that's 8 MB/s; at packet sizes of 250 B
that's 32 Kpps in and out, so it was running in the region of 16 Kpps
forwarded.

We were a little busy at the time and I wasn't that interested in pps
rates; what I noted down was the bytes through the interface, converted
to bps.

>   It would be best to test with minimum sized packets, to figure out how
> many pps FreeBSD can really handle.

This was real traffic.  MIT -- the reference you clipped out -- has done
a lot of testing.  They are running a heavily modified version of FreeBSD
and report much higher pps rates; they think that they can do 500 Kpps
through the kernel.

--
Jim Dixon                  VBCnet GB Ltd           http://www.vbc.net
tel +44 117 929 1316                             fax +44 117 927 2015




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.970816232335.21948O-100000>