1740 views|0 replies

501

Posts

4

Resources
The OP
 

Mir MYC-YT507 development board review: Performance test 3: Storage performance test [Copy link]

 

Preface

For more and more high-end embedded chips, especially high-performance CPUs used in automotive human-machine, AI, edge computing and other scenarios, their comprehensive performance is a focus. We have previously conducted coremark tests on CPUs, and their performance is similar to similar chips from major international chip manufacturers. The performance of the board is not only related to the CPU, but the image storage part is also a very important part in general, so we conduct performance tests on the storage part.

RAM Performance Test

In WSL

git clone

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

cd STREAM/

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

aarch64-linux-gnu-gcc -O3 stream.c -o stream

cp stream /mnt/e Export to WINDOWS, download to the development board

chmod +x stream

./stream

The results are as follows

Reference https://www.cs.virginia.edu/stream/ref.html

RAM Stress Test

Reference https://pyropus.ca./software/memtester/

wget https://pyropus.ca./software/memtester/old-versions/memtester-4.5.1.tar.gz

tar -xvf memtester-4.5.1.tar.gz

cd memtester-4.5.1/

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

aarch64-linux-gnu-gcc -O3 memtester.c tests.c -o memtester

cp memtester /mnt/e

Export to WINDOWS, download to the development board

chmod +x memtester

./memtester

The running results are as follows. By default, the test continues. You can specify the number of tests at the end.

for example

./memtester 512M 1

512M indicates the test RAM size

1 means test once

In addition, you can also use -p to directly specify the physical address, which is suitable for testing bare metal code directly specifying the physical address during the board development phase.

For RAM, we usually pay attention to its reliability, and usually consider comparative testing under different temperatures, electromagnetic environments, etc. However, due to limited conditions here, I will not conduct any tests.

EMMC performance test

Check EMMC version

Among them, mmc0: new high speed MMC card at address 0001 indicates the clock mode supported by the eMMC device:

Speed Mode

clock (MHz)

Default Speed

26

High Speed SDR

52

High Speed DDR

52

HS200

200

HS400

200

SDR : Single Edge Sampling

DDR: Double-edge sampling

Among them, mmcblk0boot0, mmcblk0boot1, mmcblk0rpmb are physical partitions

So the theoretical maximum throughput of x8-bit here should be 52MB/S.

Type df and press Enter

We see that EMMC has two partitions

/dev/mmcblk0p4

/dev/mmcblk0p8

Type mount and press Enter

We see that the two partitions are mounted separately

/root directory

and

/media

ls /media shows that there are no files in it

Let's take /media /dev/mmcblk0p8 as a test

Test Command

read

dd if=/dev/mmcblk0p8 of=/dev/null bs=block size count=number of blocks

Write

dd if=/dev/zero of=/media/test.bin bs=block size count=number of blocks

The test record is as follows

bs/count 1GB

instruction

result

read

16k/65536

time dd if=/dev/mmcblk0p8 of=/dev/null bs=16k count=65536

45.124MB/S

4k/262144

time dd if=/dev/mmcblk0p8 of=/dev/null bs=4k count=262144

45.118MB/S

1k/1048576

time dd if=/dev/mmcblk0p8 of=/dev/null bs=1k count=1048576

45.096MB/S

Write

16k/65536

time dd if=/dev/zero of=/media/test.bin bs=16k count=65536

33.524MB/S

4k/262144

time dd if=/dev/zero of=/media/test.bin bs=4k count=262144

33.379MB/S

1k/1048576

time dd if=/dev/zero of=/media/test.bin bs=1k count=1048576

32.395MB/S

From the above test, we can see that the read throughput is not much different from the maximum 52MB/S, and the write rate is also 33MB/S, which is a good performance.

SD card performance test

Similar to the EMMC test method, and related to the SD rate, it is no longer tested here.

Summarize

The performance of key storage devices such as RAM and EMMC is also good, which can meet the needs of various high-performance application scenarios such as edge computing, human-computer interaction, and automotive.

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