当前位置:网站首页>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 .
边栏推荐
- HUSTPC2022
- XML Configuration File
- Facing the challenge of "lack of core", how can Feiling provide a stable and strong guarantee for customers' production capacity?
- 16_ Redis_ Redis persistence
- FPGA - clock-03-clock management module (CMT) of internal structure of 7 Series FPGA
- .NET Core 日志系统
- The past and present lives of visual page building tools
- LeetCode_ Sliding window_ Medium_ 395. Longest substring with at least k repeated characters
- 数据分析思维分析方法和业务知识——业务指标
- 【C语音】详解指针进阶和注意点(2)
猜你喜欢

Data analysis thinking analysis methods and business knowledge - business indicators

18_Redis_Redis主从复制&&集群搭建

07_ Hash

YOLOV5 代码复现以及搭载服务器运行

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

Markdown tutorial

Application and practice of Jenkins pipeline

kibana 基础操作

16_ Redis_ Redis persistence

04_ 栈
随机推荐
二叉树的遍历方式主要有:先序遍历、中序遍历、后序遍历、层次遍历。先序、中序、后序其实指的是父节点被访问的次序。若在遍历过程中,父节点先于它的子节点被访问,就是先序遍历;
Common English abbreviations for data analysis (I)
03_线性表_链表
记一次面试
14_Redis_乐观锁
. Solution to the problem of Chinese garbled code when net core reads files
CDN 在游戏领域的应用
Tidb data migration scenario overview
LeetCode_ String_ Simple_ 412.Fizz Buzz
Mavn 搭建 Nexus 私服
Map介绍
Key points of compilation principle examination in 2021-2022 academic year [overseas Chinese University]
17_ Redis_ Redis publish subscription
07_哈希
Tidb cross data center deployment topology
. Net again! Happy 20th birthday
21_ Redis_ Analysis of redis cache penetration and avalanche
编译原理课程实践——实现一个初等函数运算语言的解释器或编译器
Application and practice of Jenkins pipeline
13_ Redis_ affair