Tuning RWIN

Gary gary
Mon May 17 11:46:26 PDT 2004


Brett I. Holcomb wrote:
> Okay, I did an echo somenumber > rmem_max and also rmem_default but the 
> tests showed no change in the RWIN value - it was as if it never changed.  
> How do I change it and make it effective?
> 

Red Hat uses sysctl, which has a sysctl.conf. For details "man sysctl"

Add your parameters to sysctl.conf. I use:
net.core.rmem_max=262144
net.core.rmem_default=262144
net.core.wmem_max=262144
net.core.wmem_default=262144

It works for me. That makes the change whenever you boot the system. To 
update the system while it is running use, for example:
sysctl -w net.core.remem_max=262144

Gary



More information about the Linux-users mailing list