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
Jan 28, 2026 · Fundamentals

Unlock Linux Performance: Master Memory Alignment and Struct Optimization

This article explains the core principles of memory alignment on Linux, shows how misaligned data harms CPU cache and execution speed, provides concrete C code examples and benchmark results, and offers practical techniques—including compiler directives and struct layout tricks—to achieve optimal performance.

C ProgrammingLinuxPerformance Optimization
0 likes · 22 min read
Unlock Linux Performance: Master Memory Alignment and Struct Optimization
Deepin Linux
Deepin Linux
Jan 25, 2026 · Fundamentals

Why mmap Outperforms io_uring in Real-World I/O – A Deep Linux Memory‑Mapping Guide

mmap, the classic Linux memory‑mapping technique, often surpasses the modern async io_uring in various I/O scenarios by eliminating redundant data copies, reducing system calls, and enabling zero‑copy access, while the article explains its fundamentals, workflow, performance comparisons, practical usage, pitfalls, and code examples.

Linuxio_uringmemory mapping
0 likes · 44 min read
Why mmap Outperforms io_uring in Real-World I/O – A Deep Linux Memory‑Mapping Guide
Deepin Linux
Deepin Linux
Jan 24, 2026 · Fundamentals

Unlocking Linux Performance: A Deep Dive into io_uring and Its Advantages

This comprehensive guide explains why traditional I/O models become bottlenecks in high‑performance computing, introduces the modern io_uring framework with its submission and completion queues, walks through its design goals, core concepts, workflow, performance comparisons, optimization tips, real‑world use cases, and provides complete C examples for practical adoption.

C ProgrammingLinuxPerformance Optimization
0 likes · 48 min read
Unlocking Linux Performance: A Deep Dive into io_uring and Its Advantages
Deepin Linux
Deepin Linux
Jan 13, 2026 · Operations

Master Linux Shell Scripting: From Basics to Real-World Automation

This comprehensive guide walks readers through the fundamentals of Linux shell scripting, covering essential commands, variables, control structures, functions, and practical automation scripts for monitoring, log analysis, and backups, while also addressing performance and security best practices.

AutomationLinuxShell scripting
0 likes · 30 min read
Master Linux Shell Scripting: From Basics to Real-World Automation
Deepin Linux
Deepin Linux
Jan 11, 2026 · Fundamentals

Mastering Linux Kernel Linked Lists: From Theory to High‑Performance Code

This article explains the design, implementation, and practical use of the Linux kernel's intrusive linked‑list data structure, covering its core concepts, list_head definition, common macros, insertion, deletion, traversal, optimization techniques, concurrency control with RCU and memory barriers, and real‑world examples in device drivers and process scheduling.

ConcurrencyData StructuresLinux kernel
0 likes · 37 min read
Mastering Linux Kernel Linked Lists: From Theory to High‑Performance Code
Deepin Linux
Deepin Linux
Jan 10, 2026 · Operations

Master Linux Process Load Balancing with cgroups and taskset: A Step‑by‑Step Guide

This article explains how to use Linux's built‑in cgroups and taskset tools to monitor, limit, and bind process workloads, providing detailed commands, subsystem explanations, collaborative usage strategies, real‑world case studies, and troubleshooting tips for improving system performance and stability.

LinuxPerformance Optimizationcgroups
0 likes · 29 min read
Master Linux Process Load Balancing with cgroups and taskset: A Step‑by‑Step Guide
Deepin Linux
Deepin Linux
Jan 8, 2026 · Backend Development

How to Dynamically Enable dev_dbg in the Linux Kernel Without Reboot

This article explains the purpose of dev_info, dev_dbg, and dev_err in Linux kernel logging, shows how to view their output, and provides step‑by‑step methods—including dynamic debug, kernel configuration, and module parameters—to enable or disable dev_dbg at runtime without recompiling or rebooting.

Linux kerneldev_dbgdriver development
0 likes · 26 min read
How to Dynamically Enable dev_dbg in the Linux Kernel Without Reboot
Deepin Linux
Deepin Linux
Jan 6, 2026 · Operations

Unlock Linux Performance: Master Memory Watermarks and OOM Killer

This article explains how Linux memory watermarks, kswapd, direct reclaim, and the OOM Killer interact, provides detailed code examples, shows real‑world case studies, and offers practical tuning steps—including kernel parameters, cgroup limits, and monitoring tools—to prevent system stalls and crashes.

LinuxOOM killerWatermarks
0 likes · 41 min read
Unlock Linux Performance: Master Memory Watermarks and OOM Killer