Tagged articles
40 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 12, 2026 · Fundamentals

Why Zero‑Copy Is Critical for High‑Performance I/O on Linux

The article explains how Direct Memory Access (DMA) eliminates CPU‑bound data copies, compares traditional I/O with zero‑copy techniques such as mmap and sendfile, and shows how reducing system calls and context switches can double file‑transfer throughput while highlighting the limits of kernel cache for large files.

DMALinux I/OZero Copy
0 likes · 15 min read
Why Zero‑Copy Is Critical for High‑Performance I/O on Linux
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
May 15, 2025 · Operations

Nginx High-Concurrency Optimization Techniques

This article explains how to achieve million‑level concurrent connections with Nginx by tuning OS limits, worker processes, epoll event handling, gzip compression, and zero‑copy file transfer, providing concrete configuration snippets and performance rationale for each optimization.

GzipLinuxepoll
0 likes · 4 min read
Nginx High-Concurrency Optimization Techniques
Liangxu Linux
Liangxu Linux
Mar 13, 2025 · Fundamentals

How Zero‑Copy Techniques Supercharge Network I/O Performance

This article explains why traditional I/O interfaces rely on data copying, demonstrates the hidden overhead of read/write in a network server, and introduces zero‑copy methods such as mmap, sendfile, DMA Gather Copy, and splice to dramatically reduce copies and context switches for faster I/O.

IO optimizationLinuxZero Copy
0 likes · 12 min read
How Zero‑Copy Techniques Supercharge Network I/O Performance
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.

LinuxTEEmmap
0 likes · 37 min read
Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee
Deepin Linux
Deepin Linux
Dec 12, 2024 · Backend Development

Understanding Zero‑Copy Architecture: Concepts, Techniques, and Applications

Zero‑copy eliminates CPU‑mediated data copies between user and kernel spaces by using DMA and memory‑mapping, dramatically improving I/O performance, reducing context switches, and enabling high‑throughput applications such as file servers, Kafka brokers, and Java networking frameworks.

DMAI/O optimizationJava
0 likes · 28 min read
Understanding Zero‑Copy Architecture: Concepts, Techniques, and Applications
Liangxu Linux
Liangxu Linux
Dec 9, 2024 · Fundamentals

Master Linux Zero‑Copy: Sendfile, Splice, mmap+write, and tee Explained

This article explains how Linux zero‑copy techniques—DMA, sendfile, splice, mmap + write, and tee—reduce CPU involvement in large file and network transfers by moving data directly within kernel space, detailing their workflows, code examples, performance trade‑offs, and suitable use cases.

DMALinuxSystem Programming
0 likes · 20 min read
Master Linux Zero‑Copy: Sendfile, Splice, mmap+write, and tee Explained
ITPUB
ITPUB
Dec 1, 2024 · Fundamentals

Why Does Kafka Outperform RocketMQ? The Role of Zero‑Copy Techniques

The article explains how Kafka’s use of sendfile zero‑copy gives it higher throughput than RocketMQ, which relies on mmap, and discusses the trade‑offs between performance and feature richness when choosing between the two message‑queue systems.

Message QueueRocketMQZero Copy
0 likes · 9 min read
Why Does Kafka Outperform RocketMQ? The Role of Zero‑Copy Techniques
Su San Talks Tech
Su San Talks Tech
Sep 2, 2024 · Fundamentals

Why Zero-Copy Supercharges RocketMQ & Kafka: mmap, sendfile, DMA

Zero‑copy techniques such as mmap + write, sendfile, and sendfile + DMA scatter/gather reduce CPU‑memory copies and context switches compared with traditional read/write IO, improving performance for high‑throughput systems like RocketMQ and Kafka, while explaining user‑kernel mode, DMA, and their trade‑offs.

DMAIO performanceLinux
0 likes · 11 min read
Why Zero-Copy Supercharges RocketMQ & Kafka: mmap, sendfile, DMA
Liangxu Linux
Liangxu Linux
Mar 2, 2024 · Fundamentals

How DMA and Zero‑Copy Revolutionize Linux I/O Performance

This article explains the principles of Direct Memory Access (DMA), compares it with traditional I/O, details the DMA data‑transfer workflow, and explores zero‑copy techniques such as mmap + write and sendfile, highlighting how they reduce context switches, data copies, and improve overall Linux I/O efficiency.

DMALinux I/OZero Copy
0 likes · 15 min read
How DMA and Zero‑Copy Revolutionize Linux I/O Performance
Open Source Linux
Open Source Linux
Jan 4, 2024 · Fundamentals

How DMA and Zero‑Copy Boost I/O Performance: A Deep Dive

