How to enable TCP Vegas on Centos 5.4?

I’m trying to enable TCP Vegas congestion control on Centos 5.4 box. According to Vegas home page it is as simple as echo 1 > /proc/sys/net/ipv4/tcp_vegas_cong_avoid but this file does not exist.
I found kernel module /lib/modules/2.6.18-164.el5/kernel/net/ipv4/tcp_vegas.ko but insmodding it does not cause the file to appear.
Any suggestions?

Thanks.

Answer

The sysfs interface may have changed since the webpage you’ve read were written.

Looking at my CentOS 5 box, it seems you might have to do something along the lines of

echo vegas > /proc/sys/net/ipv4/tcp_congestion_control

On kernels newer than 2.6.20 the possible values are listed in tcp_available_congestion_control, but I’m uncertain of where/if it’s listed for prior kernels.

Attribution
Source : Link , Question Author : jackhab , Answer Author : EvR2f

Leave a Comment