netdev
[Top] [All Lists]

RE: how to tune a pair of e1000 cards on intel e7501-based system?

To: "Ray Lehtiniemi" <rayl@xxxxxxxx>, "Scott Feldman" <sfeldma@xxxxxxxxx>
Subject: RE: how to tune a pair of e1000 cards on intel e7501-based system?
From: "Brandeburg, Jesse" <jesse.brandeburg@xxxxxxxxx>
Date: Tue, 7 Dec 2004 17:10:26 -0800
Cc: <netdev@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcTb6WG4udppu+VYRkClljDSThg2tgA2HYsw
Thread-topic: how to tune a pair of e1000 cards on intel e7501-based system?
> > > What kind of numbers are you getting?
> 
> i'm seeing about 100Kpps, with all settings at their defaults on the
> 2.4.20
> kernel.
> 
> basically, i have a couple of desktop PCs generating 480 streams
> of UDP data at 50 packets per second.  Packet size on the wire,
including
> 96 bits of IFG, is 128 bytes.  these packets are forwarded through a
user
> process on the NexGen box to an echoer process which is also running
on
> the
> traffic generator boxes. the echoer sends them back to the NexGen user
> process,
> which forwards them back to the generator process.  timestamps are
logged
> for each packet at send, loop and recv points.
> 

I'm not much of an expert, but one easy thing to try is to up your
receive stack resources, as they were particularly low on 2.4 series
kernels, leading to udp getting overrun pretty easily with gig nics.  I
think if you make the value go too high it just ignores it, so if you
see no change, try 256kB instead.

cat /proc/sys/net/core/rmem_default
cat /proc/sys/net/core/rmem_max 

echo -n 512000 > /proc/sys/net/core/rmem_default
echo -n 512000 > /proc/sys/net/core/rmem_max

Jesse


<Prev in Thread] Current Thread [Next in Thread>