Tag

splice

0 views collected around this technical thread.

Lobster Programming
Lobster Programming
Feb 13, 2025 · Backend Development

Zero‑Copy Explained: From write+read to mmap, sendfile and splice

This article breaks down zero‑copy data transfer techniques—write+read, mmap+write, sendfile, sendfile + SG‑DMA, and splice—showing how they reduce CPU copies and context switches to boost I/O performance in modern operating systems.

BackendMMAPZero Copy
0 likes · 9 min read
Zero‑Copy Explained: From write+read to mmap, sendfile and splice
Deepin Linux
Deepin Linux
Jan 23, 2025 · Backend Development

Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee

This article explains the concept of zero‑copy in Linux, compares the four main system calls—sendfile, mmap, splice and tee—describes their APIs, internal mechanisms, performance characteristics, typical use‑cases and provides practical code examples for high‑performance network programming.

LinuxMMAPZero Copy
0 likes · 37 min read
Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Zero‑Copy Mechanisms in Operating Systems and Java

This article explains how zero‑copy techniques such as mmap, sendfile, and splice reduce CPU involvement in data transfer by avoiding memory copies between kernel and user spaces, and shows how Java NIO and Netty implement these mechanisms for high‑performance backend I/O.

BackendJava NIOMMAP
0 likes · 8 min read
Zero‑Copy Mechanisms in Operating Systems and Java
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Oct 30, 2020 · Fundamentals

Understanding FUSE: Architecture and Implementation Details

FUSE implements a user‑space file‑system framework where a kernel module creates the /dev/fuse device and forwards VFS requests into kernel queues, while a multi‑threaded daemon reads these requests, optionally uses splice for zero‑copy, processes them, and writes replies back, enabling simple file‑system development without kernel recompilation.

FUSEFilesystem architectureLinux kernel
0 likes · 10 min read
Understanding FUSE: Architecture and Implementation Details