当前位置:网站首页>1. Mx6ul core module uses serial NAND FLASH read / write test (III)
1. Mx6ul core module uses serial NAND FLASH read / write test (III)
2022-07-26 02:09:00 【szembed】
The following is already in Iot-6ULX/EVB-6ULX The verification on the platform passed ,Iot-6ULX/EVB-6ULX Introduce the following :

2 Nand Flash Read and write test
test Nand Flash/eMMC Reading and writing speed , Mainly used dd Instructions . Instructions :
dd Used to copy , Copy a file in a block of a specified size . from if(input file) File read out , writes of(output file) Specified file ,bs Is the size of each write block ,count Is the number of read-write blocks ."if=/dev/zero" Do not produce IO, That is, data can be output continuously , So it can be used to test pure write speed .
2.1 Nand Flash Write speed test
Nand Flash The root file system contains multiple directories , We need to select one of these directories to test . You can execute the following instructions to view the directories contained in the root directory .
[email protected] ~# cd / // Go to the root directory
roo[email protected] /# pwd // View the current directory
[email protected] /# ls // Displays the files and directories in the current directory

Contents under the root directory
As you can see from the above figure , The root directory contains several subdirectories . among ,root The directory is the default directory when the system logs in ( Home directory ). During the test , We enter root Test under the directory .
[email protected] /# cd /root // Enter root Catalog
[email protected] ~# pwd // View the current directory

Enter into root Under the table of contents
Use dd Command to root Write data to directory , And generate largefile file , File size is 80 MiB, Test write speed .
[email protected] ~# dd if=/dev/zero of=./largefile bs=8k count=10240 conv=fdatasync

Nand Flash Write speed test
From the information displayed on the terminal , The size of the file written is 80MiB, Speed is 36.2MB/s.
1.2.2 Nand Flash Read speed test
explain : because Linux Kernel mechanism of , Generally, there is no need to release the used cache. these cache Content can increase the reading and writing speed of files .
The test process is to be able to test from Nand Flash Accurate speed of reading data in , So you need to clear the cache first .
Execute the following instructions , Clear cache :
[email protected] ~# sh -c "sync && echo 3 > /proc/sys/vm/drop_caches" // Clear page cache , Catalog entries and inode

Clear cache
Again using dd The instruction reads with dd Instructions written largefile file , Test the reading speed :
[email protected] ~# dd if=./largefile of=/dev/null bs=8k

Nand Flash Read speed test
From the information displayed on the terminal , The read file size is 80MiB, Speed is 33.6MB/s.
After the test is completed , Delete the test file with instructions :
[email protected] ~# ls -alh largefile // see largefile file
[email protected] ~# rm largefile // remove largefile file

Delete test file
边栏推荐
- 2022-07-17
- Redis集群搭建(基于6.x)
- What are the functions of cloud notes, and how do browsers add cloud note plug-ins
- [paper reading] coat: CO scale conv attentional image transformers
- Web3.0 blog DAPP development practice [2022]
- SQLyog数据导入导出图文教程
- MySQL locking table problem
- Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington
- Make and makefile summary II
- Error reporting caused by local warehouse
猜你喜欢

Ti AM335X工控模块矩阵键盘电路的设计与驱动移植

PHP Alipay transfer to Alipay account

Activiti workflow gateway

【2019】【论文笔记】基于超材料可调谐THz宽频吸收——

1. Mx6ul core module serial WiFi test (VIII)

Why does the debugger display the wrong function

TI AM335x工控模块网络跟文件系统NFS的实现

ggplot2学习总结

【2020】【论文笔记】磁控溅射法生长Bi2Te3/CoFeB双层异质结——

E. Split into two sets
随机推荐
Slow query log in MySQL
Navica tool imports remote MySQL into local MySQL database
Design and driver transplantation of matrix keyboard circuit of Ti am335x industrial control module
【LeetCode】32、 最长有效括号
【2021】【论文笔记】红外及THz下的细胞膜生物效应——效应是现象,作用是机理——THz对医学的好处
1. Mx6ul core module uses serial can and buzzer test (XI)
[C language brush leetcode] 146. LRU cache (m)
达梦数据库表导入导出按钮灰色,导入不了dmp文件
Dqn pytoch example
HTC手机官解、S-ON/S-OFF与超级CID的关系
CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"
I.MX6UL核心模块使用连载-触摸屏校准 (九)
1205 Lock wait timeout exceeded; try restarting transaction处理
Dest0g3 520 orientation (under update)
1. Mx6ul core module serial WiFi test (VIII)
Common shell operations in Phoenix
[C language brush leetcode] 443. Compressed string (m)
MySQL transaction isolation level
Make and makefile summary II
Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington