How Fast is TCP/IP on M2S under uClinux? Print

 

As a very rough estimate for the TCP performance of M2S running uClinux, here is the output of the ftpget and the ftpput commands transferring a file between M2S and a host in a local network:

~ # time ftpput 172.17.0.155 pub/test.dat /test.dat
real 0m 42.28s
user 0m 0.07s
sys  0m 42.13s
~ # time ftpget 172.17.0.155 /test.dat pub/test.dat
real 0m 27.18s
user 0m 0.10s
sys  0m 27.08s
~ # ls -l /test.dat
-rwxr--r-- 1 root root 190405885 Jan 1 00:04 /test.dat
~ #

Processing the above results, we get the following TCP performance figures:
190405885/27.18 = 6841.18 KB/sec for ftpget and 190405885/42.28 = 4397.90 KB/sec for ftpput.

As an estimate of the UDP performance, here is the output of thecp command transferring the same file from an NFS-host to the M2S:

~ # mount -o nolock 172.17.0.155:/work/psl/tmp /mnt
~ # time cp /mnt/test.dat /
real 0m 30.92s
user 0m 0.13s
sys  0m 28.41s

Processing the above results, we get the following UDP performance figure:
190405885/30.92 = 6013.69 KB/sec.

The test was run on Microsemi SF2-DEV-KIT connected to a 1Gb Ethernet hub.