首页> 外文学位 >Revolutionizing Storage Stack for Persistent Memories with NOVA File System
【24h】

Revolutionizing Storage Stack for Persistent Memories with NOVA File System

机译:使用NOVA文件系统彻底改变持久性存储的存储堆栈

获取原文
获取原文并翻译 | 示例

摘要

Fast non-volatile memories (NVMs) are appearing on the processor memory bus alongside DRAM, becoming non-volatile main memories (NVMMs). The resulting hybrid memory systems will provide software with low-latency, high-bandwidth access to persistent data. However, managing, accessing, maintaining consistency and providing protection for data stored in NVMM raises a host of challenges. Existing file systems built for spinning or solid-state disks introduce software overheads that would obscure the performance that NVMs should provide, but proposed NVMM file systems for either incur similar overheads or fail to provide the strong consistency and integrity guarantees that applications require.;This thesis first presents NOVA, a log-structured file system designed to maximize performance on hybrid memory systems while providing strong consistency guarantees. NOVA adapts conventional log-structured file system techniques to exploit the fast random access that NVMs provide. In particular, it maintains separate logs for each inode to improve concurrency, appends fine-grained metadata to the log to provide low-overhead atomicity, and stores file data outside the log to minimize log size and reduce garbage collection costs. NOVA's logs provide metadata and data atomicity and focus on simplicity and reliability, keeping complex metadata structures in DRAM to accelerate lookup operations. For operations that span multiple logs, NOVA uses lightweight journaling to provide fast atomic transaction semantics. In case of system failure, the per-inode logging design provides vast parallelism and fast recovery.;NOVA excels in metadata-intensive and write-intensive workloads. Experimental results show that NOVA provides 22% to 216x throughput improvement compared to state-of-the-art file systems, and 3.1x to 13.5x improvement compared to file systems that provide equally strong data consistency guarantees.;NVMM has different failure models from disks and SSDs. Disk I/O errors are not vital for the operating system, but memory errors can hang the entire OS. Persistent memory makes the issue worse: the error is durable and system reboot cannot remove it. How to handle persistent memory errors is still an open question. This thesis presents NOVA-Fortis, a fault-tolerant file system that based on NOVA and is both fast and resilient in the face of corruption due to media errors and software bugs. We identify and propose solutions for the unique challenges in adding fault tolerance and reliability techniques to a NVMM filesystem, and quantify the performance and storage overheads of these techniques. We find that NOVA-Fortis' reliability features consume 14.8% of the storage for redundancy and reduce application-level performance by between 2% and 38% compared to the same file system with the features removed. NOVA-Fortis outperforms DAX-aware file systems without reliability features by 1.5x on average. It outperforms reliable, block-based file systems running on NVMM by 3x on average.;Finally, the thesis evaluates existing applications and analyzes their access patterns to the file system. It finds out that existing NVMM file systems such as ext4-DAX and xfs-DAX do not perform well under applications' typical access patterns, like write-ahead logging (WAL). The thesis resolves the issue for both applications and file systems. On the application side, this thesis optimizes the access patterns and avoids the operations that result in high overhead. From the file system perspective, the thesis proposes a new fine-grained, scalable journaling module design for ext4 and improves the WAL performance of databases and key-value stores. The thesis also analyzes the file system scalabilty and NUMA impact on a multi-socket, multi-core machine, proposes and implements several solutions to fix the scalability and NUMA impact issues.
机译:快速非易失性存储器(NVM)与DRAM一起出现在处理器存储器总线上,成为非易失性主存储器(NVMM)。最终的混合存储系统将为软件提供对持久数据的低延迟,高带宽访问。但是,管理,访问,维护一致性并为NVMM中存储的数据提供保护提出了许多挑战。现有的用于旋转磁盘或固态磁盘的文件系统引入了软件开销,这些开销会掩盖NVM应该提供的性能,但是建议的NVMM文件系统要么会产生类似的开销,要么无法提供应用程序所需的强大一致性和完整性保证。论文首先介绍了NOVA,这是一种日志结构的文件系统,旨在在提供强大一致性保证的同时最大程度地提高混合存储系统的性能。 NOVA调整了传统的日志结构文件系统技术,以利用NVM提供的快速随机访问。特别是,它为每个索引节点维护单独的日志以提高并发性,将细粒度的元数据添加到日志以提供低开销的原子性,并在日志外部存储文件数据以最小化日志大小并减少垃圾收集成本。 NOVA的日志提供元数据和数据原子性,并专注于简单性和可靠性,将复杂的元数据结构保留在DRAM中以加快查找操作。对于跨越多个日志的操作,NOVA使用轻量级日记来提供快速的原子事务语义。万一系统出现故障,每个节点的日志记录设计可提供巨大的并行性和快速的恢复能力。NOVA在元数据密集型和写入密集型工作负载方面表现出色。实验结果表明,与最先进的文件系统相比,NOVA的吞吐量提高了22%至216倍,与提供同样强大的数据一致性保证的文件系统相比,其提高了3.1倍至13.5倍。磁盘和SSD。磁盘I / O错误对于操作系统而言并不重要,但是内存错误可能会挂起整个操作系统。永久内存使问题变得更糟:错误是持久的,系统重新启动无法将其删除。如何处理持久性内存错误仍然是一个悬而未决的问题。本文介绍了NOVA-Fortis,这是一个基于NOVA的容错文件系统,在由于媒体错误和软件错误而导致的损坏面前既快速又具有弹性。我们确定并提出解决方案,以应对向NVMM文件系统添加容错和可靠性技术的独特挑战,并量化这些技术的性能和存储开销。我们发现,与相同功能的文件系统相比,NOVA-Fortis的可靠性功能消耗了14.8%的存储空间以实现冗余,并将应用程序级性能降低了2%到38%。 NOVA-Fortis在没有可靠性功能的情况下,性能比DAX-wares文件系统平均高出1.5倍。它比在NVMM上运行的可靠的基于块的文件系统的性能平均要高出3倍。最后,本文对现有应用程序进行了评估,并分析了它们对文件系统的访问模式。它发现,现有的NVMM文件系统(例如ext4-DAX和xfs-DAX)在应用程序的典型访问模式(如预写日志记录(WAL))下表现不佳。本文解决了应用程序和文件系统的问题。在应用程序方面,本文优化了访问模式,避免了导致高开销的操作。从文件系统的角度出发,本文针对ext4提出了一种新的细粒度,可伸缩的日志记录模块设计,并提高了数据库和键值存储的WAL性能。本文还分析了文件系统的可扩展性和NUMA对多插槽,多核计算机的影响,提出并实现了几种解决方案,以解决可伸缩性和NUMA影响问题。

著录项

  • 作者

    Xu, Jian.;

  • 作者单位

    University of California, San Diego.;

  • 授予单位 University of California, San Diego.;
  • 学科 Computer science.;Computer engineering.
  • 学位 Ph.D.
  • 年度 2018
  • 页码 136 p.
  • 总页数 136
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号