Tagged articles
68 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Mar 14, 2026 · Fundamentals

Mastering Linux CMA: How the Contiguous Memory Allocator Solves Fragmentation

This article explains the challenges of allocating large contiguous physical memory in Linux, introduces the Contiguous Memory Allocator (CMA) as a solution, and provides in‑depth coverage of its design, reservation, migration, data structures, initialization, configuration, usage in drivers, and debugging techniques.

CMAContiguous Memory AllocatorDMA
0 likes · 35 min read
Mastering Linux CMA: How the Contiguous Memory Allocator Solves Fragmentation
Woodpecker Software Testing
Woodpecker Software Testing
Feb 12, 2026 · Operations

How to Verify Long‑Term Stability of the Open‑Source Logicanalyzer

This article presents a comprehensive reliability‑testing workflow for the open‑source Logicanalyzer, covering hardware setup, software requirements, continuous capture stress tests, memory management checks, temperature and power monitoring, performance metrics, troubleshooting, optimization tips, and industrial‑environment validation.

DMARaspberry Pi PicoReliability Testing
0 likes · 5 min read
How to Verify Long‑Term Stability of the Open‑Source Logicanalyzer
Deepin Linux
Deepin Linux
Feb 4, 2026 · Fundamentals

How Zero‑Copy and DMA Supercharge Data Transfer Performance

This article explains the fundamentals of zero‑copy, DMA, PageCache and RDMA, compares them with traditional I/O, describes Linux implementations such as sendfile, mmap+write, splice and Java NIO APIs, and shows practical use‑cases that dramatically reduce CPU load and latency in high‑throughput networking and file handling.

DMAJava NIOLinux
0 likes · 40 min read
How Zero‑Copy and DMA Supercharge Data Transfer Performance
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
Liangxu Linux
Liangxu Linux
Oct 29, 2025 · Fundamentals

Why Use a Lightweight Ring Buffer? Deep Dive into LwRB for Embedded Systems

This article explains why circular buffers are essential for efficient data‑stream handling in embedded systems, introduces the open‑source LwRB library, details its memory‑safe and thread‑safe design using C11 atomics, provides core data structures and example code, and compares ring buffers with normal buffers and message queues.

DMAEmbedded CRing Buffer
0 likes · 14 min read
Why Use a Lightweight Ring Buffer? Deep Dive into LwRB for Embedded Systems
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 12, 2025 · Fundamentals

Why Every Embedded Engineer Should Master DMA (Direct Memory Access)

This article explains the purpose, operation modes, configuration parameters, and register-level setup of DMA in STM32 microcontrollers, illustrating how DMA offloads data transfers from the CPU, improves performance, and provides concrete code examples for UART and memory‑to‑memory transfers.

DMADirect Memory AccessMicrocontroller
0 likes · 23 min read
Why Every Embedded Engineer Should Master DMA (Direct Memory Access)
Open Source Tech Hub
Open Source Tech Hub
Jul 19, 2025 · Fundamentals

How Zero‑Copy, DMA, and RDMA Supercharge Data Transfer in Linux

This article explains the performance bottlenecks of traditional I/O, introduces zero‑copy concepts and their relationship with DMA and PageCache, details RDMA architectures, and demonstrates practical zero‑copy implementations such as mmap+write, sendfile, splice, tee, and Java NIO APIs.

DMAJava NIOLinux
0 likes · 41 min read
How Zero‑Copy, DMA, and RDMA Supercharge Data Transfer in Linux
Deepin Linux
Deepin Linux
Jul 19, 2025 · Fundamentals

How Zero‑Copy, DMA, and RDMA Supercharge Data Transfer Performance

This article explains the principles behind zero‑copy, DMA, and RDMA, compares traditional I/O copying with modern zero‑copy techniques, and shows practical implementations in Linux and Java that dramatically reduce CPU overhead and boost network and file‑transfer throughput.

DMALinuxNetworking
0 likes · 42 min read
How Zero‑Copy, DMA, and RDMA Supercharge Data Transfer Performance
Deepin Linux
Deepin Linux
Jul 7, 2025 · Information Security

How IOMMU Safeguards Systems: From DMA Attacks to Virtualization Security

