当前位置:网站首页>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 .
边栏推荐
- 可视化搭建页面工具的前世今生
- Dragonfly low code security tool platform development path
- 07_哈希
- 【C语言】详解指针的初阶和进阶以及注意点(1)
- 12_Redis_Bitmap_命令
- TiDB混合部署拓扑
- CodeCraft-22 and Codeforces Round #795 (Div. 2)D,E
- vChain: Enabling Verifiable Boolean Range Queries over Blockchain Databases(sigmod‘2019)
- 21_Redis_浅析Redis缓存穿透和雪崩
- Key points of compilation principle examination in 2021-2022 academic year [overseas Chinese University]
猜你喜欢

20_ Redis_ Sentinel mode

FPGA - 7系列 FPGA内部结构之Clocking -03- 时钟管理模块(CMT)

Map介绍

FPGA - clock-03-clock management module (CMT) of internal structure of 7 Series FPGA

How to choose a third-party software testing organization for automated acceptance testing of mobile applications

Dragonfly low code security tool platform development path

Learn the method code example of converting timestamp to uppercase date using PHP

Solve the problem that El radio group cannot be edited after echo

做好抗“疫”之路的把关人——基于RK3568的红外热成像体温检测系统

Data analysis thinking analysis methods and business knowledge - business indicators
随机推荐
CodeCraft-22 and Codeforces Round #795 (Div. 2)D,E
做好抗“疫”之路的把关人——基于RK3568的红外热成像体温检测系统
11_ Redis_ Hyperloglog_ command
Case introduction and problem analysis of microservice
LeetCode_ Sliding window_ Medium_ 395. Longest substring with at least k repeated characters
04_ Stack
Pytorch 保存tensor到.mat文件
I made an istio workshop. This is the first introduction
. Net again! Happy 20th birthday
03_线性表_链表
[solution] educational codeforces round 82
Oracle primary key auto increment
Dragonfly low code security tool platform development path
02_线性表_顺序表
语义分割学习笔记(一)
08_ 串
Mavn 搭建 Nexus 私服
Practice of compiling principle course -- implementing an interpreter or compiler of elementary function operation language
Internet Explorer officially retired
可视化搭建页面工具的前世今生