iSwap: A New Memory Page Swap Mechanism for Reducing Ineffective I/O Operations in Cloud Environments

  • Zhuohao Wang
  • , Lei Liu*
  • , Limin Xiao
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

This article proposes iSwap, a new memory page swap mechanism that reduces the ineffective I/O swap operations and improves the QoS for applications with a high priority in cloud environments. iSwap works in the OS kernel. iSwap accurately learns the reuse patterns for memory pages and makes the swap decisions accordingly to avoid ineffective operations. In the cases where memory pressure is high, iSwap compresses pages that belong to the latency-critical (LC) applications (or high-priority applications) and keeps them in main memory, avoiding I/O operations for these LC applications to ensure QoS, and iSwap evicts low-priority applications’ pages out of main memory. iSwap has a low overhead and works well for cloud applications with large memory footprints. We evaluate iSwap on Intel x86 and ARM platforms. The experimental results show that iSwap can significantly reduce ineffective swap operations (8.0%–19.2%) and improve the QoS for LC applications (36.8%–91.3%) in cases where memory pressure is high, compared with the latest LRU-based approach widely used in modern OSes.

Original languageEnglish
Article number47
JournalACM Transactions on Architecture and Code Optimization
Volume21
Issue number3
DOIs
StatePublished - 14 Sep 2024

Keywords

  • IO
  • OS
  • Page swap
  • QoS
  • cloud
  • memory management

Fingerprint

Dive into the research topics of 'iSwap: A New Memory Page Swap Mechanism for Reducing Ineffective I/O Operations in Cloud Environments'. Together they form a unique fingerprint.

Cite this