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
Jun 13, 2026 · Operations

Why Server‑Centric Kernel Tuning Breaks Embedded Linux – Lessons from Real‑World Failures

Copying generic server TCP kernel parameters to embedded Linux devices often triggers memory exhaustion, connection drops, latency spikes, and CPU overload because the hardware resources, network conditions, and workload patterns differ dramatically, and the article explains the root causes and provides a safe, device‑specific tuning methodology.

Linuxembeddedkernel
0 likes · 12 min read
Why Server‑Centric Kernel Tuning Breaks Embedded Linux – Lessons from Real‑World Failures
Deepin Linux
Deepin Linux
Jun 12, 2026 · Interview Experience

Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer

The article explains the four most frequently tested static keyword pitfalls in C/C++ interviews—local variable initialization, thread‑unsafe functions, file‑level global scope, and class member sharing—detailing their underlying lifetime and scope rules, common misconceptions, and a concise answer template to prevent losing an offer.

C++class memberinterview
0 likes · 11 min read
Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer
Deepin Linux
Deepin Linux
Jun 11, 2026 · Fundamentals

12 Essential Embedded Debugging Techniques for One‑Click Issue Diagnosis

The article presents twelve practical embedded debugging methods—from basic software logging and UART prints to hardware tools like logic analyzers, oscilloscopes, and JTAG—organized by core principles, software techniques, hardware assistance, advanced tracing, and common pitfalls, enabling engineers to efficiently locate and resolve firmware and hardware faults.

DebuggingJTAGUART
0 likes · 27 min read
12 Essential Embedded Debugging Techniques for One‑Click Issue Diagnosis
Deepin Linux
Deepin Linux
Jun 10, 2026 · Backend Development

Understanding Linux SPI Drivers from Scratch: A Complete Guide

This article explains the Linux SPI driver framework, layering, device‑tree matching, and data‑transfer process, providing clear examples, key APIs, and step‑by‑step instructions to help beginners grasp SPI communication and resolve common development issues.

Device TreeEmbedded LinuxKernel Driver
0 likes · 23 min read
Understanding Linux SPI Drivers from Scratch: A Complete Guide
Deepin Linux
Deepin Linux
Jun 9, 2026 · Fundamentals

Why Is CPU Computation Lightning‑Fast While Data Lookup So Slow?

CPU arithmetic runs at near‑physical limits because all operations stay on‑chip, but data lookup is throttled by three physical bottlenecks—storage hierarchy, data placement, and addressing rules—forcing the processor to wait for cache, memory or disk transfers and dramatically reducing overall system throughput.

CPUCacheMemory Hierarchy
0 likes · 18 min read
Why Is CPU Computation Lightning‑Fast While Data Lookup So Slow?
Deepin Linux
Deepin Linux
Jun 7, 2026 · Fundamentals

Understanding the MCU Core: A Complete Guide to Microcontroller Units

This article explains what an MCU (Microcontroller Unit) is, details its hardware components such as CPU, memory and I/O ports, describes its instruction fetch‑decode‑execute cycle, and shows how MCUs serve as the processing hub, precise controller and communication bridge in embedded systems through concrete code examples.

Hardware ArchitectureI/O InterfacesInterrupts
0 likes · 22 min read
Understanding the MCU Core: A Complete Guide to Microcontroller Units
Deepin Linux
Deepin Linux
May 31, 2026 · Operations

Why Switching Linux Pages from 4KB to 2MB Can Destroy Performance

Changing the default Linux page size from 4KB to 2MB can dramatically increase TLB hit rates but, for typical microservice workloads with many small allocations, it leads to massive internal fragmentation, higher cache‑coherency overhead, and severe latency spikes, ultimately causing overall performance to collapse.

HugePagesLinuxTLB
0 likes · 19 min read
Why Switching Linux Pages from 4KB to 2MB Can Destroy Performance
Deepin Linux
Deepin Linux
May 22, 2026 · Fundamentals

What is nullptr and why should it replace NULL in modern C++?

The article explains that NULL is a macro equal to integer 0, which can cause type‑mixing errors in overload resolution and template deduction, while the C++11 keyword nullptr has its own std::nullptr_t type, providing strict pointer semantics, eliminating overload ambiguities, improving safety, readability, and integration with modern C++ features.

C++NULLfunction overload
0 likes · 24 min read
What is nullptr and why should it replace NULL in modern C++?
Deepin Linux
Deepin Linux
May 22, 2026 · Backend Development

Mastering the Zero‑Copy Trio: sendfile, mmap, and splice

This article provides a comprehensive, step‑by‑step analysis of Linux zero‑copy mechanisms—sendfile, mmap, and splice—detailing their internal workflows, performance trade‑offs, code examples, and practical selection guidelines for high‑throughput backend development.

LinuxZero-copymmap
0 likes · 41 min read
Mastering the Zero‑Copy Trio: sendfile, mmap, and splice
Deepin Linux
Deepin Linux
May 21, 2026 · Fundamentals

From Zero to One: Dissecting the Underlying Principles of Linux File I/O

This article walks through the complete Linux file I/O workflow—from opening, reading, and writing files, to kernel‑level system call execution and the differences among five major I/O models—explaining buffers, caches, blocking vs. non‑blocking modes, and performance‑impacting trade‑offs.

BuffersC ProgrammingFile I/O
0 likes · 42 min read
From Zero to One: Dissecting the Underlying Principles of Linux File I/O