当前位置:网站首页>瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
2022-07-03 00:02:00 【ningmengzier】
本篇文章基于飞凌嵌入式OK-G2LD-C开发板,针对其存储读写速度和千兆网带宽进行测试。相信能够帮助各位工程师小伙伴更加深入地了解这套板卡。
存储读写速度测试
1.eMMC读写测试
OK-G2LD-C平台的eMMC默认运行于HS200 模式,工作位宽为8。下面简单测试eMMC的读写速度,这里我们以读写ext4 文件系统为例。
写入测试:
[email protected]:~# dd if=/dev/zero of=/test bs=1M count= 500 conv=fsync
500+0 records in
500+0 records out
524288000 bytes (524 MB)copied, 7.81532s, 67.1MB/s
读取测试:
[email protected]:~# dd if=/test of=/dev/null bs=1M count= 500 conv=fsync
500+0 records in
500+0 records out
524288000 bytes (524 MB)copied, 6.49422s,80.7MB/s
通过以上可以看到,eMMC的写入速度为67.1MB/s,读取速度为80.7 MB/s。
2.TF卡读写测试
OK-G2LD-C平台的TF卡默认运行于SDR104模式,工作位宽为4,下面简单测试TF卡的读写速度,我们仍然以读写ext4文件系统为例。
写入测试:
[email protected]:~# dd if=/dev/zero of=/run/media/mmcblk1p1/test bs=1M count=500 conv=fsync \oflag=direct
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 107.154s, 4.9MB/s
读取测试:
[email protected]:~# dd if=/run/media/mmcblk1p1/test of=/dev/null bs=1M iflag=direct
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.7009s, 35.7MB/s
通过以上测试可以看到,TF卡的写入速度为4.9 MB/s,读取速度为35.7 MB/s。
3.USB2.0读写测试
OK-G2LD-C支持两个USB2.0接口,用户可以在任何一个板载USB HOST接口上连接USB鼠标、USB键盘、U盘等设备,并且支持以上设备的热插拔。这里我们以读写USB2.0接口的U盘为例。
写入测试:
[email protected]:~# dd if=/dev/zero of=/run/media/sda1/test bs=1M count=50 conv = fsync \oflag=direct
50+0 records in
50+0 records out
52428800 bytes (52 MB) copied, 8.81593s, 5.9MB/s
读取测试:
[email protected]:~# dd if=/run/media/sda1/test of=/dev/null bs=1M iflag=direct
50+0 records in
50+0 records out
52428800 bytes (52 MB) copied, 1.46226s, 35.9MB/s
通过以上测试结果可以看到,USB2.0的写入速度为5.9 MB/s,读取速度为35.9MB/s。
4.DDR带宽测试
执行测试操作
[email protected]:~# memory_bandwidth.sh
打印信息如下:
OK-G2LD-C的DDR4带宽如上图所示,读取带宽2765Mb/s,读入带宽约为891Mb/s。
网络测试
网络打流测试
OK-G2LD-C开发板搭载两个千兆网口,小编使用iperf3打流测试其实际网络带宽。
[email protected]:~# iperf3 -c 192.168.0.2 -i 5 -t 60
Connecting to host 192.168.0.2, port 5201
[ 5] local 192.168.0.232 port 39804 connected to 192.168.0.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-5.00 sec 38.3 MBytes 64.3 Mbits/sec 1736 1.41 KBytes
[ 5] 5.00-10.00 sec 44.2 MBytes 74.2 Mbits/sec 1785 4.24 KBytes
[ 5] 10.00-15.00 sec 67.7 MBytes 114 Mbits/sec 2741 2.83 KBytes
[ 5] 15.00-20.00 sec 26.0 MBytes 43.6 Mbits/sec 1043 1.41 KBytes
[ 5] 20.00-25.00 sec 53.2 MBytes 89.2 Mbits/sec 2054 2.83 KBytes
[ 5] 25.00-30.00 sec 42.4 MBytes 71.2 Mbits/sec 2030 2.83 KBytes
[ 5] 30.00-35.00 sec 44.1 MBytes 74.0 Mbits/sec 2085 5.66 KBytes
[ 5] 35.00-40.00 sec 32.3 MBytes 54.2 Mbits/sec 1528 1.41 KBytes
[ 5] 40.00-45.00 sec 33.6 MBytes 56.4 Mbits/sec 1671 11.3 KBytes
[ 5] 45.00-50.00 sec 45.1 MBytes 75.6 Mbits/sec 2151 1.41 KBytes
[ 5] 50.00-55.00 sec 28.1 MBytes 47.1 Mbits/sec 1388 1.41 KBytes
[ 5] 55.00-60.00 sec 24.7 MBytes 41.5 Mbits/sec 1222 2.83 KBytes
- - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 480 MBytes 67.1 Mbits/sec 21434 sender
[ 5] 0.00-60.00 sec 479 MBytes 67.0 Mbits/sec receiver
此次测试使用OK-G2LD-C开发板和OK1028-C开发板的千兆网口进行对测,其中OK-G2LD-C开发板作为客户端,OK1028-C开发板作为服务端。通过以上数据可以看到,千兆网口的传输带宽实际约为480 MBytes。
以上就是小编为大家带来的OK-G2LD-C开发板存储读写速度和千兆网口实际带宽的测试,希望能够对各位工程师小伙伴有所帮助。
边栏推荐
- 指针初阶(基础)
- Illustrated network: what is virtual router redundancy protocol VRRP?
- leetcode-2115:从给定原材料中找到所有可以做出的菜
- Logback configuration file
- 【AutoSAR 七 工具链简介】
- Win10 多种方式解决无法安装.Net3.5的问题
- 【AutoSAR 三 RTE概述】
- One of the reasons why setinterval timer does not take effect in ie: the callback is the arrow function
- The most painful programming problem in 2021, adventure of code 2021 Day24
- Advanced pointer (I)
猜你喜欢
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
Rust字符串切片、结构体和枚举类
【AutoSAR 七 工具链简介】
Test shift right: Elk practice of online quality monitoring
MySQL 23 classic interview hanging interviewer
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
ftrace工具的介绍及使用
Vulkan practice first bullet
2022中国3D视觉企业(引导定位、分拣场景)厂商名单
How to systematically learn machine learning
随机推荐
Liad: the consumer end of micro LED products is first targeted at TVs above 100 inches. At this stage, it is still difficult to enter a smaller size
Vulkan-性能及精细化
【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(中)-- 搜索建议
1.11 - 总线
利亚德:Micro LED 产品消费端首先针对 100 英寸以上电视,现阶段进入更小尺寸还有难度
[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)
指针进阶(一)
leetcode-934:最短的桥
Hundreds of continuous innovation to create free low code office tools
图解网络:什么是虚拟路由器冗余协议 VRRP?
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
Nc17059 queue Q
为什么网站打开速度慢?
腾讯云免费SSL证书扩展文件含义
About the practice topic of screen related to unity screen, unity moves around a certain point inside
世平信息首席科学家吕喆:构建以数据和人员为中心的安全能力
Multi process programming (III): message queue
kubernetes资源对象介绍及常用命令(五)-(NFS&PV&PVC)
Vulkan practice first bullet
leetcode-2115:从给定原材料中找到所有可以做出的菜