Part Number: AM62P
In order to compare AM62P and AM62x DDR performance at the same condition, configure 62P DDR to 16bit 800MHz, its stress-ng stream result is much lower than that of AM62x.
#1. Default SDK configuration, AM62P 32bit 1600MHz:
root@am62pxx-evm:~# k3conf dump clock | grep DDR | F/w Capabilities | 0x27f7: GEN DEEP_SLP MCU_ONLY PART_IO DM_MGD_LPM IO+DDR_RET IO_ISO DM-SPLT | | 157 | 40 | DEV_BOARD0_DDR0_CK0_IN | CLK_STATE_READY | 250000000 | | 170 | 0 | DEV_DDR32SS0_DDR_PLL_DIVH_CLK4_OBSCLK_OUT_CLK | CLK_STATE_READY | 0 | | 170 | 1 | DEV_DDR32SS0_DDRSS_DDR_PLL_CLK | CLK_STATE_READY | 800000000 | | 170 | 2 | DEV_DDR32SS0_DDRSS_TCK | CLK_STATE_READY | 0 | | 170 | 3 | DEV_DDR32SS0_PLL_CTRL_CLK | CLK_STATE_READY | 500000000 | | 228 | 16 | DEV_OBSCLK0_MUX_SEL_DEV_VD_CLK_PARENT_SAM67_DDR_WRAP_MAIN_0_DDR_PLL_DIVH_CLK4_OBSCLK_OUT_CLK | CLK_STATE_READY | 0 | root@am62pxx-evm:~ root@am62pxx-evm:~# stress-ng --stream 4 --stream-l3-size 64M --metrics-brief --timeout 120s stress-ng: info: [1552] setting to a 2 mins run per stressor stress-ng: info: [1552] dispatching hogs: 4 stream stress-ng: info: [1553] stream: using cache size of 65536K stress-ng: info: [1553] stream: stressor loosely based on a variant of the STREAM benchmark code stress-ng: info: [1553] stream: do NOT submit any of these results to the STREAM benchmark results stress-ng: info: [1553] stream: using 3 cache sized buffers for stream operations, total 49152K per stream instance stress-ng: info: [1555] stream: memory rate: 371.70 MB read/sec, 247.80 MB write/sec, 32.48 double precision Mflop/sec (instance 2) stress-ng: info: [1556] stream: memory rate: 364.43 MB read/sec, 242.95 MB write/sec, 31.84 double precision Mflop/sec (instance 3) stress-ng: info: [1553] stream: memory rate: 369.67 MB read/sec, 246.45 MB write/sec, 32.30 double precision Mflop/sec (instance 0) stress-ng: info: [1554] stream: memory rate: 370.98 MB read/sec, 247.32 MB write/sec, 32.42 double precision Mflop/sec (instance 1) stress-ng: metrc: [1552] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: metrc: [1552] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: metrc: [1552] stream 1841 120.27 119.22 0.49 15.31 15.38 stress-ng: info: [1552] skipped: 0 stress-ng: info: [1552] passed: 4: stream (4) stress-ng: info: [1552] failed: 0 stress-ng: info: [1552] metrics untrustworthy: 0 stress-ng: info: [1552] successful run completed in 2 mins root@am62pxx-evm:~#
#2. AM62P 16bit 800MHz:
root@am62pxx-evm:~# k3conf dump clock |grep DDR | F/w Capabilities | 0x27f7: GEN DEEP_SLP MCU_ONLY PART_IO DM_MGD_LPM IO+DDR_RET IO_ISO DM-SPLT | | 157 | 40 | DEV_BOARD0_DDR0_CK0_IN | CLK_STATE_READY | 250000000 | | 170 | 0 | DEV_DDR32SS0_DDR_PLL_DIVH_CLK4_OBSCLK_OUT_CLK | CLK_STATE_READY | 0 | | 170 | 1 | DEV_DDR32SS0_DDRSS_DDR_PLL_CLK | CLK_STATE_READY | 400000000 | | 170 | 2 | DEV_DDR32SS0_DDRSS_TCK | CLK_STATE_READY | 0 | | 170 | 3 | DEV_DDR32SS0_PLL_CTRL_CLK | CLK_STATE_READY | 500000000 | | 228 | 16 | DEV_OBSCLK0_MUX_SEL_DEV_VD_CLK_PARENT_SAM67_DDR_WRAP_MAIN_0_DDR_PLL_DIVH_CLK4_OBSCLK_OUT_CLK | CLK_STATE_READY | 0 | root@am62pxx-evm:~# stress-ng --stream 4 --stream-l3-size 64M --metrics-brief --timeout 120s stress-ng: info: [1863] setting to a 2 mins run per stressor stress-ng: info: [1863] dispatching hogs: 4 stream stress-ng: info: [1864] stream: using cache size of 65536K stress-ng: info: [1864] stream: stressor loosely based on a variant of the STREAM benchmark code stress-ng: info: [1864] stream: do NOT submit any of these results to the STREAM benchmark results stress-ng: info: [1864] stream: using 3 cache sized buffers for stream operations, total 49152K per stream instance stress-ng: info: [1866] stream: memory rate: 183.29 MB read/sec, 122.19 MB write/sec, 16.02 double precision Mflop/sec (instance 2) stress-ng: info: [1864] stream: memory rate: 191.86 MB read/sec, 127.91 MB write/sec, 16.77 double precision Mflop/sec (instance 0) stress-ng: info: [1865] stream: memory rate: 181.24 MB read/sec, 120.82 MB write/sec, 15.84 double precision Mflop/sec (instance 1) stress-ng: info: [1867] stream: memory rate: 172.29 MB read/sec, 114.86 MB write/sec, 15.05 double precision Mflop/sec (instance 3) stress-ng: metrc: [1863] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: metrc: [1863] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: metrc: [1863] stream 908 120.26 340.36 7.11 7.55 2.61 stress-ng: info: [1863] skipped: 0 stress-ng: info: [1863] passed: 4: stream (4) stress-ng: info: [1863] failed: 0 stress-ng: info: [1863] metrics untrustworthy: 0 stress-ng: info: [1863] successful run completed in 2 mins root@am62pxx-evm:~#
#3. AM62x 16bit 800MHz:
root@am62xx-evm:~# k3conf dump clock |grep DDR | 157 | 24 | DEV_BOARD0_DDR0_CK0_IN | CLK_STATE_READY | 250000000 | | 157 | 25 | DEV_BOARD0_DDR0_CK0_N_IN | CLK_STATE_READY | 0 | | 157 | 27 | DEV_BOARD0_DDR0_CK0_OUT | CLK_STATE_READY | 0 | | 170 | 0 | DEV_DDR16SS0_DDRSS_DDR_PLL_CLK | CLK_STATE_READY | 400000000 | | 170 | 1 | DEV_DDR16SS0_DDRSS_TCK | CLK_STATE_READY | 0 | | 170 | 2 | DEV_DDR16SS0_PLL_CTRL_CLK | CLK_STATE_READY | 500000000 | root@am62xx-evm:~# root@am62xx-evm:~# stress-ng --stream 4 --stream-l3-size 64M --metrics-brief --timeout 120s stress-ng: info: [5090] setting to a 2 mins run per stressor stress-ng: info: [5090] dispatching hogs: 4 stream stress-ng: info: [5091] stream: using cache size of 65536K stress-ng: info: [5091] stream: stressor loosely based on a variant of the STREAM benchmark code stress-ng: info: [5091] stream: do NOT submit any of these results to the STREAM benchmark results stress-ng: info: [5091] stream: using 3 cache sized buffers for stream operations, total 49152K per stream instance stress-ng: info: [5092] stream: memory rate: 322.11 MB read/sec, 214.74 MB write/sec, 28.15 double precision Mflop/sec (instance 1) stress-ng: info: [5091] stream: memory rate: 311.86 MB read/sec, 207.91 MB write/sec, 27.25 double precision Mflop/sec (instance 0) stress-ng: info: [5094] stream: memory rate: 315.15 MB read/sec, 210.10 MB write/sec, 27.54 double precision Mflop/sec (instance 3) stress-ng: info: [5093] stream: memory rate: 309.62 MB read/sec, 206.41 MB write/sec, 27.06 double precision Mflop/sec (instance 2) stress-ng: metrc: [5090] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: metrc: [5090] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: metrc: [5090] stream 1569 120.18 373.38 6.12 13.06 4.13 stress-ng: info: [5090] skipped: 0 stress-ng: info: [5090] passed: 4: stream (4) stress-ng: info: [5090] failed: 0 stress-ng: info: [5090] metrics untrustworthy: 0 stress-ng: info: [5090] successful run completed in 2 mins
Confirmed 16bit Vs 32bit setting on AM62P board:
16bit: root@am62pxx-evm:~# devmem2 0x0f308534 /dev/mem opened. Memory mapped at address 0xffff8ff28000. Read at address 0x0F308534 (0xffff8ff28534): 0x00010C03 32bit: root@am62pxx-evm:~# devmem2 0x0f308534 /dev/mem opened. Memory mapped at address 0xffff8263e000. Read at address 0x0F308534 (0xffff8263e534): 0x00000C03 root@am62pxx-evm:~#
AM62x run at 800MHz 16bit, stream result is close to AM62P 1600MhHz 32bit. which is not reasonable.