We are trying to decrease the initial latency on TCP connections to our servers. In some test we found that when we download a file below 15587 bytes the total downloading time (apache benchmark total) is 52ms. But, when we add an extra byte, this time is increased until 77 ms. After some test and further investigations we have found that the problem is that our AWS Linux server has 10 as default value for the TCP Initial Congestion Window. When we increase this value, we are able to send files below 28969 bytes with 52ms, which is good.
Now the problem is that, even though we increase the initcwnd to high values, we are not able to overcome this limit.
Does it exist any other extra parameter, apart from the initcwnd, that could help us to overtake this limit? Does somebody have a similar scenario or a suitable solution?
Many thanks in advance,