Abstract:
Improvement of the Journaling Block Device(JBD), which replaces original mechanism of buffered asynchronous data writing with synchronous data writing, is presented in this paper for frequent system errors from EXT3 file system on the unstable platform like embedded system where there are often power failures and system collapses. It is meant to improve the stability and fault-tolerance ability for file system to handle emergency without affecting other kernel functions. Results of experiment show the obvious decrease of error rate.
Key words:
Linux,
Journaling Block Device(JBD),
file system,
performance optimization
摘要: 针对EXT3在嵌入式平台等易发生断电或系统崩溃的环境下频繁出现系统错误的问题,提出对日志块设备层(JBD)的改进方法,在不影响内核中其他功能前提下,采用同步写入的策略代替原始的异步缓冲机制,以提高文件系统的稳定性和应对上述突发事件的能力。实验结果表明,改进后的算法与原有算法相比,出错率明显降低。
关键词:
Linux系统,
日志块设备层,
文件系统,
性能优化
CLC Number:
CHEN Ying; XI Hong-sheng. Performance Optimization of Journaling File System Based on JBD[J]. Computer Engineering, 2010, 36(8): 52-54.
陈 颖;奚宏生. 基于JBD的日志型文件系统性能优化[J]. 计算机工程, 2010, 36(8): 52-54.