This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to improve the net transmission performace?



Dear Sir,

We use DM368 to develop a camera. SDK is dvsdk_dm365-evm_4_01_00_09_setuplinux. DM368 work on 432MHz and DDR2 work on 340MHz. We test DM368's tcp/ip transport performace is only upto 7MB/s( DM368 to PC ).

Linux version 2.6.32.17-davinci1 (root@sw) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) )

Test result (PC <---> D-Link DES-1008D <---> ARM):
[10:03:14][root:/tftpboot]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.198 port 5001 connected with 192.168.0.58 port 48408
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 72.2 MBytes 60.5 Mbits/sec

[root:/mnt/app]# ./iperf -c 192.168.0.198
------------------------------------------------------------
Client connecting to 192.168.0.198, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.58 port 48408 connected with 192.168.0.198 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 72.2 MBytes 60.5 Mbits/sec


We use mv_pro_5.0 Linux version 2.6.18_pro500 kernel for test. DM368 work on 432MHz and DDR2 work on 340MHz. We test DM368's tcp/ip transport performace is upto 11.25MB/s( DM368 to PC ).

Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (root@tu) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30))


Test result (PC <---> D-Link DES-1008D <---> ARM):
[09:54:26][root:/tftpboot]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.198 port 5001 connected with 192.168.0.58 port 4798
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 108 MBytes 90.4 Mbits/sec

[root:/mnt/app]# ./iperf -c 192.168.0.198
------------------------------------------------------------
Client connecting to 192.168.0.198, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.58 port 4798 connected with 192.168.0.198 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 108 MBytes 90.4 Mbits/sec

We test use same ubl、u-boot、filesystem、hardware platform and network environment, just replace the kernel.
Why has such a big difference?
How to improve the net transmission performace?

Thanks