Tagged articles
44 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Nov 11, 2025 · Databases

How to Tame MySQL CPU Spikes: A Complete 4‑Step Emergency Guide

When MySQL CPU usage spikes to 500%, this guide walks you through a four‑step emergency process—quickly stopping the overload, diagnosing the root cause, applying targeted SQL and configuration optimizations, and setting up monitoring to prevent future spikes—ensuring service stability and performance.

CPU optimizationDatabase MonitoringSlow query analysis
0 likes · 8 min read
How to Tame MySQL CPU Spikes: A Complete 4‑Step Emergency Guide
IT Services Circle
IT Services Circle
Jul 17, 2025 · Backend Development

Boosting Dubbo Performance: Extract Hot Branches, If vs Switch, and CPU Branch Prediction

The article explores how Dubbo’s ChannelEventRunnable code was optimized by separating the frequently‑taken ChannelState.RECEIVED case into its own if statement, compares the runtime efficiency of pure if‑else, mixed if‑switch, and pure switch structures, and explains the underlying CPU branch‑prediction and instruction‑pipeline mechanisms that affect these choices.

CPU optimizationDubboJava performance
0 likes · 15 min read
Boosting Dubbo Performance: Extract Hot Branches, If vs Switch, and CPU Branch Prediction
IT Services Circle
IT Services Circle
Jan 29, 2025 · Backend Development

How to Handle Frequent Full GC and High CPU Usage in Java Backend Development

This article explains common interview questions on frequent Full GC and high CPU usage in Java backend development, detailing root causes, JVM parameter adjustments, memory leak prevention, and code optimization techniques, along with practical code examples and tool recommendations for effective performance tuning.

CPU optimizationFull GCJVM
0 likes · 8 min read
How to Handle Frequent Full GC and High CPU Usage in Java Backend Development
Alibaba Cloud Observability
Alibaba Cloud Observability
Jan 27, 2025 · Backend Development

How to Quickly Diagnose and Fix CPU & JVM Memory Hotspots in Java Apps

This article explains common CPU and JVM memory bottlenecks in Java applications, shows how to detect abnormal usage with monitoring and alerts, and provides step‑by‑step methods—including top, jstack, flame‑graph analysis, and APM tools—to pinpoint and resolve performance hotspots efficiently.

APMCPU optimizationJVM Memory
0 likes · 11 min read
How to Quickly Diagnose and Fix CPU & JVM Memory Hotspots in Java Apps
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 18, 2024 · Backend Development

How to Use Arthas Flamegraph for Java Performance Profiling and Optimization

Learn how to leverage the Arthas flamegraph tool to profile Java applications, interpret CPU usage visualizations, and apply practical optimization techniques illustrated through real-world case studies that reduced CPU consumption by up to 6% and improved system stability during high‑traffic events.

ArthasBackend DevelopmentCPU optimization
0 likes · 7 min read
How to Use Arthas Flamegraph for Java Performance Profiling and Optimization
DaTaobao Tech
DaTaobao Tech
Oct 16, 2024 · Artificial Intelligence

Dynamic Quantization and Matrix Multiplication Optimization in MNN CPU Backend

The article details MNN’s CPU backend dynamic quantization for Transformer‑type models, describing runtime int8 conversion, block‑wise matrix‑multiply optimizations using ARM SMMLA/SDOT and AVX‑512 VNNI, weight‑group and batch‑wise quantization techniques, and reports up to three‑fold speed‑ups on Snapdragon 8 Gen 3.

CPU optimizationDynamic QuantizationINT8
0 likes · 19 min read
Dynamic Quantization and Matrix Multiplication Optimization in MNN CPU Backend
Open Source Linux
Open Source Linux
Sep 24, 2024 · Backend Development

How to Tame 900% CPU Spikes in MySQL and Java Processes

This guide explains why MySQL and Java processes can exceed 900% CPU usage in production, and provides step‑by‑step methods—using top, show processlist, jstack, index tuning, caching, and code adjustments—to diagnose, mitigate, and prevent such spikes.

