Tagged articles
19 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Jan 3, 2026 · Operations

Boost Linux Performance: Master CPU Affinity and Scheduling

This article explains the fundamentals of Linux CPU affinity, compares soft and hard binding, shows how to use taskset, sched_setaffinity, numactl and cgroup cpuset, and provides real‑world case studies for servers, game frameworks, Nginx and Hadoop clusters.

CPU affinityCPU schedulingLinux performance
0 likes · 36 min read
Boost Linux Performance: Master CPU Affinity and Scheduling
Deepin Linux
Deepin Linux
Dec 2, 2025 · Fundamentals

Why CPU Cache Misses Slow Down Your Linux System—and How to Fix Them

CPU caches bridge the speed gap between processors and memory, but cache misses can dramatically degrade performance, especially under high concurrency or big‑data workloads; this article explains cache architecture, common miss causes, diagnostic tools like perf and cachestat, and practical optimization techniques for Linux systems.

CPU cacheLinux performanceMESI Protocol
0 likes · 44 min read
Why CPU Cache Misses Slow Down Your Linux System—and How to Fix Them
MaGe Linux Operations
MaGe Linux Operations
Sep 24, 2025 · Operations

How I Pinpointed the Real Culprit of a 100% CPU Spike in Production in Just 3 Minutes

When a production server hit 100% CPU at 3 AM, the author walks through a three‑minute, step‑by‑step method—quickly identifying the offending process, drilling into threads, and pinpointing problematic code—while sharing useful shell commands, common pitfalls, advanced safeguards like cgroup limits and eBPF tracing.

CPU troubleshootingLinux performanceOperations
0 likes · 9 min read
How I Pinpointed the Real Culprit of a 100% CPU Spike in Production in Just 3 Minutes
Deepin Linux
Deepin Linux
Jul 15, 2025 · Operations

Why the Thundering Herd Problem Slows Your Linux Server and How to Fix It

The thundering herd problem in Linux causes multiple processes or threads to wake up simultaneously for a single event, leading to wasted CPU cycles, excessive context switches, lock contention, and severe performance degradation, but it can be mitigated with kernel tweaks, epoll flags, SO_REUSEPORT, thread pools, and other strategies.

Linux performanceacceptepoll
0 likes · 45 min read
Why the Thundering Herd Problem Slows Your Linux Server and How to Fix It
Deepin Linux
Deepin Linux
Apr 2, 2025 · Operations

Comprehensive Guide to bpftrace: Features, Architecture, Installation, and Practical Use Cases

This article introduces bpftrace, an eBPF‑based dynamic tracing tool for Linux, explains its core concepts, technical architecture, installation methods, basic syntax, and demonstrates real‑world performance analysis, fault diagnosis, and security monitoring scenarios while comparing it with DTrace, SystemTap, and BCC.

DebuggingLinux performanceSystem Tracing
0 likes · 24 min read
Comprehensive Guide to bpftrace: Features, Architecture, Installation, and Practical Use Cases
Open Source Linux
Open Source Linux
May 11, 2024 · Operations

How to Measure Server Disk I/O Performance with the dd Command

This guide explains why disk I/O matters for server performance and walks through using the Linux dd command to create a test file, run read/write benchmarks, interpret the results from /proc/diskstats, and automate regular checks with a cron script.

BenchmarkDisk I/OLinux performance
0 likes · 7 min read
How to Measure Server Disk I/O Performance with the dd Command
Open Source Linux
Open Source Linux
Sep 11, 2023 · Operations

Master Linux Performance Analysis: CPU, Memory, Disk, Network & Flame Graphs

This comprehensive guide explains how to diagnose Linux performance problems—from CPU, memory, disk I/O, and network bottlenecks to system load—using tools like top, vmstat, perf, iostat, netstat, and flame graphs, and demonstrates the methodology with a real‑world Nginx case study.

CPU analysisLinux performanceflame graphs
0 likes · 17 min read
Master Linux Performance Analysis: CPU, Memory, Disk, Network & Flame Graphs
Efficient Ops
Efficient Ops
Sep 5, 2023 · Operations

Master Linux Performance: Boost Throughput, Cut Latency, and Optimize CPU & Memory

This guide explains how high concurrency and fast response depend on throughput and latency, defines key performance metrics, shows how to interpret average load, CPU context switches, and memory usage, and provides practical Linux tools and command‑line examples for diagnosing and tuning system performance.

CPU optimizationLinux performanceMemory Management
0 likes · 44 min read
Master Linux Performance: Boost Throughput, Cut Latency, and Optimize CPU & Memory
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 20, 2023 · Operations

Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained

