I tried your suggestion. I guess you are right. This was the output when I
added -i 2 to the client side command.
root@OpenWrt:/# iperf -c 192.168.1.20 -i 2 -o root/tcp.txt
------------------------------------------------------------
Client connecting to 192.168.1.20, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.6 port 48178 connected with 192.168.1.20 port 5001
write2 failed: Connection timed out
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-962.0 sec 21.4 KBytes 182 bits/sec
However, there is some anomalous behavior. I received the final output only
after almost 15 min ( anyways, it is close to the interval mentioned above)
and not a report every 2 secs and nothing was written to the file.
Then I tried the same command. This time I didn't write the output to a
file but captured it in minicom (The capture file is in the previous post)
Kindly take a look at it.
In the file, in the first 2 secs 24KB is transferred and everywhere else it
is zero. However, the summary at the end reports a transfer of
29.9 KB. This is another odd occurrence.
Anyways, the iperf tcp generally reports the throughput results after
around 15 mins and the throughput is usually low in 100's of bits/sec. So,
as you pointed out i guess the connection may be lossy. However, I don't
think there would be any environmental losses as I have placed the boards
close enough.
Any ideas why this doesn't happen with UDP?
And, any views about these odd behavior and low throughput?
Moreover, if can you explain how the client-side kernel decides how much
data to send ( as you had mentioned '10 secs worth of data')
it will helpful.
Vignesh
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users