Hi All,<br><br>&nbsp; I was doing some Bandwidth measurement test on a 100 mbs link with a RTT of about 70ms.<br>&nbsp; Based on that, I calculated the BDP as follows.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BDP = Bandwidth * RTT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 13107200 bytes * .07 secs
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 896 Kbytes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 900 Kbyes (approx)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 921600 bytes<br><br><br>&nbsp;&nbsp; After that I adjusted the TCP window size as follows:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/core/rmem_max&nbsp; 921600
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/core/wmem_max&nbsp; 921600<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/ipv4/tcp_rmem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096&nbsp;&nbsp;&nbsp; 87380&nbsp;&nbsp; 921600<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/ipv4/tcp_wmem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096&nbsp;&nbsp;&nbsp; 87380&nbsp;&nbsp; 921600<br><br>&nbsp;&nbsp; These adjustmenst I had done on a Linux host with 
2.6.15 kernel. The congestion<br>&nbsp;&nbsp; control algorithm , it is using BIC<br><br>&nbsp;&nbsp; The same window adjustments I had performed on the other hand on a Linux host<br>&nbsp;&nbsp; with kernel 2.6.9 . It is also using BIC for congestion control.
<br><br>&nbsp;&nbsp; The Bandwidth Performnce test I am doing using iperf , a highly popular public<br>&nbsp;&nbsp; domain tool for measuring TCP &amp; UDP Bandwidth Performance . <br>&nbsp; <br>&nbsp;&nbsp; With the default Linux 2.6 TCP window settings , I was getting a throughput of
<br>&nbsp;&nbsp; nearly 10mbs which is very low for a 100 mbs link.<br><br>&nbsp;&nbsp; So , I performed the above TCP adjustmets and I found the throughput to be around<br>&nbsp;&nbsp; 55 mbs which is a significant improvement . But that is not fully utilsing the link
<br>&nbsp;&nbsp; as it is a dedicated link and there was no other traffic.<br>&nbsp;&nbsp; This , I proved with the next experiment where I reached a link utilisation of<br>&nbsp;&nbsp; little more than 95 mbs . That is very much O.K for a 100mbs link.
<br><br>&nbsp;&nbsp; I did the following adjustments. I increased the above calculated BDP by nearly<br>&nbsp;&nbsp; half of the value . The TCP settings now look like this.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/core/rmem_max&nbsp; 175636<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/core/wmem_max&nbsp; 175636
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/ipv4/tcp_rmem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096&nbsp;&nbsp;&nbsp; 87380&nbsp;&nbsp; 175636<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc/sys/net/ipv4/tcp_wmem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096&nbsp;&nbsp;&nbsp; 87380&nbsp;&nbsp; 175636<br><br>&nbsp;&nbsp;&nbsp; After these settings , I find the link utilisation to be nearly 95 mbs.
<br><br>&nbsp;&nbsp;&nbsp; According to many papers that I read , I found that the BDP should be equal<br>&nbsp;&nbsp;&nbsp; to the product of Bandwidth * RTT .<br>&nbsp;&nbsp;&nbsp; I had done that , but the link utilisation is only 50%. But when I increased<br>&nbsp;&nbsp;&nbsp; to a much higher value , the link utilisation is nearly around 95 %.
<br><br>&nbsp;&nbsp;&nbsp; I am confused regarding my findings.Please clarify me so that I can perform<br>&nbsp;&nbsp;&nbsp; the experiment correctly.<br><br>&nbsp;&nbsp;&nbsp; With Thanks in Advance<br><br><br>