CPU optimizationJavaLinux
0 likes · 10 min read
How to Tame 900% CPU Spikes in MySQL and Java Processes
Architects' Tech Alliance
Architects' Tech Alliance
Sep 20, 2024 · Operations

Unlocking Kunpeng CPU Performance: Real-World Optimization Techniques and Benchmarks

This article provides a comprehensive, step‑by‑step guide to tuning Kunpeng‑based servers, covering hardware characteristics, matrix‑multiplication benchmarks, NUMA‑aware scheduling, compiler and JDK optimizations, acceleration libraries, disk and NIC tuning, and a practical MariaDB performance‑tuning workflow.

CPU optimizationKunpengLinux
0 likes · 17 min read
Unlocking Kunpeng CPU Performance: Real-World Optimization Techniques and Benchmarks
Efficient Ops
Efficient Ops
Sep 11, 2024 · Backend Development

Why Do MySQL and Java Processes Hit 900% CPU? Proven Diagnosis & Fixes

Learn how to identify and resolve extreme CPU usage spikes—up to 900%—in MySQL and Java applications by using top, show processlist, indexing, caching, thread analysis, and code adjustments, with real‑world examples and step‑by‑step command guides.

CPU optimizationJavadatabase indexing
0 likes · 11 min read
Why Do MySQL and Java Processes Hit 900% CPU? Proven Diagnosis & Fixes
Sohu Tech Products
Sohu Tech Products
Aug 21, 2024 · Mobile Development

Analyzing and Optimizing Device Overheating Issues Using Trace Data

This article explains how to evaluate device overheating using metrics such as CPU/GPU usage and temperature, collect and visualize Trace data with SmartPerf or DevEco Studio, analyze high‑load threads and frequency scaling, and apply targeted code changes—disabling sensors, releasing Lottie resources, and simplifying components—to reduce heat and restore frame‑rate stability.

CPU optimizationDevEco StudioHarmonyOS
0 likes · 14 min read
Analyzing and Optimizing Device Overheating Issues Using Trace Data
Efficient Ops
Efficient Ops
Jul 8, 2024 · Operations

How to Diagnose and Fix High CPU Usage in Java Data Platforms

This article walks through a real‑world incident where a data‑platform server showed near‑100% CPU usage, explains step‑by‑step investigation using top, pwdx, and jstack, identifies a time‑conversion utility as the root cause, and presents a streamlined script‑based solution that reduced CPU load by thirtyfold.

CPU optimizationJava performanceOperations
0 likes · 11 min read
How to Diagnose and Fix High CPU Usage in Java Data Platforms
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 22, 2024 · Artificial Intelligence

PP-LCNet: A Lightweight CPU-Optimized Convolutional Neural Network

PP-LCNet is a lightweight convolutional neural network designed for Intel CPUs that leverages MKLDNN acceleration, H‑Swish activation, selective SE modules, larger kernels, and expanded fully‑connected layers to achieve higher accuracy without increasing inference latency across image classification, detection, and segmentation tasks.

CPU optimizationMKLDNNlightweight CNN
0 likes · 25 min read
PP-LCNet: A Lightweight CPU-Optimized Convolutional Neural Network
Selected Java Interview Questions
Selected Java Interview Questions
Mar 23, 2024 · Databases

Diagnosing and Resolving MySQL and Java CPU Spike Issues (CPU up to 900%)

This article explains how to diagnose and resolve severe CPU usage spikes—up to 900%—in MySQL and Java processes, detailing step‑by‑step identification, common causes such as missing indexes or excessive garbage collection, and practical remediation techniques including query optimization, indexing, caching, and thread analysis.

CPU optimizationJavaThread Dump
0 likes · 13 min read
Diagnosing and Resolving MySQL and Java CPU Spike Issues (CPU up to 900%)
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
DeWu Technology
DeWu Technology
Jun 30, 2023 · Mobile Development

Optimizing Android CPU Frequency, Core Affinity, and Thread Priority

The article explains how to boost Android app performance by programmatically raising CPU frequency using Qualcomm’s BoostFramework, setting thread‑core affinity with native sched_setaffinity calls, and increasing execution priority via Process.setThreadPriority, providing Kotlin and C examples that demonstrate measurable speed gains.

