English

KML: Using Machine Learning to Improve Storage Systems

Operating Systems 2022-01-27 v2 Machine Learning

Abstract

Operating systems include many heuristic algorithms designed to improve overall storage performance and throughput. Because such heuristics cannot work well for all conditions and workloads, system designers resorted to exposing numerous tunable parameters to users -- thus burdening users with continually optimizing their own storage systems and applications. Storage systems are usually responsible for most latency in I/O-heavy applications, so even a small latency improvement can be significant. Machine learning (ML) techniques promise to learn patterns, generalize from them, and enable optimal solutions that adapt to changing workloads. We propose that ML solutions become a first-class component in OSs and replace manual heuristics to optimize storage systems dynamically. In this paper, we describe our proposed ML architecture, called KML. We developed a prototype KML architecture and applied it to two case studies: optimizing readahead and NFS read-size values. Our experiments show that KML consumes less than 4KB of dynamic kernel memory, has a CPU overhead smaller than 0.2%, and yet can learn patterns and improve I/O throughput by as much as 2.3x and 15x for two case studies -- even for complex, never-seen-before, concurrently running mixed workloads on different storage devices.

Keywords

Cite

@article{arxiv.2111.11554,
  title  = {KML: Using Machine Learning to Improve Storage Systems},
  author = {Ibrahim Umit Akgun and Ali Selman Aydin and Andrew Burford and Michael McNeill and Michael Arkhangelskiy and Aadil Shaikh and Lukas Velikov and Erez Zadok},
  journal= {arXiv preprint arXiv:2111.11554},
  year   = {2022}
}

Comments

17 pages, 13 figures

R2 v1 2026-06-24T07:48:10.059Z