The window scale option is used only during the TCP 3-way handshake and many routers and firewalls re-write the window scaling factor during a transmission. This causes the sending and the receiving sides to assume different TCP window sizes; the result is non-stable traffic that is very slow.
However, the TCP window scaling option may have some side effects. Since many routers and firewalls do not properly implement TCP Window Scaling, it can cause a user's internet connection to malfunction intermittently.
Because of that, it is not enabled by default in IWSVA. You can keep it enabled if no other issue (i.e. access, download) occurs, however, it is recommended to monitor the behavior afterwards and to revert it to the initial settings if needed.
To verify if the situation has improved, we can set the IPv4 TCP Window Scaling parameter from 0 to 1:
- Connect to IWSVA directly or via SSH (for example via Putty) as "root".
- Open the file /etc/sysctl.conf
-
Find and change the following parameter to 1:
net.ipv4.tcp_window_scaling=1
- Save and exit.
- Run the command "sysctl -p"
