作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (8): 52-54. doi: 10.3969/j.issn.1000-3428.2010.08.018

• 软件技术与数据库 • 上一篇    下一篇

基于JBD的日志型文件系统性能优化

陈 颖,奚宏生   

  1. (中国科学技术大学网络传播系统与控制联合实验室,合肥 230027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-04-20 发布日期:2010-04-20

Performance Optimization of Journaling File System Based on JBD

CHEN Ying, XI Hong-sheng   

  1. (Joint Lab of Network Communication System & Control, University of Science and Technology of China, Hefei 230027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-04-20 Published:2010-04-20

摘要: 针对EXT3在嵌入式平台等易发生断电或系统崩溃的环境下频繁出现系统错误的问题,提出对日志块设备层(JBD)的改进方法,在不影响内核中其他功能前提下,采用同步写入的策略代替原始的异步缓冲机制,以提高文件系统的稳定性和应对上述突发事件的能力。实验结果表明,改进后的算法与原有算法相比,出错率明显降低。

关键词: Linux系统, 日志块设备层, 文件系统, 性能优化

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

中图分类号: