瑞萨G2L A55核心板内存读写速率测试报告
瑞萨G2L A55核心板内存读写速率测试报告
1、测试目的
测试目的:测试内存的读写速率,即DDR4的性能。
硬件平台:维芯科推出的WTB-G2LS_V02工控板(包含WTC-G2LS_V03核心板)
系统平台:Linux 5.10

图一 WTB-G2LS_V02工控板
2、测试结果
单颗镁光1GB DDR4内存测试结果:1050MB/s
单颗三星512MB DDR4内存测试结果:1060MB/s
3、测试工具
内存带宽测试工具:mbw
Mbw是一个内存带宽测试工具可以测试在字节拷贝,块拷贝,整体拷贝三种不同方式下的内存拷贝速度,程序源码比较简单,便于理解。
获取方式:git clone http://github.com/raas/mbw
使用配套的交叉编译器编译好之后拷贝到机器上运行。
root@weathink:~# ./mbw -h
mbw memory benchmark v1.5, https://github.com/raas/mbw
Usage: mbw [options] array_size_in_MiB
Options:
-n: number of runs per test (0 to run forever)
-a: Don't display average
-t0: memcpy test
-t1: dumb (b[i]=a[i] style) test
-t2: memcpy test with fixed block size
-b
-q: quiet (print statistics only)
(will then use two arrays, watch out for swapping)
'Bandwidth' is amount of data copied over the time this operation took.
The default is to run all tests available.
root@weathink:~#
4、测试过程
4.1、测试单颗镁光1GB DDR4
对单颗镁光1GB DDR4进行内存读写速率测试。
使用命令:
./mbw -q -n 10 256
-n 表示测试的次数
256 表示测试的内存大小为256MB

图二 1GB DDR4 测试速率
详细测试报告参考下载链接
https://www.weathink.cn/service/xiazai/wendang/7.html
EN