SPRACV1B February   2022  – January 2024 AM2434 , AM6411 , AM6412 , AM6421 , AM6441 , AM6442

 

  1.   Abstract
  2.   2
  3.   Trademarks
  4. 1Introduction
  5. 2Processor Core Benchmarks
    1. 2.1 Dhrystone
    2. 2.2 Trigonometric Functions
  6. 3Compute and Memory System Benchmarks
    1. 3.1 Memory Bandwidth and Latency
      1. 3.1.1 LMBench
      2. 3.1.2 STREAM
      3. 3.1.3 Cortex-R5 Memory Access Latency
    2. 3.2 CoreMark®-Pro
    3. 3.3 Fast Fourier Transform
    4. 3.4 Cryptographic Benchmarks
  7. 4Application Benchmarks
    1. 4.1 Machine Learning Inference
    2. 4.2 Field Oriented Control (FOC) Loop
    3. 4.3 PCIE to DDR Performance Using BCDMA
      1. 4.3.1 Test Setup
      2. 4.3.2 Result and Observation
    4. 4.4 DDR to DDR Performance Using BCDMA
      1. 4.4.1 Test Setup
      2. 4.4.2 Result and Observation
  8. 5References
  9. 6Revision History

Test Setup

AM64x-PCIE Benchmarking Setup

Here is the setup we used for benchmarking PCIE-BCDMA-DDR read performance (in terms of bandwidth).

Hardware Details:

For more details, see:

Software Details:

Note: By default in MCU+ SDK, a maximum 4 UDMA channels can be assigned to the R5F_0_0 core.

To run the test with more channels than the default configuration, you need to first use the resource management (RM) tool to manage UDMA channel allocation to the cores.

GUID-61DB5C8D-C972-457B-8E21-AEC82677A881-low.jpg Figure 4-2 AM64x-PCIE Benchmarking Setup
GUID-A7AE6A40-D8A9-4F2E-95C7-D15DD8F9E191-low.jpg Figure 4-3 AM64x (PCIE benchmarking) Data Flow. Here are the details about data flow between 2-AM64x board during PCIE benchmarking.

EP sets the buffer in PCIE and RC will read and copy it into DDR

For example, on RC side:

PCIE_loc_1 = 0x68000000UL + 0x00000000U

PCIE_loc_2 = 0x68000000UL + 0x01000000U

PCIE_loc_3 = 0x68000000UL + 0x02000000U

PCIE_loc_4 = 0x68000000UL + 0x03000000U

and

DDR_loc_1 = 0xA0000000 + 0x00000000U

DDR_loc_2 = 0xA0000000 + 0x01000000U

DDR_loc_3 = 0xA0000000 + 0x02000000U

DDR_loc_4 = 0xA0000000 + 0x03000000U

And so on.