Deepin Linux
Author

Deepin Linux

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

448
Articles
1
Likes
2.1k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

100 recent articles max
Deepin Linux
Deepin Linux
Mar 29, 2026 · Fundamentals

What Happens Inside an ELF File? From Source Code to a Running Process

This article explains how a C/C++ program is compiled into an ELF executable, details the ELF file structure, describes the kernel's validation and segment mapping, covers dynamic linking, and shows how the process starts execution from the _start entry point, providing practical commands and debugging tips.

CompilationDebuggingELF
0 likes · 34 min read
What Happens Inside an ELF File? From Source Code to a Running Process
Deepin Linux
Deepin Linux
Mar 28, 2026 · Fundamentals

Unlocking Linux Performance: A Deep Dive into NUMA Architecture

This article explains the core principles of NUMA, its deep integration with the Linux kernel, practical memory‑node and scheduling mechanisms, real‑world database and virtualization use cases, and step‑by‑step commands for inspecting and tuning NUMA on modern servers.

Linux kernelNUMAPerformance Optimization
0 likes · 23 min read
Unlocking Linux Performance: A Deep Dive into NUMA Architecture
Deepin Linux
Deepin Linux
Mar 24, 2026 · Fundamentals

Mastering Linux PCI Driver Development: From Theory to Real Code

This comprehensive guide walks readers through the Linux PCI driver architecture, explains the PCI and PCIe bus evolution, details the kernel's layered driver framework, enumerates devices, manages resources, registers drivers, and presents a full SSD driver case study with code examples and performance tuning techniques.

C++Device DriversLinux
0 likes · 30 min read
Mastering Linux PCI Driver Development: From Theory to Real Code
Deepin Linux
Deepin Linux
Mar 22, 2026 · Fundamentals

Mastering const and static in C++: When and How to Use Them

This article provides a comprehensive guide to the const and static modifiers in C/C++, covering their distinct purposes, usage with variables, pointers, functions, and class members, and answering common interview questions with clear explanations and practical code examples.

C++Programmingconst
0 likes · 17 min read
Mastering const and static in C++: When and How to Use Them
Deepin Linux
Deepin Linux
Mar 18, 2026 · Operations

Unlock Linux Secrets: Master the /proc Filesystem for Monitoring & Debugging

This article explains the Linux /proc virtual filesystem, detailing its structure, dynamic file generation, key system and process files, and how to use it for real‑time monitoring, performance tuning, kernel parameter tweaking, and troubleshooting, complete with practical command examples and a sample monitoring script.

Kernel ParametersLinuxProc Filesystem
0 likes · 26 min read
Unlock Linux Secrets: Master the /proc Filesystem for Monitoring & Debugging
Deepin Linux
Deepin Linux
Mar 17, 2026 · Backend Development

How to Build a High‑Performance gRPC File Transfer Service from Scratch

This step‑by‑step tutorial shows how to configure gRPC, define protobuf service contracts, and implement streaming upload and download in C++, covering environment setup, code generation, server and client logic, testing, and performance tuning for efficient file transfer.

C++Protocol BuffersStreaming
0 likes · 44 min read
How to Build a High‑Performance gRPC File Transfer Service from Scratch
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.

LinuxMMUPaging
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.

LinuxNetworkingUDP
0 likes · 34 min read
How to Supercharge Linux UDP Receive Performance: Kernel Tweaks and Code Optimizations