Wednesday, December 6, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1752  / 1 Year ago, fri, august 19, 2022, 2:09:27

I am on Ubuntu server 12.04

$ sudo cat /etc/issue /etc/lsb-release
Ubuntu 12.04.1 LTS


$ uname -a
Linux vps2 2.6.32-042stab078.28 #1 SMP Mon Jul 8 10:17:22 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux

According to this

there should be tcp_westwood, but I can't find on my server:

$ sudo echo 1 > /proc/sys/net/ipv4/tcp_westwood
-bash: /proc/sys/net/ipv4/tcp_westwood: No such file or directory

$ sudo tail /proc/sys/net/ipv4/*congest*
==> /proc/sys/net/ipv4/tcp_allowed_congestion_control <==
cubic reno

==> /proc/sys/net/ipv4/tcp_available_congestion_control <==
cubic reno

==> /proc/sys/net/ipv4/tcp_congestion_control <==

So how could I enable tcp westwood for 12.04 lts?

More From » kernel


If you read again it will tell you the reason:

tcp_westwood (Boolean; default: disabled; Linux 2.4.26/2.6.3 to 2.6.13)
Enable TCP Westwood+ congestion control algorithm. TCP
Westwood+ is a sender-side only modification of the TCP Reno
protocol stack that optimizes the performance of TCP congestion
control. It is based on end-to-end bandwidth estimation to set
congestion window and slow start threshold after a congestion
episode. Using this estimation, TCP Westwood+ adaptively sets a
slow start threshold and a congestion window which takes into
account the bandwidth used at the time congestion is
experienced. TCP Westwood+ significantly increases fairness
with respect to TCP Reno in wired networks and throughput over
wireless links.

So, what happens here?

  1. By default, that option is not activated in the kernel.

  2. Was meant implemented in kernels 2.4.26/2.6.3 to 2.6.13.

  3. There should be alternatives more recent to what you try to do.


  1. Not using this.

  2. Build your own kernel and activate the option.

  3. Using the -generic kernel.

  4. Installing the user-mode-linux package.

[#27881] Friday, August 19, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 430
Total Questions: 105
Total Answers: 106

Location: Suriname
Member since Sun, Jun 13, 2021
3 Years ago