Re: W/RTT verification, linux tcp buffers behaviour

From: Angelo P. Castellani
Date: Tue May 16 2006 - 04:32:33 EST


On 5/15/06, Constantinos Makassikis <cmakassikis@xxxxxxxxx> wrote:
Thanks for pointing this significant conceptual difference.

Is there a way to predict the amount of overhead or the in-band TCP
data that can be hold ?

in my tests I'm doing the following:
net.ipv4.tcp_adv_win_scale = 14
net.ipv4.tcp_rmem = 4096 87380 X*2
net.ipv4.tcp_wmem = 4096 65536 X*2
net.core.rmem_max = X*2 + 10 * 2^20 # 10MB available over what i use
net.core.wmem_max = X*2 + 10 * 2^20 # same

on both the receiver and sender pc's.. doing this the cwnd at the
sender grows till X/RTT otherwise it is limited by the receiver

in this way i get a good approximation
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html