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.

AM6548: Slow processing

Part Number: AM6548
Other Parts Discussed in Thread: AM5729

I'm trying to benchmark some packet pack and unpack routines on various processors (the packets are simulated - no network stack is involved). Running the code on the AM6548 EVM is very slow:

AM5729 (BB AI) 15 seconds

iMX8 13 seconds

AM6548 (AM654x EVM) 3 minutes

I don't understand what could possibly be going wrong with the AM654x test. Any ideas?

  • Please provide full details of the environment and your tests.

  • I'm running on an AM654x EVM Rev 1.0 from Mistral. After boot I see

    
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2018.08 am65xx-evm ttyS2
    
    am65xx-evm login: root
    root@am65xx-evm:~#

    root@am65xx-evm:~# uname -a
    Linux am65xx-evm 4.14.67-gd315a9bb00 #1 SMP PREEMPT Sat Oct 6 02:18:07 UTC 2018

    I'm running the Linux distribution that came on the sdcard with the EVM.

    I built my application on a host Ubuntu machine running

    aarch64-linux-gnu-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    (This is the same compiler I used to build and run the same test code on the iMX8)

    Flags used by the compiler are shown in the line output from running make....

    aarch64-linux-gnu-gcc -I. -I../.. -I../../../apps/common -Wall -O3 -o build_arm/helper.o -c helper.c

    The application I'm running is single threaded and just does a lot of moving bytes around.

    I have a network cable plugged in to the EVM and a usb cable connected to the UART(s) on the board.

  • stream results

    root@am65xx-evm:~# stream
    STREAM copy latency: 8.16 nanoseconds
    STREAM copy bandwidth: 1960.06 MB/sec
    STREAM scale latency: 8.30 nanoseconds
    STREAM scale bandwidth: 1928.64 MB/sec
    STREAM add latency: 15.01 nanoseconds
    STREAM add bandwidth: 1598.72 MB/sec
    STREAM triad latency: 15.51 nanoseconds
    STREAM triad bandwidth: 1547.19 MB/sec

  • iMX8 stream resuits

    root@imx8mqevk:~# stream
    STREAM copy latency: 3.84 nanoseconds
    STREAM copy bandwidth: 4164.50 MB/sec
    STREAM scale latency: 5.77 nanoseconds
    STREAM scale bandwidth: 2774.89 MB/sec
    STREAM add latency: 9.82 nanoseconds
    STREAM add bandwidth: 2444.99 MB/sec
    STREAM triad latency: 11.65 nanoseconds
    STREAM triad bandwidth: 2060.62 MB/sec

  • Hi,

    The SDK that comes with the EVM is over a year old and I was going to suggest that the issue has to do with the SDK version that you are using and to download the latest SDK. While I still recommend doing that there will not be a change in the test results from what you are currently seeing. 

    I will need to ask the development team about what the stream results are showing and get back to you, this may take more than a day.

    Best Regards,

    Schuyler

  • Schuyler,

    Any updates?

    - Andrew

  • Hi Andrew, 

    I apologize for the delay, I have discussed this issue internally and there is something I need to compare against before answering. Overall the A15 processor is more efficient than the A53. At the moment we are out of the of office and I am not able to complete the test I want to run. I expect to return to the office late this week. 

    Best Regards,

    Schuyler

  • Hi Andrew,

    I am still working on this, the issue has been our physical office was damaged in a weather and we are just now able to access our equipment. I will try to complete the test I mentioned before the end of the week and get back to you.

    Best Regards,

    Schuyler

  • Hi Andrew,

    I was able to access my equipment, my experiment was to see if page size had an effect on the results of the stream test it did not. I will add additional comments tomorrow.

    Best Regards,

    Schuyler