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
Oct 29, 2025 · Operations

Unlock Linux Performance Secrets with SystemTap: A Practical Guide

SystemTap provides Linux developers and administrators a powerful, low‑overhead dynamic tracing solution that lets you monitor kernel and user‑space events, pinpoint performance bottlenecks, debug crashes, and build custom monitoring without rebooting or recompiling, making invisible system issues visible and solvable.

LinuxSystemTapdynamic tracing
0 likes · 32 min read
Unlock Linux Performance Secrets with SystemTap: A Practical Guide
Deepin Linux
Deepin Linux
Oct 28, 2025 · Fundamentals

Why kmalloc Is the Secret Weapon for Fast Kernel Memory Allocation

This article explains how the Linux kernel's kmalloc function provides fast, contiguous physical memory allocation using the slab allocator, covering its API, internal mechanisms, allocation flags, memory management strategies, common pitfalls, and practical kernel module examples for developers.

Kernel DevelopmentLinux kernelSlab Allocator
0 likes · 73 min read
Why kmalloc Is the Secret Weapon for Fast Kernel Memory Allocation
Deepin Linux
Deepin Linux
Oct 27, 2025 · Operations

Sniffnet: Free Rust‑Based Real‑Time Network Monitor

Sniffnet is a free, Rust‑written network monitoring application that offers real‑time traffic visualization, precise IP and geographic identification, protocol analysis, customizable themes, and exportable PCAP capture files, with step‑by‑step installation guides for Windows, macOS, and Linux, plus optional Npcap support.

LinuxNetwork MonitoringPCAP
0 likes · 6 min read
Sniffnet: Free Rust‑Based Real‑Time Network Monitor
Deepin Linux
Deepin Linux
Oct 24, 2025 · Fundamentals

What Really Happens Inside Linux System Calls? A Deep Dive

This article explains Linux system calls as the bridge between user‑space programs and the kernel, covering their purpose, importance, the distinction between user and kernel space, the execution process, classifications, invocation methods, and performance considerations, with clear examples in C.

KernelLinuxProgramming
0 likes · 50 min read
What Really Happens Inside Linux System Calls? A Deep Dive
Deepin Linux
Deepin Linux
Oct 22, 2025 · Operations

Why Your Linux Server Drops Packets and How to Debug It Step‑by‑Step

This article explains why Linux servers can experience mysterious packet loss, walks through a systematic debugging process from the link layer to the kernel TCP/IP stack, and provides practical solutions such as adjusting kernel parameters and increasing listen queue sizes to eliminate the issue.

LinuxPacket LossTCP/IP
0 likes · 58 min read
Why Your Linux Server Drops Packets and How to Debug It Step‑by‑Step
Deepin Linux
Deepin Linux
Oct 20, 2025 · Fundamentals

How to Detect and Fix C++ Memory Leaks on Linux: Tools, Tips, and Code

This article explains what memory leaks are in C++ on Linux, why they matter, how they occur, and provides practical guidance on detecting them with tools like Valgrind, AddressSanitizer, GDB, and mtrace, followed by concrete solutions such as proper new/delete usage, smart pointers, RAII, custom allocators, and memory pools.

AddressSanitizerC++Linux
0 likes · 39 min read
How to Detect and Fix C++ Memory Leaks on Linux: Tools, Tips, and Code
Deepin Linux
Deepin Linux
Oct 17, 2025 · Fundamentals

How Linux Kernel Preemption Keeps Your System Responsive – A Deep Dive

This article explains why Linux’s kernel preemption mechanism is essential for allocating CPU resources efficiently, compares kernel and user preemption, details the TIF_NEED_RESCHED flag and preempt_count counter, and shows practical C code and real‑world case studies that illustrate how high‑priority tasks can pre‑empt low‑priority work without causing priority inversion.

Linux schedulingReal-time systemsSpinlock
0 likes · 41 min read
How Linux Kernel Preemption Keeps Your System Responsive – A Deep Dive
Deepin Linux
Deepin Linux
Oct 15, 2025 · Fundamentals

Unlock Ultra‑Fast Linux I/O: How io_uring Revolutionizes Asynchronous Operations

This article explores the evolution of Linux I/O models—from blocking and non‑blocking to epoll—and introduces io_uring as a high‑performance asynchronous framework that reduces system‑call overhead, eliminates data copies, and unifies network and disk I/O for modern high‑concurrency applications.

Linux kernelPerformanceasynchronous I/O
0 likes · 51 min read
Unlock Ultra‑Fast Linux I/O: How io_uring Revolutionizes Asynchronous Operations