Deepin Linux
Author

Deepin Linux

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

419
Articles
1
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

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

Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture

This article explains the core philosophy of Linux’s “everything is a file” design, walks through the kernel’s VFS layer, inode, dentry, superblock, logical blocks, and specific file systems, and provides hands‑on examples—including procfs initialization and read/write code—to help readers master Linux kernel file system internals.

KernelLinuxOperating system
0 likes · 45 min read
Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture
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.

CompilationELFExecutable
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++Keywordsconst
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 ParametersLinuxPerformance Tuning
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++MicroservicesProtocol Buffers
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.

LinuxMMUPage Tables
0 likes · 58 min read
How Does the MMU Translate Virtual to Physical Memory? A Deep Dive