Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

TCP Window Scaling is part of RFC1323 - TCP Extensions for High Performance

I'm on Ubuntu 10.10 at the moment.

For an immediate effect I have run the following:

sudo sysctl -w net.ipv4.tcp_window_scaling=0

For a more lasting effect:

sudo sh -c 'echo "net.ipv4.tcp_window_scaling=0" >> /etc/sysctl.conf'

Is there a better or perhaps more user specific way to disable either all of RFC1323 or specifically disable TCP Window Scaling on Ubuntu for all outgoing requests from the machine?

For related information why I am doing this, see this ServerFault answer for my situation.

share|improve this question
You want to disable the tcp window scaling on a specific connection or do you want to disable it for an application? – Andreas Roth Apr 29 '11 at 18:21
What spawned this question is the difference between MacOSX where you can disable the entire RFC1323 extension or the tcp_window_scale factor versus Ubuntu where the only option I found was disabling tcp_window_scaling. Just looking to see if there's a more correct way on Ubuntu to disable it. – Freddy May 2 '11 at 15:23
up vote 2 down vote accepted

For me, the

sysctl -w net.ipv4.tcp_window_scaling=0

is the best. To enable that setting automatically, add the "net.ipv4.tcp_window_scaling=0" to /etc/sysctl.conf

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.