Computer Engineering and Applications ›› 2016, Vol. 52 ›› Issue (7): 43-49.

Previous Articles     Next Articles

Design and implementation of file system on multi-kernel operating system

WANG Guowei1,2, WANG Caifen1, ZHU Junjie2   

  1. 1.College of Computer Science & Engineering, Northwest Normal University, Lanzhou 730070, China
    2.Research Center of Advanced Computer Systems, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080, China
  • Online:2016-04-01 Published:2016-04-19

复内核操作系统文件系统的设计与实现

王国伟1,2,王彩芬1,朱俊杰2   

  1. 1.西北师范大学 计算机科学与工程学院,兰州 730070
    2.中国科学院计算技术研究所 先进计算机系统研究中心,北京 100080

Abstract: With the increased resource density especially the many-core architecture in a single server, the scalability of an Operating System (OS) and low resource utilizations become serious problems. Operating system researchers have made many efforts in solving these problems by running multiple kernels within a server, including a replicated kernel OS, Popcorn Linux. But for cloud and big data applications, the file system plays an important role in data storage, which is not implemented in Popcorn Linux. It is because file systems in the traditional single-kernel operating system cannot be directly ported to a replicated kernel OS. A new file system is designed for Popcorn Linux. This paper proposes a method of realizing a user space file system, POPFUSE, based on the FUSE (Filesystem in User Space) framework, which allows all kernels to access their respective file systems without needing directly attached disk controllers. The stability of the communication is guaranteed by the way of sharing memory, and that also improves the efficiency of the file system. The paper conducts extensive evaluations on the performance of POPFUSE. The experimental results show that the overall performance of the multi-kernel operating system is improved when using POPFUSE compared to NFS (Network File System).

null

Key words: Filesystem in User Space(FUSE), POPFUSE, file-system, multi-kernel operating system

摘要: 随着云计算、大数据进一步的发展,促使提供计算服务的单个节点的硬件性能不断的提升,但数据中心资源利用率较低,且可扩展性较差的问题始终存在。人们试图从各个方面解决这个问题。复内核操作系统Popcorn Linux就是其中一个比较典型的解决方案。文件系统作为操作系统的重要组成部分,直接影响着数据中心应用的执行效率。传统的文件系统因为磁盘控制器的原因,无法移植到复内核操作系统上,从而难以满足新形势下的需求。针对这个问题,提出了一种全新的适用于复内核操作系统的文件系统POPFUSE。该文件系统基于FUSE框架实现,解决了因磁盘控制器有限,多个内核实例无法同时访问磁盘资源的问题,通过共享内存的方式,保证了通信的稳定,提高了文件系统的效率,进而促进了多个内核的操作系统整体性能的提升。

关键词: FUSE框架, POPFUSE, 文件系统, 复内核操作系统