1632 views|0 replies

501

Posts

4

Resources
The OP
 

Mir MYC-YT507 development board review: performance test one coremark running score [Copy link]

 

Preface

CoreMark is a benchmark program used in embedded systems to measure CPU performance. The standard was proposed by Shay Gal-On of the EEMBC (Embedded Microprocessor Benchmark Consortium) in 2009, and attempts were made to develop it into an industrial standard to replace the old Dhrystone standard. Compared with Dhrystone, CoreMark avoids the differences caused by different compilers.

Preparing the code

Open a terminal in WSL

git clone

链接已隐藏,如需查看请登录或者注册

cd coremark/

vi simple/core_portme.h

Revise

#define COMPILER_FLAGS \

FLAGS_STR /* "Please put compiler flags here (eg -o3)" */

#endif

for

#define COMPILER_FLAGS \

"-O3" /* "Please put compiler flags here (eg -o3)" */

#endif

If you compile with -O0, change it to "-O0"

typedef ee_u32 ee_ptr_int;

Change to

typedef unsigned long ee_ptr_int;

Compile

export PATH=$PATH:~/MYD-YT507H/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin

Compile

aarch64-linux-gnu-gcc -o coremarko3 core_list_join.c core_main.c core_matrix.c core_state.c core_util.c simple/core_portme.c -DPERFORMANCE_RUN=1 -DITERATIONS=100000 -Isimple -I. -O3

-O0 compilation is changed to

aarch64-linux-gnu-gcc -o coremarko0 core_list_join.c core_main.c core_matrix.c core_state.c core_util.c simple/core_portme.c -DPERFORMANCE_RUN=1 -DITERATIONS=100000 -Isimple -I. -O0

run

Copy the program to Windows

cp coremarko3 /mnt/e

cp coremarko0 /mnt/e

Import the program to the development board under Windows

chmod +x coremarko3

chmod +x coremarko0

./coremarko0

./coremarko3

The results are as follows

-O0 803.034513

-O3 4093.788532

You can see that the optimization level has a huge impact.

Results comparison

You can view the scores of the corresponding processors from the following address.

https://www.eembc.org/coremark/scores.php

The configuration is similar to imx8M, both are 1.5G, 4-core CORTEX-A53.

Imx8M score is 19678.58

Here it is 4093.788532x4=16375.154128, which is not much different.

Since it runs an operating system and a graphical interface, the score for running on a bare metal machine will actually be higher.

refer to

https://www.eembc.org/coremark/

This post is from Domestic Chip Exchange
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list