Affiliation:
1. Purdue University, West Lafayette, IN, USA
2. College of William & Mary, Williamsburg, VA, USA
Abstract
To harness a heterogeneous memory hierarchy, it is advantageous to integrate application knowledge in guiding frequent memory move, i.e., replicating or migrating virtual memory regions. To this end, we present memif, a protected OS service for asynchronous, hardware-accelerated memory move. Compared to the state of the art -- page migration in Linux, memif incurs low overhead and low latency; in order to do so, it not only redefines the semantics of kernel interface but also overhauls the underlying mechanisms, including request/completion management, race handling, and DMA engine configuration. We implement memif in Linux for a server-class system-on-chip that features heterogeneous memories. Compared to the current Linux page migration, memif reduces CPU usage by up to 15% for small pages and by up to 38x for large pages; in continuously serving requests, memif has no need for request batching and reduces latency by up to 63%. By crafting a small runtime atop memif, we improve the throughputs for a set of streaming workloads by up to 33%. Overall, memif has opened the door to software management of heterogeneous memory.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
26 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. PatternS: An intelligent hybrid memory scheduler driven by page pattern recognition;Journal of Systems Architecture;2024-08
2. A unified hybrid memory system for scalable deep learning and big data applications;Journal of Parallel and Distributed Computing;2024-04
3. Compiler-assisted Data Placement for Heterogeneous Memory Systems;IEICE Electronics Express;2024
4. PMShifter;Proceedings of the 13th ACM SIGOPS Asia-Pacific Workshop on Systems;2022-08-23
5. Sibyl;Proceedings of the 49th Annual International Symposium on Computer Architecture;2022-06-11