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.

DM368's net transmission performance

Dear sir

  We use DM368 to develop a camera. DM368 work on 432MHz and DDR2 Is DDR2 800Mhz(16bit data width )

Because our system's is upgraded from DM365 to DM368. DM368's UBOOT and KERNEL is same with DM365. SDK is dvsdk_dm365-evm_4_01_00_09_setuplinux

DM368's UBL is same with DM365 ,except that DM368's sysclk is 432MHz  vs DM365's sysclk is 297, DM365's DDR2 work on 240MHz vs DM368's DDR2 working on 340MHz.

  We test DM368's tcp/ip transport performace is only upto 6MB/s( DM368 to PC ). But the same test program can upto 11MB/s  running  on PC to PC.

  Q1: what is the maximum of DM368's tcp/ip transmission performace? 

  Q2: How to improve the net transmission performace?

Thanks

 

  • jun yang62451 said:
    We test DM368's tcp/ip transport performace is only upto 6MB/s( DM368 to PC ). But the same test program can upto 11MB/s  running  on PC to PC.

    What PHY you use on device and PC and how you test network bandwidth? Can you run iperf http://sourceforge.net/projects/iperf/ in server/client mode on your device?

  • Dear Kirill.

      Thanks your reply.

      I run iperf on my DM368's system. The tcp/ip transfer performace ( DM368 to PC )can reach about 7MB/s.

      I find that the transfer performance of DM368's EVM is 50.8Mb/s in spec DaVinci_PSP_03.01_GA_(r38)_Release_Notes.pdf.

    Q: Why DM368 cann't reach the maximum transfer performace?

        Is there a way to improve the performace?

     

    Thanks

  • If I right 7MB/s = 7 * 8 = 56Mb/s

    What PHY you use on board and how you configure it?

  •  

    Yes, It's 56Mb/s.

    The PHY is KSZ8041 on our board. The PHY's configure is the same with DM368's EVM. We donot modify the linux driver.

    Can DM368's net transfer performace reach the maximum? How to achieve it?

    Thanks.

  • You can try bandwitch with UDP and and certainly you must have 100Mb/s link between board and PC.

    Sorry, I can't check this because we are not work with KSZ8041, but I can try check this on Marvell 88E1111

    Test result (PC <---> D-Link DGS-1008P <---> ARM):
    board - DM365 297MHz, PHY Marvell 88E1111, 2.6.18_pro500, iperf-2.0.5
    ~ # ./iperf -s
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    [  4] local 192.168.255.2 port 5001 connected with 192.168.255.1 port 42345
    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-10.0 sec   112 MBytes  94.1 Mbits/sec
    ~ # ./iperf -c 192.168.255.1
    ------------------------------------------------------------
    Client connecting to 192.168.255.1, TCP port 5001
    TCP window size: 16.0 KByte (default)
    ------------------------------------------------------------
    [  3] local 192.168.255.2 port 3154 connected with 192.168.255.1 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  3]  0.0-10.0 sec  95.8 MBytes  80.3 Mbits/sec

    PC - Intel(R) Pentium(R) 4 CPU 3.00GHz, D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10), 2.6.32-5-686, iperf-2.0.4
    $ iperf -c 192.168.255.2
    ------------------------------------------------------------
    Client connecting to 192.168.255.2, TCP port 5001
    TCP window size: 16.0 KByte (default)
    ------------------------------------------------------------
    [  3] local 192.168.255.1 port 42345 connected with 192.168.255.2 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  3]  0.0-10.0 sec    112 MBytes  94.2 Mbits/sec
    $ iperf -s
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    [  4] local 192.168.255.1 port 5001 connected with 192.168.255.2 port 3154
    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-10.0 sec  95.8 MBytes  80.2 Mbits/sec


  • Dear Kirill.

    Thanks your test and reply.

    Our board direct connect to PC, the cable can achieve 1Gb/s transfer. But the TCP/IP test result (board send to PC ) is still about 56Mb/s, PC send to board is 72Mb/s.

    In dvsdk_dm365-evm_4_01_00_09_setuplinux's DaVinci_PSP_03.01_GA_(r38)_Release_Notes.pdf, it say the DM365 EVM's max performance is 50.6Mb/s.

    From EVM's Schematics, I find that the PHY is KSZ8001 .

    Why do you use Marvell 88E1111 instead of KSZ8001 on DM365's board? Is the board updated?

    I find the 88E1111 is 1Gb/100Mb/10Mb PHY. Is the reason the PHY?

    Thanks

     

  • We are can't buy KSZ8001 and we are don't search "light" way ;) Our camera must send video on 1Gb/s and 100Mb/s.

  • Dear Kirill.

     The DM365 and DM368 are only support 100Mb/s and 10Mb/s, aren't they? Why do you support 1Gb/s transfer rate?

  • Camera send encoded via MII-interface (100 Mb/s) and RAW video via RGMII (1000 Mb/s). When camera send RAW we are disable network on ARM and enabled it on FPGA.