Thread (19 messages) 19 messages, 5 authors, 2002-11-08

Re: NAPI-ized tulip patch against 2.4.20-rc1

From: Donald Becker <hidden>
Date: 2002-11-06 20:47:43

On Wed, 6 Nov 2002, Ben Greear wrote:
quoted
The trivial case is a module option that sets a variable replacing
RX_RING_SIZE / TX_RING_SIZE..
The passed-in value shouldn't be used directly:
 - many drivers have upper and lower bounds
 - the size can only be changed when the rings are initialized,
   which occurs when the interface starts.
So, adjusting the ring size would require stopping and starting the
NIC?  Is that a full bounce (including auto-negotiation)?
Most chips do not require bouncing the link when the interface is cycled
down/up.  That's not to say that some drivers don't reset the link --
it's easier for the driver writer to write the code that way, and doing
the link reset can mask other problems.
quoted
 - users thinking "if 32 is good, 32000 is better"
The sad truth is, most NICs/drivers do not perform at high
speeds w/out hacking them in various ways.  Where to lay the
blame (VM, shitty hardware, etc) is debatable, but it doesn't
change the results.  I do know that 1024 is better than 32 for
high speeds on muliple ports, on my NICs.
I can see that changing the parameters is a quick, ad hoc solution.
This list should focus on identifying the problems, rather than just
patching in work-arounds.

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help