This article provides an in‑depth technical walkthrough of Android’s traced_perf component, covering its code layout, integration with Perfetto, IPC mechanisms, perf_event handling, sample acquisition, stack unwinding, and trace writing, while illustrating each step with diagrams and reference links.

Android profilingIPCLinux performance
0 likes · 21 min read
Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained
MaGe Linux Operations
MaGe Linux Operations
Nov 19, 2022 · Operations

Master Linux Performance: Key Metrics, Tools, and Optimization Strategies

This comprehensive guide explains Linux performance optimization by covering core metrics such as throughput and latency, the meaning of average load, CPU context switching, memory management, common bottlenecks, and a suite of diagnostic tools like vmstat, pidstat, perf, and strace, plus practical tuning techniques for both applications and the operating system.

CPU optimizationLinux performanceperformance tools
0 likes · 45 min read
Master Linux Performance: Key Metrics, Tools, and Optimization Strategies
Sanyou's Java Diary
Sanyou's Java Diary
Aug 11, 2022 · Operations

Rapidly Diagnose Production Bugs with Linux Tools, Performance Tricks & Design Patterns

This article guides developers through classifying system‑level and business‑level bugs, using Linux utilities like perf, ps, and vmstat for quick root‑cause analysis, and outlines effective code‑design patterns and architectural strategies—caching, rate‑limiting, and high‑availability—to prevent and resolve production incidents.

Linux performancebackend operationsbug troubleshooting
0 likes · 13 min read
Rapidly Diagnose Production Bugs with Linux Tools, Performance Tricks & Design Patterns
Qu Tech
Qu Tech
Jan 25, 2021 · Operations

How to Diagnose and Fix High Load with Low CPU Utilization in Nginx

This article walks through Linux process states, fork/exec creation, CPU vs load metrics, network I/O models, and a real‑world Nginx high‑load case, showing how strace, accept_mutex, and SO_REUSEPORT can resolve the issue.

Linux performanceNginxSO_REUSEPORT
0 likes · 12 min read
How to Diagnose and Fix High Load with Low CPU Utilization in Nginx
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 30, 2019 · Operations

Master CPU & Memory Subsystem Tuning on Kunpeng Processors: Tools & Strategies

This article introduces practical CPU and memory subsystem performance tuning for Kunpeng processors, covering optimization concepts, key parameters, common monitoring tools such as top, perf and numactl, and detailed methods like NUMA binding, prefetch control, timer tuning, TLB page size adjustment, and thread concurrency optimization.

CPU tuningKunpengLinux performance
0 likes · 15 min read
Master CPU & Memory Subsystem Tuning on Kunpeng Processors: Tools & Strategies
Efficient Ops
Efficient Ops
Jun 18, 2017 · Operations

Mastering CPU Performance: Monitoring and Tuning Techniques for Linux

This article explains how to monitor CPU usage on Linux using tools like top, vmstat, and gstat, analyzes common causes of high user and system CPU time, and provides practical tuning methods such as adjusting process priority, using ulimit, and configuring program‑specific CPU settings.

CPU MonitoringLinux performanceSystem Tuning
0 likes · 10 min read
Mastering CPU Performance: Monitoring and Tuning Techniques for Linux
MaGe Linux Operations
MaGe Linux Operations
Oct 13, 2015 · Fundamentals

Linux CPU Scheduling Explained: Context Switches, Run Queues & Monitoring

This article outlines how the Linux CPU scheduler manages threads and interrupts, explains context switches, run queue length, CPU utilization metrics, typical performance thresholds, and introduces monitoring tools like vmstat and mpstat, followed by real‑world troubleshooting examples.

CPU schedulingLinux performanceMonitoring Tools
0 likes · 6 min read
Linux CPU Scheduling Explained: Context Switches, Run Queues & Monitoring
MaGe Linux Operations
MaGe Linux Operations
Aug 7, 2014 · Operations

Why 4K Disk Sectors Improve Reliability, Capacity, and Performance

Switching from traditional 512‑byte sectors to 4096‑byte (4K) sectors enhances error‑correction, increases usable capacity, and can affect I/O performance; proper partition alignment is crucial, as misaligned partitions cause significant read/write slowdowns across various Linux file systems, as shown by benchmark tests.

4K sectorsAdvanced FormatLinux performance
0 likes · 12 min read
Why 4K Disk Sectors Improve Reliability, Capacity, and Performance
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2014 · Operations

Master Linux Performance Monitoring with sar: A Complete Guide

This article explains how to use the sar (System Activity Reporter) tool on Linux to collect and analyze performance data, covering past and real‑time statistics, CPU, memory, I/O and swap metrics, installation steps, and a full list of command‑line options.

CPU usageLinux performanceMemory Usage
0 likes · 9 min read
Master Linux Performance Monitoring with sar: A Complete Guide