[CentOS] Bandwidth optimisation

Mon Nov 5 09:30:15 UTC 2007
Ioannis Vranos <ivranos at freemail.gr>

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
>>
>> Barry
> 
> 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?