当前位置:网站首页>Storage read-write speed and network measurement based on rz/g2l | ok-g2ld-c development board
Storage read-write speed and network measurement based on rz/g2l | ok-g2ld-c development board
2022-07-02 15:25:00 【Feiling embedded】
Last month, Xiaobian targeted OK-G2LD-C The stability of this board 、 Power consumption and startup are quickly evaluated , Answer questions for you .
Today, Xiaobian brought you 【 Phase II evaluation 】—— in the light of OK-G2LD-C Development board Storage read-write speed and Gigabit network bandwidth To test . I believe it can help you engineers to have a deeper understanding of this board .
Storage read-write speed test
1.eMMC Read and write test
OK-G2LD-C Platform eMMC By default, it runs on HS200 Pattern , The working seat width is 8. Here's a simple test eMMC Reading and writing speed , Here we read and write ext4 File systems, for example .
Write test :
[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/sRead test :
[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/sFrom the above we can see that ,eMMC The write speed of is 67.1MB/s, The read speed is 80.7 MB/s.
2.TF Card reading and writing test
OK-G2LD-C Platform TF The card runs on by default SDR104 Pattern , The working seat width is 4, Here's a simple test TF The reading and writing speed of the card , We still read and write ext4 File systems, for example .
Write test :
[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/sRead test :
[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/sThrough the above test, we can see that ,TF The write speed of the card is 4.9 MB/s, The read speed is 35.7 MB/s.
3.USB 2.0 Read and write test
OK-G2LD-C Support two USB2.0 Interface , Users can be on any board USB HOST Connection on interface USB mouse 、USB keyboard 、U Panel and other equipment , And support the hot plug of the above devices . Here we read and write USB2.0 Interface U Disk as an example .
Write test :
[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/sRead test :
[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/sThrough the above test results, we can see ,USB2.0 The write speed of is 5.9 MB/s, The read speed is 35.9MB/s.
4.DDR Bandwidth test
Perform test operations
[email protected]:~# memory_bandwidth.shThe printed information is as follows :


OK-G2LD-C Of DDR4 The bandwidth is shown in the figure above , Read bandwidth 2765Mb/s, The read bandwidth is about 891Mb/s.
Network testing
Network streaming test
OK-G2LD-C The development board is equipped with two gigabit network ports , Xiaobian uses iperf3 Streaming test its actual network bandwidth .
[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 receiverThis test uses OK-G2LD-C Development board and OK1028-C The Gigabit network port of the development board is tested , among OK-G2LD-C Development board as client ,OK1028-C Development board as a server . From the above data, we can see , The transmission bandwidth of gigabit network port is actually about 480 MBytes.
The above is what Xiaobian brought to you OK-G2LD-C Test the read and write speed of the development board storage and the actual bandwidth of the Gigabit network port , I hope it can be helpful to all the engineers .
边栏推荐
- 07_ Hash
- 飞凌嵌入式RZ/G2L处理器核心板及开发板上手评测
- Leetcode - Search 2D matrix
- Set set you don't know
- 表格响应式布局小技巧
- 13_Redis_事务
- Implementation of n queen in C language
- How to choose a third-party software testing organization for automated acceptance testing of mobile applications
- TiDB 环境与系统配置检查
- JVM architecture, classloader, parental delegation mechanism
猜你喜欢

Markdown tutorial

07_ Hash

学习使用php将时间戳转换为大写日期的方法代码示例

JVM architecture, classloader, parental delegation mechanism

06_ Stack and queue conversion

04_ Stack

Guangzhou Emergency Management Bureau issued a high temperature and high humidity chemical safety reminder in July

搭载TI AM62x处理器,飞凌FET6254-C核心板首发上市!

损失函数与正负样本分配:YOLO系列

20_Redis_哨兵模式
随机推荐
TiDB跨数据中心部署拓扑
Points clés de l'examen de principe de compilation pour l'année scolaire 2021 - 2022 [Université chinoise d'outre - mer]
Printf function and scanf function in C language
做好抗“疫”之路的把关人——基于RK3568的红外热成像体温检测系统
基于RZ/G2L | OK-G2LD-C开发板存储读写速度与网络实测
Markdown tutorial
学习使用php将时间戳转换为大写日期的方法代码示例
Learn the method code example of converting timestamp to uppercase date using PHP
How to avoid 7 common problems in mobile and network availability testing
How to write sensor data into computer database
IE 浏览器正式退休
03_線性錶_鏈錶
Principles, language, compilation, interpretation
03_ Linear table_ Linked list
Guangzhou Emergency Management Bureau issued a high temperature and high humidity chemical safety reminder in July
18_ Redis_ Redis master-slave replication & cluster building
使用 TiUP 部署 TiDB 集群
06_栈和队列转换
[C language] explain the initial and advanced levels of the pointer and points for attention (1)
学习使用php实现公历农历转换的方法代码