Kernel/User-level Collaborative Persistent Memory File System with Efficiency and Protection

08/28/2019
by   Youmin Chen, et al.
0

Emerging high performance non-volatile memories recall the importance of efficient file system design. To avoid the virtual file system (VFS) and syscall overhead as in these kernel-based file systems, recent works deploy file systems directly in user level. Unfortunately, a userlevel file system can easily be corrupted by a buggy program with misused pointers, and is hard to scale on multi-core platforms which incorporates a centralized coordination service. In this paper, we propose KucoFS, a Kernel and user-level collaborative file system. It consists of two parts: a user-level library with direct-access interfaces, and a kernel thread, which performs metadata updates and enforces write protection by toggling the permission bits in the page table. Hence, KucoFS achieves both direct-access of user-level designs and fine-grained write protection of kernel-level ones. We further explore its scalability to multicores: For metadata scalability, KucoFS rebalances the pathname resolution overhead between the kernel and userspace, by adopting the index offloading technique. For data access efficiency, it coordinates the data allocation between kernel and userspace, and uses range-lock write and lock-free read to improve concurrency. Experiments on Optane DC persistent memory show that KucoFS significantly outperforms existing file systems and shows better scalability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/23/2019

SplitFS: Reducing Software Overhead in File Systems for Persistent Memory

We present SplitFS, a file system for persistent memory (PM) that reduce...
research
07/26/2017

Analyzing IO Amplification in Linux File Systems

We present the first systematic analysis of read, write, and space ampli...
research
01/07/2019

Building Atomic, Crash-Consistent Data Stores with Disaggregated Persistent Memory

Byte-addressable persistent memories (PM) has finally made their way int...
research
03/31/2020

A File System For Write-Once Media

A file system standard for use with write-once media such as digital com...
research
04/18/2021

FOX: Hardware-Assisted File Auditing for Direct Access NVM-Hosted Filesystems

With emerging non-volatile memories entering the mainstream market, seve...
research
05/26/2019

TEE-aided Write Protection Against Privileged Data Tampering

Unauthorized data alteration has been a longstanding threat since the em...
research
05/22/2022

Protecting File Activities via Deception for ARM TrustZone

A TrustZone TEE often invokes an external filesystem. While filedata can...

Please sign up or login with your details

Forgot password? Click here to reset