AndroidCPU optimizationKotlin
0 likes · 20 min read
Optimizing Android CPU Frequency, Core Affinity, and Thread Priority
Alibaba Cloud Native
Alibaba Cloud Native
Dec 16, 2022 · Operations

Mastering Performance Testing: Tools, Techniques, and Real-World Case Studies

This comprehensive guide explains what performance testing (stress testing) is, why it matters, various test types, popular tools like ApacheBench, JMeter, LoadRunner and PTS, and provides detailed step-by-step methodologies and real-world case analyses for diagnosing memory, CPU, and latency issues in cloud‑native Java applications.

CPU optimizationJVM profilingload testing tools
0 likes · 24 min read
Mastering Performance Testing: Tools, Techniques, and Real-World Case Studies
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
Architects' Tech Alliance
Architects' Tech Alliance
Aug 22, 2022 · Fundamentals

DPDK Performance Tuning: Influencing Factors and Optimization Techniques

This article explains how hardware architecture, Linux OS version, kernel configuration, OVS integration, memory management, NUMA awareness, and CPU micro‑architecture affect DPDK application performance and provides concrete tuning steps such as CPU isolation, service disabling, huge‑page setup, and optimized memory allocation.

CPU optimizationDPDKLinux
0 likes · 11 min read
DPDK Performance Tuning: Influencing Factors and Optimization Techniques
GuanYuan Data Tech Team
GuanYuan Data Tech Team
Aug 18, 2022 · Big Data

Why Spark’s compatiblePartitions Causes CPU Spikes and How to Fix It

The article investigates a Spark driver CPU overload caused by the compatiblePartitions method’s expensive permutation logic in window functions, explains the underlying O(n!) complexity, and presents a simplified implementation that eliminates the issue and has been merged into the official Spark codebase.

CPU optimizationSparkWindow Functions
0 likes · 7 min read
Why Spark’s compatiblePartitions Causes CPU Spikes and How to Fix It
StarRocks
StarRocks
Aug 17, 2022 · Databases

Why Vectorization Supercharges Database Performance: Deep Dive into StarRocks

This article explains how CPU‑centric vectorization, especially SIMD, reduces instruction count and CPI, addresses the four major CPU bottlenecks, and how StarRocks systematically applies automatic and manual SIMD techniques, verification methods, and a suite of engineering optimizations to achieve multi‑fold query speedups.

CPU optimizationSIMDStarRocks
0 likes · 16 min read
Why Vectorization Supercharges Database Performance: Deep Dive into StarRocks
IT Services Circle
IT Services Circle
Jul 5, 2022 · Backend Development

Optimizing feapder Spider with Gevent: Reducing CPU Usage and Thread Count

This article demonstrates how adding two gevent monkey‑patch lines to a feapder spider reduces CPU usage from 121% to 99% while changing the effective thread count from 36 to 12, and discusses the underlying principle, performance trade‑offs, and future directions for coroutine support.

CPU optimizationPythonWeb Crawling
0 likes · 6 min read
Optimizing feapder Spider with Gevent: Reducing CPU Usage and Thread Count
Liangxu Linux
Liangxu Linux
Oct 17, 2021 · Databases

Why MySQL Eats CPU and How to Slash Its Usage

This article explains which components—user processes, I/O wait, and system interrupts—consume most CPU in MySQL, describes the performance impact of high CPU, and provides concrete strategies such as reducing I/O, simplifying calculations, optimizing indexes, and judiciously scaling hardware to lower CPU usage.

CPU optimizationIO Waitdatabase
0 likes · 6 min read
Why MySQL Eats CPU and How to Slash Its Usage
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 17, 2021 · Game Development

How to Optimize Loading Speed, CPU, and Memory in Cocos Creator Games

This article shares practical techniques for improving Cocos Creator game performance by reducing black‑screen time, minimizing CPU draw‑calls, and managing memory through resource compression, atlasing, cache modes, node pooling, and texture compression, all illustrated with step‑by‑step examples and screenshots.

