user2037981
user2037981

Reputation: 31

Modify the congestion control window value

For my research, I would like to manually control the congestion control window size of TCP.

I want to explicitly stop the window from being reduced when segment/ack loss occurs on a test network.

Is this possible at all?

I have been looking into ways of doing this using Python, Netem and Scapy. I have access to both windows and linux (ubuntu 12).

Upvotes: 3

Views: 3278

Answers (2)

Chamil E
Chamil E

Reputation: 478

This worked for me. Add followings to the /etc/sysctl.conf file upon your requirment

#Maximum Socket Receive Buffer
net.core.rmem_max = 33554432

#Maximum Socket Send Buffer
net.core.wmem_max = 33554432

Run "sysctl -p" to apply.

Upvotes: -1

auny
auny

Reputation: 1970

On kernels upward of 2.6.33 you can try

ip route change default via x.x.x.x initcwnd new-val initrwnd new-val

Also take a look at this

Upvotes: 3

Related Questions