[CentOS] Bandwidth optimisation
ivranos at freemail.gr
Mon Nov 5 09:30:15 UTC 2007
James A. Peltier wrote:
>> I am using this on my CentOS 4 machine. I would expect it to work on
>> a CentOS 5 machine as well.
>> Add the following to /etc/sysctl.conf
>> net.core.rmem_default = 67108864
>> net.core.wmem_default = 67108864
>> net.core.rmem_max = 67108864
>> net.core.wmem_max = 67108864
>> net.ipv4.tcp_mem = 4096 67108864 67108864
>> net.ipv4.tcp_rmem = 4096 67108864 67108864
>> net.ipv4.tcp_wmem = 4096 67108864 67108864
>> Run sysctl -p
> You may want to consider adding QoS to ACKs. Giving ACKs higher
> priority will allow you to better utilize the link by ensuring they
> don't get overrun with other traffic. I do this on my OpenBSD firewall
> with great success.
How can I do this in CentOS 5.0?
More information about the CentOS