Hi
I was trying to measure the bandwidth using tcp connection. The client simply sends junk from one end and the server receives it. In between sending data, the client measures the time taken to send some N bytes (say 30 KB) of data. The start of measurement is when the client stats sending data, and the end, when the server sends the final acknowledgement.
This measurement I am doing for a 35 Kbps. I never got a measurement above 28 Kbps. But when I tried with the tool iperf, the bandwidth meausred was always less than 4 Kbps!
What perplexes me is nothing but that the program which I wrote should always underestimate the actual bandwidth because of the tcp headers not taken into account while measuring; but, iperf, a bandwidth measurement tool, gives a measurement much lower than that !!!!
Can anyone please help me ...?
Thanking in advance.
** Quote for thought:
The first test of a truly great man is his humility.
- Dinil Divakaran - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html