Tag

Direct I/O

0 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
Sep 23, 2022 · Fundamentals

Understanding Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O

This article explains how zero‑copy techniques such as DMA, sendfile, mmap and Direct I/O reduce data copies and context switches in Linux, compares their mechanisms, advantages and drawbacks, and shows typical use cases like Kafka for high‑performance I/O.

DMADirect I/OLinux
0 likes · 14 min read
Understanding Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O
Architects' Tech Alliance
Architects' Tech Alliance
Aug 4, 2022 · Fundamentals

Understanding Zero‑Copy I/O: DMA, Sendfile, mmap, and Direct I/O

The article explains how traditional I/O incurs four data copies and context switches, and how DMA, zero‑copy techniques such as sendfile, mmap, splice, and Direct I/O reduce copying and system calls, improving performance for disk‑to‑network data transfers in Linux.

DMADirect I/OI/O optimization
0 likes · 16 min read
Understanding Zero‑Copy I/O: DMA, Sendfile, mmap, and Direct I/O
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2022 · Fundamentals

Understanding Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O

This article explains the concept of zero‑copy I/O, how DMA offloads data movement between memory, disks and network cards, and compares practical implementations such as sendfile, mmap and Direct I/O, highlighting their benefits, limitations and typical use cases in Linux systems.

DMADirect I/OLinux
0 likes · 15 min read
Understanding Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O
Top Architect
Top Architect
Mar 24, 2022 · Fundamentals

Understanding Linux Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O

This article explains how Linux zero‑copy mechanisms such as DMA, sendfile, mmap and Direct I/O reduce data copies and context switches, detailing their operation, advantages, limitations, and real‑world usage in systems like Kafka and MySQL.

DMADirect I/OLinux
0 likes · 20 min read
Understanding Linux Zero‑Copy Techniques: DMA, sendfile, mmap and Direct I/O
IT Services Circle
IT Services Circle
Mar 19, 2022 · Fundamentals

Understanding the Linux File I/O Stack: VFS, Filesystem, Block Layer, and SCSI

This article explains the Linux file I/O stack by outlining the path from user space through system calls to the kernel layers—VFS, filesystem, block layer, and SCSI—detailing each layer's role, page cache mechanisms, writeback processes, and direct I/O implementations with code examples.

Direct I/OFile I/OLinux
0 likes · 11 min read
Understanding the Linux File I/O Stack: VFS, Filesystem, Block Layer, and SCSI
Architects' Tech Alliance
Architects' Tech Alliance
Mar 18, 2022 · Fundamentals

Understanding Zero‑Copy I/O: DMA, Sendfile, mmap and Direct I/O

This article explains how zero‑copy techniques such as DMA, sendfile, mmap and Direct I/O reduce the four data copies and context switches normally required for disk‑to‑network transfers, improving performance for systems like Kafka and MySQL while outlining their trade‑offs.

DMADirect I/OLinux
0 likes · 15 min read
Understanding Zero‑Copy I/O: DMA, Sendfile, mmap and Direct I/O
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
Architect
Architect
Feb 19, 2022 · Fundamentals

Understanding DMA and Zero‑Copy Techniques in Linux I/O

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 mechanisms such as sendfile, mmap and Direct I/O, with practical examples like Kafka and MySQL.

DMADirect I/OI/O optimization
0 likes · 15 min read
Understanding DMA and Zero‑Copy Techniques in Linux I/O
Qunar Tech Salon
Qunar Tech Salon
Jun 22, 2020 · Fundamentals

Understanding Linux I/O, Zero‑Copy, DMA, Direct I/O and mmap

This article explains the principles of Linux I/O, the need for zero‑copy, the role of page and buffer caches, various data‑transfer mechanisms such as DMA, Direct I/O and mmap, and compares their performance and usage scenarios.

DMADirect I/OI/O
0 likes · 16 min read
Understanding Linux I/O, Zero‑Copy, DMA, Direct I/O and mmap
Architects' Tech Alliance
Architects' Tech Alliance
Apr 9, 2020 · Fundamentals

Understanding Linux Disk I/O, Page Cache, and File Operation Mechanisms

This article explains the hierarchical storage pyramid, Linux kernel I/O stack, page‑cache synchronization policies, the atomicity of write operations, the role of mmap and Direct I/O, and how disk characteristics influence multithreaded read/write performance and design decisions.

Direct I/ODisk I/OFile System
0 likes · 15 min read
Understanding Linux Disk I/O, Page Cache, and File Operation Mechanisms