Concurrency and Computation: Practice and Experience

HSWL : A Deep Reinforcement Learning‐Driven Wear Leveling and Cache Management Strategy for Hybrid Flash SSDs

Qinlu He, Fan Zhang, Jiajing Wang, Genqing Bian, Weiqi Zhang

Key points

From the paper's conclusion
  • Against the state‐of‐the‐art Circular‐log baseline, HSWL cuts the wear‐count variance σ 2 of the flash array by a geometric‐mean factor of 31× ± 1× and the endurance‐normalized total erase count by 5.3× ± 0.2×; it also lowers the average page write latency by 5.9× ± 0.2× and raises the SLC cache hit rate by 2.4× ± 0.1×.

Abstract

Data volumes continue to grow, and distributed storage systems assembled from large numbers of SSDs now form the backbone of modern data centers. Hybrid flash SSDs, which integrate high‐performance, long‐endurance SLC caches with cost‐effective, high‐density QLC main storage, achieve a compelling trade‐off among capacity, cost, and performance. However, the substantial discrepancy in P/E cycle endurance between the SLC cache and the QLC main storage region easily induces severe cross‐region wear imbalance, which shortens the overall lifespan of the SSD. This paper proposes HSWL, a cross‐region wear‐leveling and cache‐management strategy tailored for hybrid SLC/QLC flash SSDs. HSWL builds a Cache Decision Agent on the DQN framework. The agent observes the average wear, utilization, and wear‐distribution statistics of both regions and, at each decision point, chooses between evicting cold data to QLC and performing intra‐SLC garbage collection. The agent is paired with a numerically robust reward function and an LRU‐based victim‐selection policy. Experiments are conducted on the custom‐developed HybridSSDsim simulator using seven real‐world workload traces against three baselines: Circular‐log, a threshold heuristic, and a Samsung‐style RL‐based SLC cache manager. All results are averaged over five independent runs with different random seeds, and standard deviations are reported. Against the state‐of‐the‐art Circular‐log baseline, HSWL cuts the wear‐count variance σ 2 of the flash array by a geometric‐mean factor of 31× ± 1× and the endurance‐normalized total erase count by 5.3× ± 0.2×; it also lowers the average page write latency by 5.9× ± 0.2× and raises the SLC cache hit rate by 2.4× ± 0.1×. The extra RAM stays below 100 KB and inference takes 30–60 μs, which fits SSD‐controller firmware.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

HSWL : A Deep Reinforcement Learning‐Driven Wear Leveling and Cache Management Strategy for Hybrid Flash SSDs — Science Skim