This article explains how the Input/Output Memory Management Unit (IOMMU) protects computers from DMA‑based attacks, details its architecture, DMA and interrupt remapping mechanisms, implementations across Intel, AMD and ARM, and provides practical configuration and programming guidance for secure virtualization and cloud environments.

DMAIOMMUMemory Management
0 likes · 21 min read
How IOMMU Safeguards Systems: From DMA Attacks to Virtualization Security
Liangxu Linux
Liangxu Linux
May 31, 2025 · Fundamentals

How to Output Debug Logs in Embedded Systems Without a UART

This article explains several practical techniques for printing debug logs in embedded development—using SRAM buffers, SWO trace, UART with DMA, and GPIO‑bit‑banging—detailing their implementation, advantages, limitations, and code examples for reliable diagnostics on chips lacking conventional serial interfaces.

DMASWOUART
0 likes · 11 min read
How to Output Debug Logs in Embedded Systems Without a UART
Deepin Linux
Deepin Linux
Mar 5, 2025 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded systems positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA concepts, synchronization primitives, priority inversion solutions, debugging techniques, and software design considerations.

DMALinux schedulingSPI
0 likes · 21 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging
AI Cyberspace
AI Cyberspace
Feb 17, 2025 · Fundamentals

Understanding DMA and RDMA: High‑Performance Direct Memory Access Explained

This article explains the principles of Direct Memory Access (DMA) and Remote Direct Memory Access (RDMA), compares them with traditional TCP I/O, outlines RDMA’s features, protocol standards, communication pathways, queue mechanisms, and provides example code for setting up RDMA connections using RoCEv2.

C ProgrammingDMARDMA
0 likes · 21 min read
Understanding DMA and RDMA: High‑Performance Direct Memory Access Explained
Deepin Linux
Deepin Linux
Dec 17, 2024 · Fundamentals

Efficient Memory Sharing with mmap and Zero‑Copy Techniques

This article explains how mmap and zero‑copy mechanisms, combined with DMA and shared‑memory APIs, can dramatically reduce CPU involvement, context switches, and data copies during file and network I/O, thereby improving system performance for high‑throughput applications.

DMAmmapperformance optimization
0 likes · 33 min read
Efficient Memory Sharing with mmap and Zero‑Copy Techniques
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 optimizationLinux
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
Deepin Linux
Deepin Linux
Sep 10, 2024 · Fundamentals

Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts

This article provides an extensive overview of embedded software fundamentals, covering heap vs. stack differences, wild pointers, DMA roles, inter‑process communication methods, memory allocation strategies, malloc vs. new, volatile usage, pointer concepts, Linux kernel locks, FreeRTOS mechanisms, stack overflow prevention, compilation stages, quick‑sort algorithm, header inclusion, CAN identifiers, struct memory optimization, STM32 interrupt handling, user‑to‑kernel transitions, and condition‑variable thundering‑herd effects.

C++CompilationDMA
0 likes · 121 min read
Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts
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
Open Source Linux
Open Source Linux
Apr 29, 2024 · Fundamentals

Unlocking DPDK Memory Management: How Hugepages Boost Performance

This article consolidates DPDK 17.11 source‑code notes to explain the library’s memory‑management subsystem, covering hugepage concepts, shared configuration mapping, NUMA‑aware allocation, and the custom allocator that enables high‑throughput packet processing on Linux.

DMADPDKMemory Management
0 likes · 40 min read
Unlocking DPDK Memory Management: How Hugepages Boost Performance
Liangxu Linux
Liangxu Linux
Apr 24, 2024 · Fundamentals

Unlocking Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explains Linux memory fundamentals, address space layout, fragmentation, the buddy and slab allocators, kernel and user‑mode memory pools, DMA handling, common programming pitfalls, and practical tools for monitoring memory usage.

DMALinuxMemory Management
0 likes · 19 min read
Unlocking Linux Memory: From Basics to Advanced Allocation Strategies
Liangxu Linux
Liangxu Linux
Apr 18, 2024 · Fundamentals

Mastering Linux Memory Management: Structures, Allocation Algorithms, and Common Pitfalls

