Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to increase TCP advertised window beyond 10 packets. I have tried tweaking most of the relevant parameters in /proc/sys/net/ like

/proc/sys/net/core/rmem_max, /proc/sys/net/ipv4/tcp_rmem

I wanted to test the paper by google "Increasing the initial congestion window". I am able to test it till the congestion window on the server side is increased till 10. But after that it keeps waiting for an ack from the client (my ubuntu box) because the advertised window is close to 10 packets.

All other settings are default as in ubuntu 11.10 (tcp cubic reno)

Am i doing something wrong. Please suggest.

share|improve this question

1 Answer 1

AFAIK the receive window size on the client needs to be set per route table entry, e.g.

ip route change default via 1.2.3.4 initrwnd 16

(use your actual default route of course)

TCP will only send using the lower of the two values (initrwnd on the client, initcwnd on the server).

share|improve this answer

Your Answer

 
discard

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.