Tuning RWIN
Net Llama!
netllama
Mon May 17 11:46:26 PDT 2004
On Fri, 11 Apr 2003, Gary wrote:
> 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
Good point, although sysctl.conf really is only enforced on bootup. After
that point cat'ting values into /proc should work just as well.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list