This article provides a comprehensive guide to Linux memory management, covering memory fundamentals, address spaces, MMU translation, segmentation and paging, the buddy and slab allocation algorithms, kernel and user memory pools, typical usage scenarios, common bugs, and practical tools for monitoring and debugging memory usage.

DMALinuxMemory Management
0 likes · 25 min read
Mastering Linux Memory Management: Structures, Allocation Algorithms, and Common Pitfalls
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
IT Services Circle
IT Services Circle
Nov 25, 2023 · Operations

Enabling Microsoft Edge Uninstall on Windows 11 via System Policy

This article explains how the European Union's Digital Markets Act forces Microsoft to provide uninstall options for built‑in apps like Edge, shows where to edit the IntegratedServicesRegionPolicySet.json file to change the disabled flag, and offers a third‑party tool for additional Windows 11 tweaks.

DMAEdgeSystem Administration
0 likes · 4 min read
Enabling Microsoft Edge Uninstall on Windows 11 via System Policy
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
Liangxu Linux
Liangxu Linux
Jul 23, 2023 · Backend Development

Unlocking Linux Memory: From Address Spaces to Allocation Algorithms

This article provides a comprehensive guide to Linux memory management, covering memory fundamentals, address space layout, paging and segmentation, the buddy and slab allocation algorithms, kernel and user‑space memory pools, common pitfalls, and practical tools for monitoring and debugging memory usage.

DMALinuxSlab Allocator
0 likes · 18 min read
Unlocking Linux Memory: From Address Spaces to Allocation Algorithms
Open Source Linux
Open Source Linux
Jul 17, 2023 · Backend Development

Unlocking Linux Memory: From Address Spaces to Allocation Algorithms

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation, the buddy and slab allocation algorithms, kernel and user‑space memory usage scenarios, and common pitfalls, providing backend developers with practical insights to improve performance and stability.

Allocation AlgorithmsDMALinux
0 likes · 20 min read
Unlocking Linux Memory: From Address Spaces to Allocation Algorithms
Open Source Linux
Open Source Linux
Jun 13, 2023 · Fundamentals

Why RDMA Outperforms Traditional Networking: A Deep Dive into DMA

This article explains the fundamentals of Direct Memory Access (DMA) and Remote Direct Memory Access (RDMA), compares their data transfer mechanisms with traditional networking, and outlines RDMA's advantages, protocols, ecosystem, and real‑world adoption in high‑performance computing and data centers.

DMAHardwareHigh‑performance computing
0 likes · 13 min read
Why RDMA Outperforms Traditional Networking: A Deep Dive into DMA
Liangxu Linux
Liangxu Linux
Mar 27, 2023 · Fundamentals

Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks

This article explains why Linux’s native networking stack falls short of line‑speed, analyzes the core latency sources such as DMA, memory copying, routing look‑ups and lock contention, and proposes a comprehensive set of kernel‑level redesigns—including VOQ queues, lock‑free data structures, and user‑space stacks—to achieve near‑wire‑speed forwarding.

DMALinuxVOQ
0 likes · 39 min read
Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks
Tencent Cloud Developer
Tencent Cloud Developer
Jan 9, 2023 · Operations

Linux I/O Optimization: Zero-Copy Techniques

The article explains Linux I/O optimization through zero‑copy techniques—such as mmap + write, sendfile, and splice—detailing memory hierarchy, the benefits of reducing user‑kernel copies, the suitability of async + direct I/O for large file transfers, real‑world uses like Kafka and Nginx, and inherent platform limitations.

DMALinux I/OMMU
0 likes · 32 min read
Linux I/O Optimization: Zero-Copy Techniques
Architects' Tech Alliance
Architects' Tech Alliance
Nov 2, 2022 · Fundamentals

Understanding DMA (Direct Memory Access) in STM32 Microcontrollers

This article explains the principles, transfer modes, parameters, features, and register configuration of Direct Memory Access (DMA) in STM32 microcontrollers, illustrating how DMA offloads data movement from the CPU, improves performance, and integrates with peripherals, memory, and interrupt handling.

DMADirect Memory AccessMicrocontroller
0 likes · 16 min read
Understanding DMA (Direct Memory Access) in STM32 Microcontrollers
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2022 · Fundamentals

Comprehensive Guide to Linux Memory Management and Allocation Algorithms

This article provides an in‑depth overview of Linux memory architecture, including address spaces, segmentation and paging, memory allocation strategies such as the buddy and slab allocators, kernel and user‑space memory pools, DMA considerations, common pitfalls, and practical tools for monitoring and optimizing memory usage.

DMALinuxMemory Management
0 likes · 19 min read
Comprehensive Guide to Linux Memory Management and Allocation Algorithms
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
Open Source Linux
Open Source Linux
Sep 15, 2021 · Fundamentals

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

This article explains how DMA and zero‑copy techniques reduce the four memory copies and context switches typical of Linux I/O, detailing their mechanisms, implementations such as sendfile, mmap and Direct I/O, and real‑world usage in Kafka and MySQL to boost performance.

DMAI/O optimizationKafka
0 likes · 18 min read
How DMA and Zero‑Copy Boost Linux I/O Performance
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
Architects' Tech Alliance
Architects' Tech Alliance
Sep 9, 2021 · Fundamentals

Understanding DMA and RDMA: Principles, Advantages, and Protocols

This article explains the concepts of Direct Memory Access (DMA) and Remote Direct Memory Access (RDMA), compares traditional data transfer with DMA-enabled paths, outlines RDMA's advantages such as zero-copy and kernel bypass, and reviews the main RDMA protocols, standards bodies, and hardware ecosystem.

DMAHigh-Performance ComputingKernel Bypass
0 likes · 14 min read
Understanding DMA and RDMA: Principles, Advantages, and Protocols
ITPUB
ITPUB
May 13, 2021 · Fundamentals

Unveiling Linux’s Network Send Path: From send() to the Wire

This article provides a deep, step‑by‑step analysis of how Linux 3.10 processes a send() call—from user‑space socket handling through TCP, IP routing, queueing, driver DMA mapping, and both hard and soft interrupt handling—answering why CPU time appears in sy/si, why NET_RX softirqs dominate, and what memory copies occur during transmission.

DMALinuxNetwork Stack
0 likes · 32 min read
Unveiling Linux’s Network Send Path: From send() to the Wire
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
Architects' Tech Alliance
Architects' Tech Alliance
Nov 11, 2020 · Fundamentals

Understanding DPDK Memory Management: Large Pages, NUMA, DMA, and IOMMU

This article explains the core principles of DPDK memory management, covering standard huge pages, NUMA node binding, direct memory access, IOMMU and IOVA addressing, custom allocators, and memory pools, and how these mechanisms together enable high‑performance packet processing on Linux systems.

DMADPDKHigh‑Performance Networking
0 likes · 14 min read
Understanding DPDK Memory Management: Large Pages, NUMA, DMA, and IOMMU
Liangxu Linux
Liangxu Linux
Sep 2, 2020 · Fundamentals

What Really Happens Inside the OS When You Press a Keyboard Key?

This article explains how operating systems manage diverse I/O devices through device controllers, registers, drivers, DMA, and Linux’s generic block layer, and walks through the complete sequence that occurs—from a keyboard press to the character appearing on the screen.

DMADevice DriversI/O
0 likes · 16 min read
What Really Happens Inside the OS When You Press a Keyboard Key?
Architects' Tech Alliance
Architects' Tech Alliance
Jun 7, 2020 · Fundamentals

Linux Memory Management: Organization, Address Space, Allocation Algorithms, and Common Pitfalls

This article provides a comprehensive overview of Linux memory management, covering memory organization, address spaces, fragmentation causes and mitigation, kernel allocation strategies such as the buddy and slab systems, user‑space memory pools, DMA handling, usage scenarios, and typical pitfalls for developers.

Allocation AlgorithmsDMALinux
0 likes · 17 min read
Linux Memory Management: Organization, Address Space, Allocation Algorithms, and Common Pitfalls
ITPUB
ITPUB
Dec 28, 2018 · Fundamentals

Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls

This comprehensive guide explores Linux memory architecture, address spaces, allocation algorithms like the buddy system and slab allocator, DMA handling, user‑space allocation functions, and practical pitfalls, providing developers with essential insights to optimize performance and avoid common errors.

DMALinuxMemory Management
0 likes · 20 min read
Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls