|How Fast is TCP/IP on SmartFusion2 under uClinux?|
As a very rough estimate for the TCP performance of SmartFusion2 running uClinux, here is the output of the ftpget and the ftpput commands transferring a file between SmartFusion2 and a host in a local network:
~ # busybox time ftpget 172.17.0.251 test.dat pub/test.dat
Processing the above results, we get the following TCP performance figures: 9605408/1.87 = 5137 KB/sec for ftpget and 9605408/2.84 = 3303 KB/sec for ftpput.
As an estimate of the UDP performance, here is the output of the cp command transferring the same file from an NFS-host to the SmartFusion2:
~ # mount -o nolock 172.17.0.251:/opt/tmp /mnt
Processing the above results, we get the following UDP performance figure: 9605408/2.40 = 4002 KB/sec.
Finally, here are the performance results using the popular netperf benchmark:
~ # netperf -H 192.168.0.1 -t UDP_STREAM
~ # netperf -H 192.168.0.1
The test was run on Emcraft Systems' SmartFusion2 system-on-module (SOM) connected to a 100Mb Ethernet hub. The SOM provides an Ethernet 10/100Mb interface using an on-module Ethernet PHY.