This article explains Direct Memory Access (DMA), compares it with traditional I/O, details the complete DMA‑based I/O workflow, and explores zero‑copy techniques such as mmap, sendfile, and asynchronous I/O, highlighting their impact on context switches, data copies, and overall transfer performance.

DMAI/O optimizationLinux
0 likes · 14 min read
How DMA and Zero‑Copy Boost I/O Performance: A Deep Dive
Su San Talks Tech
Su San Talks Tech
Jul 27, 2023 · Fundamentals

How Zero-Copy I/O Boosts Performance: From Theory to Java NIO

This article explains the traditional I/O read/write workflow, identifies its performance bottlenecks, introduces the concept of zero‑copy, and demonstrates practical zero‑copy implementations—including DMA, sendfile, shared memory, memory‑mapped files, and Java NIO techniques such as ByteBuffer, Channel, transferTo/transferFrom, and memory‑mapped files.

DMAI/OJava NIO
0 likes · 15 min read
How Zero-Copy I/O Boosts Performance: From Theory to Java NIO
Top Architect
Top Architect
Nov 16, 2022 · Backend Development

Understanding Zero‑Copy in Java: Concepts, Mechanisms, and Implementations

This article explains the zero‑copy technique in Java, covering I/O fundamentals, kernel read/write flow, mmap+write and Sendfile methods, virtual memory mapping, MappedByteBuffer and DirectByteBuffer usage, channel‑to‑channel transfer, Netty composite buffers, and how frameworks like RocketMQ and Kafka leverage zero‑copy for performance.

Java NIONettyZero Copy
0 likes · 13 min read
Understanding Zero‑Copy in Java: Concepts, Mechanisms, and Implementations
Architect's Guide
Architect's Guide
Nov 6, 2022 · Backend Development

Zero‑Copy Techniques in Java: Buffers, MappedByteBuffer, Sendfile, and Netty

This article explains the concept of zero‑copy, how it eliminates redundant data copying in I/O operations, and demonstrates its implementation in Java through buffers, mmap+write, Sendfile, MappedByteBuffer, DirectByteBuffer, channel‑to‑channel transfers, and Netty’s composite buffers.

FileChannelJava NIOMappedByteBuffer
0 likes · 12 min read
Zero‑Copy Techniques in Java: Buffers, MappedByteBuffer, Sendfile, and Netty
Architect
Architect
Sep 13, 2022 · Backend Development

Understanding Zero‑Copy in Java I/O, NIO, Netty and Messaging Systems

This article explains the concept of zero‑copy, its benefits for I/O performance, and how Java NIO, Netty, Kafka, RocketMQ and related APIs such as mmap+write and sendfile implement zero‑copy to avoid unnecessary data copying between kernel and user space.

I/O performanceJava NIOMappedByteBuffer
0 likes · 13 min read
Understanding Zero‑Copy in Java I/O, NIO, Netty and Messaging Systems
Top Architect
Top Architect
Feb 22, 2022 · Fundamentals

Understanding DMA and Zero‑Copy Techniques in Linux

This article explains how DMA offloads memory‑to‑device data transfers, reduces the four data copies and context switches of traditional I/O, and introduces zero‑copy methods such as sendfile, mmap and Direct I/O, illustrating their mechanisms, advantages, limitations, and real‑world use cases like Kafka and MySQL.

DMADirect I/OI/O optimization
0 likes · 15 min read
Understanding DMA and Zero‑Copy Techniques in Linux
Liangxu Linux
Liangxu Linux
Sep 11, 2021 · Fundamentals

How DMA and Zero‑Copy Transform Linux I/O Performance

This article explains the costly four‑copy, four‑context‑switch data path in traditional Linux I/O, introduces DMA as a co‑processor that offloads memory transfers, describes zero‑copy techniques such as sendfile, mmap and Direct I/O, and shows how Kafka and MySQL leverage these methods to reduce CPU overhead and improve throughput.

DMADirect I/OKafka
0 likes · 16 min read
How DMA and Zero‑Copy Transform Linux I/O Performance
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 NIOZero Copy
0 likes · 8 min read
Zero‑Copy Mechanisms in Operating Systems and Java
Liangxu Linux
Liangxu Linux
Apr 18, 2021 · Fundamentals

Zero-Copy Explained: How mmap, sendfile, and DMA Boost RocketMQ & Kafka

Zero-copy techniques such as mmap + write, sendfile, and sendfile + DMA scatter/gather reduce CPU copies and context switches by leveraging kernel‑space data transfers and DMA, dramatically improving I/O performance for high‑throughput systems like RocketMQ and Kafka, as explained with detailed process flows and comparisons.

DMAIO performanceZero Copy
0 likes · 10 min read
Zero-Copy Explained: How mmap, sendfile, and DMA Boost RocketMQ & Kafka
Liangxu Linux
Liangxu Linux
Apr 16, 2021 · Backend Development

How Zero‑Copy and sendfile Boost Server Performance

This article explains the concepts of user space and kernel space, shows how traditional file‑to‑socket transfers involve multiple data copies with read/write system calls, and demonstrates how the Linux sendfile system call implements zero‑copy to reduce copies and system calls for high‑performance servers.

Backend PerformanceLinuxZero Copy
0 likes · 6 min read
How Zero‑Copy and sendfile Boost Server Performance
Liangxu Linux
Liangxu Linux
Feb 13, 2021 · Fundamentals

How Linux Zero‑Copy I/O Works: mmap, sendfile, splice & tee Explained

The article explains Linux zero‑copy I/O techniques—mmap, sendfile, splice, and tee—detailing their design principles, execution flows, context‑switch and data‑copy reductions, advantages, limitations, and appropriate use cases, helping developers choose the optimal method for high‑performance file and network transfers.

I/OLinuxTEE
0 likes · 11 min read
How Linux Zero‑Copy I/O Works: mmap, sendfile, splice & tee Explained
Programmer DD
Programmer DD
Jan 17, 2021 · Backend Development

Mastering Zero-Copy in Java: Boost Performance with NIO, Netty, and Sendfile

This article explains the concept of zero-copy I/O, covering buffer types, virtual memory, mmap+write and sendfile techniques in Java, and demonstrates how Java NIO, Netty, and other frameworks like RocketMQ and Kafka leverage zero-copy to reduce data copying and improve performance.

Zero Copymmapperformance
0 likes · 14 min read
Mastering Zero-Copy in Java: Boost Performance with NIO, Netty, and Sendfile
Architect
Architect
Jul 26, 2020 · Backend Development

Understanding Zero‑Copy in Java: I/O Concepts, mmap, Sendfile, and Netty

This article explains the zero‑copy technique in Java, covering basic I/O concepts, buffer management, mmap + write and Sendfile methods, and how frameworks like NIO, Netty, Kafka, and RocketMQ use these mechanisms to eliminate data copies and improve performance.

JavaNettyZero Copy
0 likes · 11 min read
Understanding Zero‑Copy in Java: I/O Concepts, mmap, Sendfile, and Netty
ITPUB
ITPUB
Jul 23, 2020 · Fundamentals

How Zero‑Copy Techniques Slash Data Transfer Overhead in Linux

This article explains why traditional read/write file serving incurs multiple data copies and context switches, then introduces mmap, sendfile, and splice as zero‑copy methods that reduce CPU load, discuss their usage, limitations, and practical pitfalls for high‑performance Linux servers.

I/O optimizationLinuxZero Copy
0 likes · 11 min read
How Zero‑Copy Techniques Slash Data Transfer Overhead in Linux
Java Captain
Java Captain
Apr 7, 2020 · Backend Development

Zero‑Copy Techniques in Java: I/O Concepts, mmap, Sendfile, and Netty

This article explains the zero‑copy principle, describes core I/O concepts such as buffers and virtual memory, and details Java implementations including mmap + write, Sendfile, MappedByteBuffer, DirectByteBuffer, channel‑to‑channel transfer, and Netty’s composite buffers for high‑performance data transfer.

JavaNettyZero Copy
0 likes · 12 min read
Zero‑Copy Techniques in Java: I/O Concepts, mmap, Sendfile, and Netty
ITPUB
ITPUB
Jul 1, 2019 · Big Data

Why Kafka Handles Millions of Writes per Second: I/O Secrets Revealed

This article explains how Kafka achieves ultra‑high throughput by using sequential disk writes, memory‑mapped files, zero‑copy sendfile reads, and batch compression, while also describing its data retention policies and the trade‑offs of synchronous versus asynchronous producer modes.

Batch CompressionHigh ThroughputMemory Mapped Files
0 likes · 9 min read
Why Kafka Handles Millions of Writes per Second: I/O Secrets Revealed
Architecture Talk
Architecture Talk
Sep 25, 2018 · Backend Development

Why Static Files Fail in Vagrant + VirtualBox and How to Disable Sendfile

This article explains why static files and JavaScript may not update correctly in a Vagrant‑VirtualBox development setup on Windows, describes the underlying VirtualBox sendfile bug, and provides step‑by‑step instructions to disable sendfile in both Nginx and Apache to resolve the issue.

ApacheDevelopment EnvironmentNGINX
0 likes · 5 min read
Why Static Files Fail in Vagrant + VirtualBox and How to Disable Sendfile