Skip to contentSkip to conversation

via-rhine & rx-buffer size

DISCUSSION Ben Greear 1 participant 1 message May 5, 2005

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com