当前位置:网站首页>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/s
Read 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/s
From 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/s
Read 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/s
Through 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/s
Read 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/s
Through 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.sh
The 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 receiver
This 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 .
边栏推荐
- 04_ 栈
- Mavn builds nexus private server
- Recommended configuration of tidb software and hardware environment
- Tidb hybrid deployment topology
- Let your HMI have more advantages. Fet-g2ld-c core board is a good choice
- Facing the challenge of "lack of core", how can Feiling provide a stable and strong guarantee for customers' production capacity?
- 如何对 TiDB 进行 TPC-C 测试
- 哈夫曼树:(1)输入各字符及其权值(2)构造哈夫曼树(3)进行哈夫曼编码(4)查找HC[i],得到各字符的哈夫曼编码
- 【网络安全】网络资产收集
- Btrace- (bytecode) dynamic tracking tool
猜你喜欢
IE 浏览器正式退休
14_Redis_乐观锁
I made an istio workshop. This is the first introduction
Case introduction and problem analysis of microservice
List set & UML diagram
19_ Redis_ Manually configure the host after downtime
做好抗“疫”之路的把关人——基于RK3568的红外热成像体温检测系统
03_ Linear table_ Linked list
【网络安全】网络资产收集
搭建自己的语义分割平台deeplabV3+
随机推荐
Real estate market trend outlook in 2022
List set & UML diagram
LeetCode_ String_ Simple_ 412.Fizz Buzz
學習使用php實現公曆農曆轉換的方法代碼
学习使用php将时间戳转换为大写日期的方法代码示例
05_ queue
Solution of Queen n problem
XML Configuration File
18_ Redis_ Redis master-slave replication & cluster building
Solve the problem that El radio group cannot be edited after echo
Points clés de l'examen de principe de compilation pour l'année scolaire 2021 - 2022 [Université chinoise d'outre - mer]
N皇后问题的解决
Practice of compiling principle course -- implementing an interpreter or compiler of elementary function operation language
07_哈希
HUSTPC2022
Oracle primary key auto increment
19_Redis_宕机后手动配置主机
Sharp tool SPL for post SQL calculation
Facing the challenge of "lack of core", how can Feiling provide a stable and strong guarantee for customers' production capacity?
Tidb environment and system configuration check