Kernel parameters affecting network performance/speed

Kernel parameters affecting network performance/speed

Post by Tomá? Sait » Sat, 01 Sep 2001 11:02:15



Hi,
with the advent of high speed cable/ADSL links some alterations of
networking parameters are recommended (e.g.
http://www.speedguide.net/Cable_modems/cable_reg_win2k.shtml).  In linux
there are several places where it is possible to alter these values:

/proc/sys/net/core/rmem_max
/proc/sys/net/core/rmem_default
/proc/sys/net/core/wmem_max
/proc/sys/net/core/wmem_default
...

/proc/sys/net/ipv4/tcp_wmem
/proc/sys/net/ipv4/tcp_rmem
...

ip link set eth1 txtqueuelen <xxx> mtu <xxx>
ip route replace 10.0.0/24 dev eth1 mtu <xxx> window <xxx>

Does anyone know which place is the best to adjust these parameters in linux
or is it necessary to alter them in all these places?  Alternatively, can
linux adjust them on-the-fly by itself automatically adapting the networking
stack to different conditions?  Also there may be some differences for
routers doing NAT/firewalling and stand-alone clients ...
Taka

 
 
 

1. SVRV kernel parameters affecting paging and swapping

Hi,

I've been trying to do some memory configuration on our PYRAMID NILE SVR4
machine.

In particular,  I'm trying to get the pageout daemon to be a bit more  
pro-active.  At the moment,  we seem to get no swapping or paging until
free memory falls below about 10M (we have 1GB total) and then the system
stops paging once 30 MB free is achieved.

I'd like to configure the system to start paging much earlier - say 50MB.

I've been reading in "The Magic Garden" about kernel parameter which control
pagins such as minfree, desfree, etc.  However,  the only "tuneable"
parameter
is GPGSLO - which controls only the point at which swapper starts writing
whole processes to disk.

My questions are:

        Is it possible to set minfree, desfree?
        If not, do they default to some multiple of GPGSLO?
        Is there some other way to achieve what I want?

iThanks,

Guy

2. ** getuid() - Help!! **

3. Any tips which would affect network performance?

4. adding new SCSI disk -- SRM options?

5. kernel file lock affecting performance -- how to measure?

6. Multiple DhCP server's on one OpenBSD box?

7. How to get HP-UX10.01 kernel parameter and RedHat Linux6.2 kernel parameter ?

8. req_finished_io unresolved symbol

9. kernel parameter - idebus speed setting

10. Optimizing CSLIP performance via kernel TCP parameters

11. Is the new KDE affected by Leon Bottou's speed hack?

12. Modem speed affects PPP chat scripts?

13. ulimit parameter mapping to kernel parameters