netdev
[Top] [All Lists]

via-rhine & rx-buffer size

To: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
Subject: via-rhine & rx-buffer size
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Wed, 04 May 2005 17:00:09 -0700
Organization: Candela Technologies
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050417 Fedora/1.7.7-1.3.1
Hello!

I've been doing some testing with the routerboard-44 4-port Via-Rhine
NIC.  When running about 10Mbps (~1kpps) of traffic in both directions on all
4 ports, I see about 1% packet drop.  I tried adjusting the buffer sizes
like this:

#define TX_RING_SIZE    32
#define TX_QUEUE_LEN    30      /* Limit ring entries actually used. */
#define RX_RING_SIZE    64


I get slightly fewer drops (maybe, .3% or so), but I was hoping for better 
still.

So, first:  Any reason not to increase the buffers as show above?
(Yes, I know the part about tx buffers & QoS, so if one wants to leave
that at 16, tis fine by me).

Any ideas for other tweakings that might give me better performance?

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


<Prev in Thread] Current Thread [Next in Thread>
  • via-rhine & rx-buffer size, Ben Greear <=