Tagged articles
27 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 18, 2026 · Operations

Top Nginx Performance Tweaks: Worker Processes and CPU Affinity Explained

This guide shows how to edit nginx.conf to adjust worker_processes based on CPU cores, explains when I/O blocking requires extra workers, and demonstrates Linux‑only worker_cpu_affinity settings with concrete examples for 2, 4, and 8‑core systems, including the exact commands to apply and reload the configuration.

CPU affinityConfigurationNginx
0 likes · 4 min read
Top Nginx Performance Tweaks: Worker Processes and CPU Affinity Explained
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
MaGe Linux Operations
MaGe Linux Operations
Aug 25, 2025 · Operations

Why Your 128‑Core Server Underperforms: Unlock 300% Gains with CPU Affinity

This article explains why a newly purchased 128‑core AMD EPYC server may perform worse than a 32‑core machine, demonstrates how improper CPU affinity and NUMA configuration cause severe performance loss, and provides step‑by‑step practical methods—including system topology analysis, taskset, numactl, kernel scheduler tweaks, and container settings—to achieve up to 300% improvement.

CPU affinityNUMA
0 likes · 15 min read
Why Your 128‑Core Server Underperforms: Unlock 300% Gains with CPU Affinity
Raymond Ops
Raymond Ops
Jul 9, 2025 · Fundamentals

Master Linux Scheduling: From CFS to CPU Affinity and systemd

This article explains Linux scheduling strategies, including real‑time and non‑real‑time policies, the CFS and Deadline schedulers, command‑line and systemd methods for setting policies, and techniques for CPU affinity using pinning, NUMA awareness, and cgroup cpuset controls.

CFSCPU affinityScheduling
0 likes · 9 min read
Master Linux Scheduling: From CFS to CPU Affinity and systemd
Liangxu Linux
Liangxu Linux
Aug 4, 2024 · Fundamentals

Unlock CPU Performance: Master Hyper‑Threading and Affinity on Linux

This article explains hyper‑threading fundamentals, distinguishes physical, logical, and CPU cores, shows how to query CPU topology on Linux, introduces the concept of CPU affinity, demonstrates using the taskset command and related syscalls, and provides C API examples for setting process and thread affinity.

CPU affinityHyper-threadinglinux
0 likes · 14 min read
Unlock CPU Performance: Master Hyper‑Threading and Affinity on Linux
Liangxu Linux
Liangxu Linux
May 14, 2024 · Fundamentals

Mastering CPU Affinity and Hyper‑Threading on Linux

This guide explains the concepts of Hyper‑Threading, physical vs logical CPUs, how to query CPU information on Linux, and provides detailed instructions for using the taskset command and related programming APIs to set and retrieve CPU affinity for processes and threads.

CPU affinitylinuxmultithreading
0 likes · 12 min read
Mastering CPU Affinity and Hyper‑Threading on Linux
JD Cloud Developers
JD Cloud Developers
Jun 7, 2023 · Backend Development

How to Bind Tokio Tasks to Specific CPU Cores with core_affinity_rs

This article demonstrates how to bind Tokio async tasks to specific CPU cores on Linux using the core_affinity_rs crate, showing code examples for single‑core and multi‑core affinity, performance monitoring on Ubuntu, and step‑by‑step modifications to the Tokio runtime builder.

AsynchronousCPU affinityperformance
0 likes · 5 min read
How to Bind Tokio Tasks to Specific CPU Cores with core_affinity_rs
AI Cyberspace
AI Cyberspace
Mar 28, 2023 · Fundamentals

Why NUMA Slows Multithreaded Apps and How to Optimize It

This article explains NUMA architecture, its multithreaded performance overheads such as remote memory access, cache synchronization, context and mode switches, interrupt handling, TLB misses, and memory copies, and then presents optimization techniques like NUMA and CPU affinity, IRQ tuning, and large‑page usage.

CPU affinityNUMASystem Architecture
0 likes · 20 min read
Why NUMA Slows Multithreaded Apps and How to Optimize It
Architects' Tech Alliance
Architects' Tech Alliance
Jan 17, 2023 · Backend Development

DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimizations

This article provides a comprehensive overview of DPDK, detailing its basic and optimization technologies, architectural components such as the Environment Abstraction Layer, core libraries, platform modules, poll‑mode drivers, hugepage memory management, and CPU‑affinity techniques that together enable high‑performance packet processing in NFV and SDN environments.

CPU affinityDPDKnetwork performance
0 likes · 8 min read
DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimizations
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Operations

How DPDK Boosts High‑Performance Packet Processing: Architecture and Core Techniques

This article explains DPDK’s open‑source data‑plane framework, detailing its architecture, core libraries, platform modules, poll‑mode drivers, huge‑page memory management, polling technique, and CPU‑affinity strategies that together eliminate kernel bottlenecks and dramatically improve packet‑forwarding performance.

CPU affinityDPDKNFV
0 likes · 9 min read
How DPDK Boosts High‑Performance Packet Processing: Architecture and Core Techniques
Architects' Tech Alliance
Architects' Tech Alliance
Aug 20, 2022 · Backend Development

DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimization Techniques

