Lune

DAC2021Top-tier venue

Reinforcement Learning-Assisted Cache Cleaning to Mitigate Long-Tail Latency in DM-SMR

Yungang Pan, Zhiping Jia, Zhaoyan Shen, Bingzhe Li, Wanli Chang, Zili Shao

Abstract

DM-SMR adopts Persistent Cache (PC) to accommodate non-sequential write operations. However, the PC cleaning process induces severe long-tail latency. In this paper, we propose to mitigate the tail latency of PC cleaning by using Reinforcement Learning (RL). Specifically, a real-time lightweight Q-learning model is built to analyze the idle window of I/O workloads, based on which PC cleaning is judiciously scheduled, thereby maximally utilizing the I/O idle window and effectively hiding the tail latency from regular requests. We implement our technique inside a Linux device driver with an emulated SMR drive. Experimental results show that our technique can reduce the tail latency by 57.65% at 99.9th percentile and the average response time by 46.11% compared to a typical SMR design.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. How Much Can RocksDB Chew? Achieving Near-Zero Write Stalls with Sustainable RocksDBHojin Shin, Yongmin Lee, Seehwan Yoo, Jongmoo ChoiVLDB 2026
  2. Reinforcement Learning-Assisted Management for Convertible SSDsQian Wei, Yi Li, Zhiping Jia, Mengying Zhao et al.DAC 2023 · 17 citations
  3. KFR: Optimal Cache Management with K-Framed Reclamation for Drive-Managed SMR DisksChenlin Ma, Yi Wang, Zhaoyan Shen, Zili ShaoDAC 2020 · 10 citations
  4. ?Tree: a Persistent B+-Tree with Low Tail LatencyYoumin Chen, Youyou Lu, Kedong Fang, Qing Wang et al.VLDB 2020
  5. RL-Watchdog: A Fast and Predictable SSD Liveness Watchdog on Storage SystemsJinyong Ha, Sangjin Lee, Heon Young Yeom, Yongseok SonUSENIX ATC 2024 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines