嵌入式文件系统的随机读取性能优化  被引量:2

Random Read Performance Optimization of Embedded File System

在线阅读下载全文

作  者:杨沧海 张激[1] 左龙 Yang Canghai;Zhang Ji;Zuo Long(East-China Institute of Computing Technology,Shanghai 201808,China)

机构地区:[1]华东计算技术研究所,上海201808

出  处:《单片机与嵌入式系统应用》2021年第6期52-56,共5页Microcontrollers & Embedded Systems

摘  要:本文通过整体分析随机读写和文件缓冲区具体实现过程,提出取消在文件指针移动时文件缓冲区释放和状态改变的机制,添加根据读取文件和原文件大小动态改变文件缓冲区尺寸的随机读取优化方法,并建立随机读取性能模型,验证此方法的可行性和推导动态文件缓冲区最佳尺寸。最后搭建嵌入式文件系统测试平台,成功完成该优化方法的两种情况验证,验证结果表明该随机读取优化方法能有效提升嵌入式文件系统在使用文件缓冲区时随机读取性能。Through the overall analysis of the specific implementation process of random read-write and file buffer,this paper proposes to cancel the mechanism of file buffer release and state change when the file pointer moves,and add a random read optimization method that dynamically changes the size of file buffer according to the size of read file and original file.The random read performance model is established to verify the feasibility of this method and deduce the optimal size of dynamic file buffer.Finally,an embedded file system test platform is built to verify the two cases of the optimization method,which shows that the random read optimization method can effectively improve the random read performance of embedded file system when using file buffer.

关 键 词:嵌入式文件系统 随机读取 动态文件缓冲区 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象