This article provides a comprehensive overview of DPDK, covering its fundamental and optimization technologies, software architecture, core libraries, platform modules, poll‑mode drivers, huge‑page usage, polling techniques, and CPU‑affinity strategies for high‑performance packet processing in NFV environments.

CPU affinityDPDKhugepages
0 likes · 9 min read
DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimization Techniques
Liangxu Linux
Liangxu Linux
Jul 6, 2021 · Fundamentals

How Linux Implements CPU Affinity: From sched_setaffinity to Task Migration

This article explains why binding a process to a specific CPU improves cache performance, shows how to set CPU affinity on Linux using the sched_setaffinity system call, and walks through the kernel's internal implementation—including run‑queue structures, migrate_task, and __migrate_task—illustrated with code and diagrams.

CPU affinitykernel migrationlinux
0 likes · 9 min read
How Linux Implements CPU Affinity: From sched_setaffinity to Task Migration
Liangxu Linux
Liangxu Linux
Mar 27, 2021 · Operations

Understanding Linux CPU Scheduling and Interrupt Handling

This article explains Linux's sophisticated scheduling system, CPU context switching, and the architecture of hardware and software interrupts, detailing how the kernel manages CPU resources, interrupt contexts, and bottom‑half mechanisms to optimize performance and stability.

CPU affinityCPU schedulingWorkqueue
0 likes · 20 min read
Understanding Linux CPU Scheduling and Interrupt Handling
Ops Development Stories
Ops Development Stories
Nov 11, 2020 · Backend Development

Unlocking DPDK Performance: Key Insights and Optimization Techniques

This article summarizes essential concepts and practical optimization strategies for DPDK, covering architecture fundamentals, x86 performance analysis, virtualization overhead, NFV forwarding bottlenecks, huge‑page usage, polling modes, CPU affinity, and I/O virtualization techniques to achieve high‑throughput, low‑latency packet processing.

CPU affinityDPDKHuge Pages
0 likes · 30 min read
Unlocking DPDK Performance: Key Insights and Optimization Techniques
NetEase Game Operations Platform
NetEase Game Operations Platform
Apr 25, 2020 · Databases

MySQL 8.0 Resource Groups: Configuration, Usage, and Limitations

This article explains how MySQL 8.0 Resource Groups enable fine‑grained CPU binding and thread‑priority control, provides sample SQL procedures and commands, details Linux environment setup, discusses implementation internals, outlines known limitations especially in containerized environments, and suggests practical usage scenarios.

CPU affinityContainersResource Groups
0 likes · 16 min read
MySQL 8.0 Resource Groups: Configuration, Usage, and Limitations
Ctrip Technology
Ctrip Technology
Nov 21, 2019 · Cloud Native

Case Study: Intermittent Container Timeout Issues – Analysis and Resolution

This article presents a detailed case study of intermittent container timeout problems in a Kubernetes environment, examining kernel upgrades, NUMA configurations, CPU affinity bindings, kubelet behavior, cadvisor overhead, and hardware faults, and outlines the investigative steps and solutions applied.

CPU affinityContainerHardware Fault
0 likes · 8 min read
Case Study: Intermittent Container Timeout Issues – Analysis and Resolution
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 25, 2018 · Operations

Mastering C10K: Modern Techniques to Scale Server Concurrency

This article reviews the historical C10K challenge, explains IO model improvements like epoll, kqueue and IOCP, and details practical Linux performance optimizations such as CPU and memory affinity, RSS/RPS/RFS/XPS, IRQ handling, kernel tuning, and hardware utilization for high‑concurrency servers.

C10KCPU affinityIO Multiplexing
0 likes · 21 min read
Mastering C10K: Modern Techniques to Scale Server Concurrency
Qunar Tech Salon
Qunar Tech Salon
Mar 21, 2018 · Operations

Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services

The article investigates why massive Redis deployments experience network packet loss despite using 10 Gbps NICs, explains how Linux kernel counters such as net.if.in.dropped are derived from /proc/net/dev, walks through the driver‑to‑kernel processing path, and proposes CPU‑affinity, interrupt‑affinity and NUMA‑aware tuning to eliminate the drops.

CPU affinityLinux kernelNUMA
0 likes · 28 min read
Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services
ITPUB
ITPUB
Jun 20, 2017 · Cloud Computing

How to Bind KVM vCPU to Specific Host CPUs with taskset

This guide explains processor affinity, shows how to isolate host CPUs using the isolcpus kernel parameter, and provides step‑by‑step commands to launch a KVM guest and bind its vCPU threads to dedicated CPUs with taskset, including verification techniques and useful tips.

CPU affinityKVMVirtualization
0 likes · 14 min read
How to Bind KVM vCPU to Specific Host CPUs with taskset
ITPUB
ITPUB
Nov 15, 2016 · Operations

How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM

This article shows how to detect a CPU0 load imbalance on a multi‑core web server, confirms PHP‑FPM as the cause with mpstat and pidstat, and provides a Bash script that uses taskset to evenly distribute PHP‑FPM processes across all CPUs, plus a cron tip to keep the setting persistent.

CPU affinitympstatphp-fpm
0 likes · 6 min read
How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM