当前位置:网站首页>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 .
边栏推荐
- 学习使用php将时间戳转换为大写日期的方法代码示例
- Kibana basic operation
- How to choose a third-party software testing organization for automated acceptance testing of mobile applications
- The traversal methods of binary tree mainly include: first order traversal, middle order traversal, second order traversal, and hierarchical traversal. First order, middle order, and second order actu
- 14_Redis_乐观锁
- Map introduction
- 14_ Redis_ Optimistic lock
- HUSTPC2022
- 二叉树的遍历方式主要有:先序遍历、中序遍历、后序遍历、层次遍历。先序、中序、后序其实指的是父节点被访问的次序。若在遍历过程中,父节点先于它的子节点被访问,就是先序遍历;
- TiDB 环境与系统配置检查
猜你喜欢

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

表格响应式布局小技巧

21_ Redis_ Analysis of redis cache penetration and avalanche
![[noi simulation] Elis (greedy, simulation)](/img/a2/f8c8ab3bc8dd779327be3f76990976.png)
[noi simulation] Elis (greedy, simulation)

Btrace- (bytecode) dynamic tracking tool

6.12 企业内部upp平台(Unified Process Platform)的关键一刻

List集合&UML图

07_ Hash

基于RZ/G2L | OK-G2LD-C开发板存储读写速度与网络实测

08_ 串
随机推荐
TiDB 软件和硬件环境建议配置
18_ Redis_ Redis master-slave replication & cluster building
Tidb hybrid deployment topology
Facing the challenge of "lack of core", how can Feiling provide a stable and strong guarantee for customers' production capacity?
损失函数与正负样本分配:YOLO系列
20_ Redis_ Sentinel mode
Tidb environment and system configuration check
C语言实现N皇后问题
vChain: Enabling Verifiable Boolean Range Queries over Blockchain Databases(sigmod‘2019)
原则、语言、编译、解释
02_线性表_顺序表
05_ queue
Application and practice of Jenkins pipeline
07_哈希
记一次面试
数据库内容输出有问题怎么解决
可视化搭建页面工具的前世今生
04.进入云原生后的企业级应用构建的一些思考
php获取数组中键值最大数组项的索引值的方法
10_ Redis_ geospatial_ command