Lune

SOSP2025Top-tier venue

How to Copy Memory? Coordinated Asynchronous Copy as a First-Class OS Service

Jingkai He, Yunpeng Dong, Dong Du, Mo Zou, Zhitai Yu, Yuxin Ren, Ning Jia, Yubin Xia, Haibo Chen

Abstract

In modern systems, memory copy remains a critical performance bottleneck across various scenarios, playing a pervasive role in system-wide execution such as syscalls, IPC, and user-mode applications. Numerous efforts have aimed at optimizing copy performance, including zero-copy with page remapping and hardware-accelerated copy. However, they typically target specific use cases, such as Linux zero-copy send() for messages of ≥10KB. This paper argues for copy as a first-class OS service, offering three key benefits: (1) with the asynchronous copy abstraction provided by the service, applications can overlap their execution with copy; (2) the service can effectively utilize hardware capabilities to enhance copy performance; (3) the service's global view of copies further enables holistic optimization. To this end, we introduce Copier, a new OS service of coordinated asynchronous copy, to serve both user-mode applications and OS services. We build Copier-Linux to demonstrate Copier's ability to improve performance for diverse use cases, including Redis, Protobuf, network stack, proxy, etc. Evaluations show that Copier achieves up to a 1.8 × speedup for real-world applications like Redis and a 1.6 × improvement over zIO, the state-of-the-art in optimizing copy efficiency. To further facilitate adoption, we develop a toolchain to ease the use of Copier. We also integrate Copier into a commercial smartphone OS (HarmonyOS 5.0), achieving promising results.

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.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Disentangling Graph Dependencies for Efficient Billion-Scale GPU Vector SearchHaoru Zhao, Jingkai He, Jingyao Zeng, Mingkai Dong et al.OSDI 2026
  2. LifeLine: An Object-Page Lifetime Alignment GC Enabling Minimal Memory Copying for Mobile DevicesJiacheng Huang, Yunmo Zhang, Qingan Li, Junqiao Qiu et al.OSDI 2026

Related papers

  1. zIO: Accelerating IO-Intensive Applications with Transparent Zero-Copy IOTimothy Stamler, Deukyeon Hwang, Amanda Raybuck, Wei Zhang et al.OSDI 2022 · 21 citations
  2. CrossPrefetch: Accelerating I/O Prefetching for Modern StorageShaleen Garg, Jian Zhang, Rekha Pitchumani, Manish Parashar et al.ASPLOS 2024 · 9 citations
  3. A Framework for Optimizing CPU-iGPU Communication on Embedded PlatformsFrancesco Lumpp, Hiren D. Patel, Nicola BombieriDAC 2021 · 5 citations
  4. (MC)2: Lazy MemCopy at the Memory ControllerAditya K. Kamath, Simon PeterISCA 2024 · 4 citations
  5. Overlapping host-to-device copy and computation using hidden unified memoryJaehoon Jung, Daeyoung Park, Youngdong Do, Jungho Park et al.PPoPP 2020 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines