The Design and Implementation of Journaling Filesystem on KYLIN
- Author
- ZhangWenJiang
- Advisor
- WuQingBo
- School
- National University of Defense Science and Technology
- Major
- Software Engineering
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 100
- Citations
- 2
Abstract
The filesystem is an important part of a modern operating system. It is crucial that the filesystem is reliable and fast, in order to meet today’s demands. However it is still possible that computers shut down unexpectedly as the result of hardware or software failures or because of power outages. When this happens, traditional filesystems have to scan through the whole filesystem content, to find inconsistencies. On large partitions this process, of recovering to a consistent state, can take very long and for huge partitions it can take many hours. For many appliances this is not acceptable, so we need a mechanism to speed up this lengthy recovery process after an unclean system shutdown. This mechanism is provided by journaling filesystems which can recover to a consistent state in several seconds.Now, Redhat Enterprise Linux AS with EXT3, Novell SuSE linux with ReiserFS, SGI IRIX with XFS and IBM AIX with JFS, joumaling filesystem has become a very important part of server operating system. However Kylin still does not have a good joumaling filesystem and it is emergent to design and implement a reliable and fast joumaling filesystem on Kylin.Firstly, this paper analyses the features of popular journaling filesystems and the Kylin’s kernel frame, especially Kylin’s filesystem and virtual filesystem. Secondly, we design and implement KFS joumaling filesystem with an eye to the features of Kylin. In order to improve the directory searching performance of KFS, HTree based indexing directory is designed. In order to layout files on a filesystem contiguously, reservation window based allocator is involved. Finally, we analyse the performace of KFS with three benchmarks: Bonnie++, PostMark and Tiobench .
Related dissertations
- Research and Design of BD/GPS Dual-Mode Intelligent Vehicle System
- Design and Implementation of Office Automation System Transplantation Based on the Operating System Kylin
- The Design and Implementation of TPC-C Benchmark on Kylin
- Research and Implementation of Multithreading in the Kylin Operating System
- Research and Implementation on Device Hot-Plug Technologies in Server Operating System
- Research and Implementation of Dynamic Tracing Technology on Kylin
- The Research on Kylin Kernel Integrity Defense Technologies
- Design and Implementation the Medium Player Based on YinHe Kylin (Gnome GUI)
- Research and Implement of Kylin-based Real-Time Data Sharing Software Platform of Power Grid