[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: VM tuning for Linux routers
In article <> you wrote:
>> I have a dual Athlon w/ 512M RAM and three NICs (one gigabit
>> 3c985B running 802.1Q with 5 VLANs, two on-board 100Mbit 3c982). This box
>> has almost nothing other to do apart from routing and packet filtering.
>> Is there anything I can do to tell the VM system to use as much memory
>> for network packets as possible?

> In a sysctl fashion ? No.

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
with the memory settings in net/*_mem. Most important you can configure the
kernel for large window sizes and advanced routing.

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.131 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site