Re-aligning Across-page Requests for Flash-based Solid-state Drives

Zhigang Cai, Chengyong Tang, Minjun Li, François Trahay, Jun Li, Zhibing Sha, Jiaojiao Wu, Fan Yang, Jianwei LiaoICPP 2023

Abstract

NAND flash-based SSD performance and endurance are often degraded by "across-page requests"—small I/O operations that straddle the boundary between two logical pages. Standard Flash Translation Layers (FTLs) handle these by performing two separate physical writes, leading to significant write amplification. This paper introduces Across-FTL, a novel management layer that identifies these requests and remaps them into a single physical page. Experimental results using real-world VDI traces demonstrate that Across-FTL reduces I/O latency by up to 11.6% and extends drive endurance by up to 19.11% while maintaining a low memory footprint.

Introduction

NAND flash-based SSDs operate using a fixed unit called a "page," typically 8KB or 16KB in size. For optimal performance, I/O requests from the operating system should align perfectly with these physical page boundaries. However, in complex environments like Virtual Desktop Infrastructure (VDI) or cloud computing, requests are often unaligned due to the translation layers between virtual machines and host hardware.

The authors categorize these requests into three types: aligned, unaligned (but within one page), and across-page requests. As illustrated in Figure 1, across-page requests are smaller than a single SSD page but span the boundary of two logical pages.

Taxonomy of I/O requests: Aligned, Unaligned, and Across-page.

The Problem: Write Amplification

The fundamental issue with across-page requests is how they interact with standard FTLs. Because standard FTLs map logical pages to physical pages on a 1-to-1 basis, a single across-page write (e.g., a 6KB write spanning two 8KB logical pages) forces the SSD to perform two separate physical page writes.

As shown in Figure 2, this process involves locating multiple Logical Page Numbers (LPNs), searching the mapping table, and fulfilling the write across two distinct Physical Page Numbers (PPNs). This "write amplification" not only increases latency but also accelerates the physical wear of flash cells, shortening the SSD's lifespan.

Standard FTL mapping of an across-page request, resulting in two physical flash writes.

Methods: The Across-FTL Architecture

To address this, the authors propose Across-FTL, which introduces a targeted remapping strategy:

  • Two-Level Mapping: Across-FTL supplements the standard Page Mapping Table (PMT) with a secondary Across-page Mapping Table (AMT). When an across-page request is detected, the PMT points to an entry in the AMT, which directs the data to a single physical page instead of two.
  • Dynamic Update Policies: The system employs AMerge to consolidate overlapping remapped data into a single page and ARollback to revert to standard mapping if data updates exceed a single page's capacity.
  • Targeted Optimization: Unlike previous sub-page management schemes that attempt to manage all data at a fine granularity, Across-FTL is "lazy" and only applies complex mapping to problematic across-page requests, keeping DRAM overhead manageable.

Evaluation and Key Results

The researchers evaluated Across-FTL using the SSDsim simulator and real-world block I/O traces from enterprise VDI environments. Compared to standard FTL and the state-of-the-art MRSM scheme, Across-FTL achieved:

  • Latency Reduction: Average I/O latency decreased by 8.4% (up to 11.6%).
  • Enhanced Endurance: Erase operations were reduced by 6.4% to 19.11%, directly extending the drive's operational life.
  • Write Efficiency: Flash writes were reduced by an average of 15.9% compared to standard FTL.
  • Low Overhead: The memory footprint of Across-FTL is only 1.4x that of a standard FTL, significantly lower than the 2.4x required by more complex sub-page schemes like MRSM.

Conclusion

Across-FTL provides a practical solution to the "alignment gap" found in modern virtualized workloads. By focusing specifically on across-page requests rather than general sub-page management, it delivers significant improvements in SSD performance and endurance with minimal hardware overhead. Future work will explore the long-term impact of this remapping on garbage collection efficiency in aged drive states.

Summary updated

BibTeX
@inproceedings{cai2023re,
  author = {Zhigang Cai and Chengyong Tang and Minjun Li and François Trahay and Jun Li and Zhibing Sha and Jiaojiao Wu and Fan Yang and Jianwei Liao},
  title = {{Re-aligning Across-page Requests for Flash-based Solid-state Drives}},
  booktitle = {ICPP},
  year = {2023},
  doi = {10.1145/3605573.3605652},
}
Figure