当前位置:网站首页>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
边栏推荐
- The import and Export button of Damon database table is gray, and the DMP file cannot be imported
- 一款可插拔的AM335X工控模块板载wifi模块
- Acwing 379. hide and seek problem solution (minimum path non repeating point coverage)
- Worthington核酸酶、微球菌相关研究及测定方案
- Postman reported JSON serialization error
- I.MX6UL核心模块使用连载-USB接口测试 (六)
- MPLS knowledge points
- 一种MCU事件型驱动C框架
- Worthington木瓜蛋白酶丨从纯化的蛋白聚糖生产糖肽(附文献)
- MPLS知识点
猜你喜欢

一款可插拔的AM335X工控模块板载wifi模块

I.MX6UL核心模块使用连载-查看系统信息 (二)

Video game quiz? I think it's useless. It's better to do these well!

National standard gb28181 protocol video platform easygbs message pop-up mode optimization

Composition API的优势

1. Mx6ul core module use serial -rs485 test (x)

i.MX6ULL SNVS电源域GPIO状态保持验证

Implementation of C iterator

mysql 事务隔离级别

TI AM335x工控模块网络跟文件系统NFS的实现
随机推荐
Make and makefile summary I
National standard gb28181 protocol video platform easygbs message pop-up mode optimization
Basic usage of set, map, DOM classlist in ES6
Alibaba cloud redis development specification
还在用==0 null equal 判断空值吗,对isEmpty 和 isBlank有多少了解呢
(CVPR 2019) GSPN: Generative Shape Proposal Network for 3D Instance Segmentation in Point Cloud
I.MX6UL核心模块使用连载-以太网测试 (七)
SQL manual blind injection and error reporting injection
Ti am335x industrial control module uses the Debian system of beaglebone (BBB)
国标GB28181协议视频平台EasyGBS消息弹框模式优化
Advantages of composition API
I.MX6UL核心模块使用连载-eMMC读写测试 (四)
[2021] [paper notes] biological effects of cell membrane under infrared and THz - effect is a phenomenon, action is a mechanism - the benefits of THz to medicine
MySQL transaction isolation level
A MCU event driven C framework
CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"
[C language brush leetcode] 146. LRU cache (m)
D - Dire Wolf (interval DP)
Jupiter notebook reported an error: notebook validation failed: non unique cell ID '2a4xx6' detected
TI AM335x工控模块网络跟文件系统NFS的实现