netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: how to tune a pair of e1000 cards on intel e7501-based system?
@ 2004-12-08  1:10 Brandeburg, Jesse
  2004-12-08 23:43 ` Ray Lehtiniemi
  0 siblings, 1 reply; 2+ messages in thread
From: Brandeburg, Jesse @ 2004-12-08  1:10 UTC (permalink / raw)
  To: Ray Lehtiniemi, Scott Feldman; +Cc: netdev

> > > 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-08 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08  1:10 how to tune a pair of e1000 cards on intel e7501-based system? Brandeburg, Jesse
2004-12-08 23:43 ` Ray Lehtiniemi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).