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