Re: VM tuning for Linux routers

Francois Romieu (romieu@cogenit.fr)
Sun, 18 Nov 2001 14:54:00 +0100


Bernd Eckenfels <ecki@lina.inka.de> :
[...]
> You can increase the reserved free memory (not sure where to do this in
> 2.4.x). This is important, cause network memory requests are usually within
> interrupt handlers and therefore no paging can occur. You can play a bit

This reserve isn't dedicated to networking alas.

[...]
> > However you can increase the length of the Rx/Tx rings on the 100Mb/s side
> > and tune the pci latency timers (depends on the hardware fifo size).
>
> Increasing rx/rx rings is not a particular good idea cause it slows down
> TCPs adaption to network congestion and router overload.

Think about forwarding between GigaE and FastE. Think about overflow and
bad irq latency. I wouldn't cut buffering at l2 as it averages the peaks.
Different trade-offs make sense of course.

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/