CPU optimizationCocos CreatorGame performance
0 likes · 17 min read
How to Optimize Loading Speed, CPU, and Memory in Cocos Creator Games
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Operations

Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations

This article explains Linux's sophisticated scheduling system for multi‑core, SMP, and NUMA architectures, describes global, clustered, partitioned, and arbitrary schedulers, details scheduling domains and load‑balancing mechanisms, and provides practical performance‑tuning techniques using tools like perf, flame graphs, and various kernel optimizations.

BFSCFSCPU optimization
0 likes · 31 min read
Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 5, 2021 · Artificial Intelligence

Efficient General‑Purpose Frame Extraction for AI Video Inference Services

The paper presents a unified, high‑performance frame‑extraction framework that dynamically selects CPU or GPU decoding, leverages multithreaded and CUDA‑accelerated pipelines, keeps frames in memory, and achieves up to ten‑fold latency reductions for diverse AI video‑inference tasks.

AI video inferenceCPU optimizationGPU Acceleration
0 likes · 14 min read
Efficient General‑Purpose Frame Extraction for AI Video Inference Services
Programmer DD
Programmer DD
Jul 30, 2020 · Databases

Why Is MySQL Consuming CPU? Identify Culprits and Optimize Performance

Understanding CPU usage in MySQL involves recognizing that user processes, IO waits, and system interrupts dominate consumption, and by reducing IO, optimizing queries, indexing, and minimizing costly calculations, you can lower CPU load, improve throughput, and avoid performance bottlenecks.

CPU optimizationdatabasemysql
0 likes · 5 min read
Why Is MySQL Consuming CPU? Identify Culprits and Optimize Performance
Programmer DD
Programmer DD
May 9, 2020 · Databases

How to Identify and Reduce CPU Bottlenecks in MySQL

This article explains which components consume CPU on a MySQL server, analyzes the impact of user‑space processing and IO wait, and provides practical strategies—such as optimizing indexes, reducing unnecessary calculations, and improving IO handling—to lower CPU usage and improve overall database performance.

CPU optimizationIO Waitdatabase
0 likes · 6 min read
How to Identify and Reduce CPU Bottlenecks in MySQL
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 2, 2019 · Backend Development

Master Java Performance: Proven Strategies to Identify and Fix CPU, Memory, and I/O Bottlenecks

This article presents a comprehensive guide to Java performance optimization, covering common code pitfalls, CPU and memory analysis techniques, disk and network I/O troubleshooting, and a collection of essential Linux commands, enabling engineers to pinpoint and resolve critical bottlenecks efficiently.

CPU optimizationJava performanceLinux monitoring
0 likes · 24 min read
Master Java Performance: Proven Strategies to Identify and Fix CPU, Memory, and I/O Bottlenecks
Didi Tech
Didi Tech
Aug 2, 2019 · Backend Development

Using Go pprof for Online Performance Profiling: Case Studies and Lessons

The article demonstrates how Go’s built‑in pprof tools can be used for live performance profiling, walking through two real‑world cases—one where a malformed JSON request caused massive object allocation and CPU spikes, and another where per‑call self‑referencing structs leaked memory—while offering practical tips on input validation, allocation reduction, and GC monitoring.

Backend DevelopmentCPU optimizationGo
0 likes · 16 min read
Using Go pprof for Online Performance Profiling: Case Studies and Lessons
Efficient Ops
Efficient Ops
Jun 2, 2019 · Databases

Why Is MySQL Eating Your CPU? Identify and Reduce CPU Bottlenecks

This article explains which components (user processes, IO wait, interrupts) consume most CPU in MySQL workloads, the performance impacts of high CPU usage, and practical steps—reducing IO, optimizing queries, and hardware upgrades—to lower CPU consumption and improve throughput.

CPU optimizationmysql
0 likes · 6 min read
Why Is MySQL Eating Your CPU? Identify and Reduce CPU Bottlenecks
Architects' Tech Alliance
Architects' Tech Alliance
Apr 26, 2019 · Backend Development

Understanding Network I/O Challenges and DPDK High‑Performance Solutions

The article analyzes the growing demands on network I/O, explains Linux and x86 bottlenecks, introduces DPDK’s user‑space bypass architecture and its core optimizations such as hugepages, poll‑mode drivers, SIMD, and CPU‑specific tuning, and finally discusses the DPDK ecosystem and practical considerations for backend developers.

CPU optimizationDPDKLinux
0 likes · 13 min read
Understanding Network I/O Challenges and DPDK High‑Performance Solutions
Tencent Cloud Developer
Tencent Cloud Developer
Mar 7, 2019 · Databases

How to Address High CPU Load on a Single MySQL Core

To resolve a MySQL single‑core CPU bottleneck, examine and tune slow queries and indexes, eliminate heavy lock contention, break large transactions into smaller ones, and employ tools like perf top to pinpoint performance hotspots, as recommended by Tencent Cloud Database expert Liu Di.

CPU optimizationDatabase PerformancePerf tool
0 likes · 3 min read
How to Address High CPU Load on a Single MySQL Core
MaGe Linux Operations
MaGe Linux Operations
Apr 5, 2018 · Operations

Master Linux Performance Tuning with Perf: From Basics to Advanced Profiling

This article introduces Linux’s built‑in Perf tool, explains its architecture and hardware counters, walks through practical examples—including basic commands, statistical summaries, real‑time monitoring, and detailed call‑graph analysis—while providing C code samples and visual illustrations to help developers pinpoint and optimize performance bottlenecks.

CPU optimizationLinux profilingperf
0 likes · 23 min read
Master Linux Performance Tuning with Perf: From Basics to Advanced Profiling
Efficient Ops
Efficient Ops
Aug 7, 2017 · Backend Development

How Adjusting PHP‑FPM max_requests Stabilizes CPU and Memory Usage

This article explains how tuning the PHP‑FPM max_requests setting and modifying its source code can eliminate periodic CPU_IDLE and MEM_USED fluctuations in high‑traffic web services, resulting in smoother resource utilization and more reliable performance.

Backend PerformanceCPU optimizationMemory Usage
0 likes · 6 min read
How Adjusting PHP‑FPM max_requests Stabilizes CPU and Memory Usage
ITPUB
ITPUB
May 8, 2017 · Big Data

Master Spark Performance: Practical Tuning Tips and Real‑World Examples

This article explains essential Spark concepts, illustrates common performance bottlenecks, and provides concrete tuning strategies for memory, CPU, serialization, data locality, file I/O, and shuffle reduction, backed by real‑world examples and visual metrics.

Big DataCPU optimizationConfiguration
0 likes · 19 min read
Master Spark Performance: Practical Tuning Tips and Real‑World Examples
Architect
Architect
Nov 4, 2015 · Backend Development

Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage

The article explains why modern web systems face ever‑increasing concurrent connections, analyzes how front‑end techniques and server‑side configurations such as Apache MPM modes, Nginx, sendfile, and epoll can reduce memory and CPU consumption, and offers practical recommendations for efficient backend architecture.

ApacheCPU optimizationMemory Management
0 likes · 17 min read
Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage
21CTO
21CTO
Sep 21, 2015 · Operations

How to Tame High Concurrency: Cutting Web Server Memory and CPU Usage

This article explains why modern web systems face exploding concurrent connections, how richer page interactions and higher browser limits increase server load, and presents front‑end caching, request merging, Apache/Nginx memory‑saving modes, sendfile, and epoll techniques to reduce both memory and CPU consumption.

ApacheCPU optimizationMemory Management
0 likes · 19 min read
How to Tame High Concurrency: Cutting Web Server Memory and CPU Usage
Qunar Tech Salon
Qunar Tech Salon
Mar 18, 2015 · Backend Development

Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies

The article examines the rise of high‑concurrency web connections, explains how richer front‑end interactions increase load, and presents a range of optimization techniques—from caching and request merging to server‑side memory and CPU reductions using Apache MPM modes, Nginx, and sendfile—to improve web service efficiency.

ApacheCPU optimizationFrontend Optimization
0 likes · 19 min read
Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies