Deepin Linux
Author

Deepin Linux

Research areas: Windows & Linux platforms, C/C++ backend development, embedded systems and Linux kernel, etc.

441
Articles
1
Likes
1.7k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

100 recent articles max
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
Deepin Linux
Deepin Linux
Mar 13, 2026 · Fundamentals

How Does the MMU Translate Virtual to Physical Memory? A Deep Dive

This article explains the role of the Memory Management Unit (MMU) and paging in modern operating systems, covering hardware structure, address translation, permission checks, page tables, TLB behavior, virtual memory mechanisms, and practical Linux kernel code examples for memory protection, sharing, and performance optimization.

LinuxMMUMemory Management
0 likes · 58 min read
How Does the MMU Translate Virtual to Physical Memory? A Deep Dive
Deepin Linux
Deepin Linux
Mar 8, 2026 · Operations

How to Supercharge Linux UDP Receive Performance: Kernel Tweaks and Code Optimizations

This article dissects the Linux kernel's UDP receive path, identifies key bottlenecks such as small socket buffers, system‑call overhead, interrupt storms, and application‑level processing limits, and then presents concrete kernel parameter tweaks, memory‑pool designs, multithreaded I/O, and SO_REUSEPORT techniques with full C code examples to dramatically boost throughput and reduce packet loss.

LinuxOptimizationUDP
0 likes · 34 min read
How to Supercharge Linux UDP Receive Performance: Kernel Tweaks and Code Optimizations
Deepin Linux
Deepin Linux
Mar 7, 2026 · Fundamentals

Understanding Linux Process Lifecycle: From Creation to Termination

This article provides a comprehensive, step‑by‑step explanation of Linux process management, covering the definition of a process, PCB structure, task organization, state transitions, creation system calls (fork, vfork, clone), execution with exec, scheduling, waiting, termination, and the kernel’s resource allocation strategies.

LinuxSystem Callsexec
0 likes · 43 min read
Understanding Linux Process Lifecycle: From Creation to Termination
Deepin Linux
Deepin Linux
Mar 6, 2026 · Backend Development

Unlocking Ultra‑Low Latency: How RDMA Transforms High‑Performance Networking

This article explains the fundamentals of Remote Direct Memory Access (RDMA), its low‑latency, zero‑copy and kernel‑bypass mechanisms, programming interfaces, and real‑world applications in data‑center networks, high‑performance computing, and distributed storage, providing developers with practical guidance and code examples.

High Performance ComputingLow latencyRDMA
0 likes · 31 min read
Unlocking Ultra‑Low Latency: How RDMA Transforms High‑Performance Networking
Deepin Linux
Deepin Linux
Mar 5, 2026 · Fundamentals

Unveiling malloc: How C Allocates Memory Behind the Scenes

This comprehensive guide explains the inner workings of the C malloc function, covering memory layout, stack vs heap, glibc memory pools, system calls like brk/sbrk and mmap, allocation strategies, fragmentation, alignment, multithreading safety, and comparisons with calloc, realloc, and C++ new.

C Programmingglibcheap management
0 likes · 53 min read
Unveiling malloc: How C Allocates Memory Behind the Scenes
Deepin Linux
Deepin Linux
Feb 27, 2026 · Fundamentals

Unlocking Linux Memory Management: From Virtual Memory to Kernel Allocation

This article explains Linux’s comprehensive memory management system, covering physical and virtual memory concepts, paging, page tables, the MMU, the buddy allocator, slab allocator, memory reclamation strategies such as LRU and swap, monitoring tools, and practical optimization techniques for both user‑space and kernel‑space allocations.

LinuxMMUMemory Management
0 likes · 31 min read
Unlocking Linux Memory Management: From Virtual Memory to Kernel Allocation
Deepin Linux
Deepin Linux
Feb 25, 2026 · Backend Development

Master VSCode and GDB: Complete Guide to C/C++ Debugging

This comprehensive tutorial walks you through installing VSCode and GDB on Linux, macOS, and Windows, configuring launch.json and tasks.json, mastering basic and advanced debugging techniques such as breakpoints, watchpoints, multithreaded and remote debugging, and troubleshooting common issues for C/C++ development.

CDebuggingVSCode
0 likes · 26 min read
Master VSCode and GDB: Complete Guide to C/C++ Debugging
Deepin Linux
Deepin Linux
Feb 20, 2026 · Fundamentals

Unlocking Zero‑Copy: How Linux Shared Memory Boosts IPC Performance

This article explains the fundamentals of Linux memory management, details how shared memory implements zero‑copy inter‑process communication, and provides step‑by‑step code examples of system calls, mmap, sendfile, splice, and synchronization techniques for high‑performance data transfer.

IPCMemory ManagementSystem Calls
0 likes · 40 min read
Unlocking Zero‑Copy: How Linux Shared Memory Boosts IPC Performance