Tagged articles
CPU profiling
32 articles · Page 1 of 1
This comprehensive guide covers Linux troubleshooting methodology using 5W2H, essential tools for CPU, memory, disk I/O, network, and load analysis, plus flame graph techniques for on-CPU, off-CPU, memory, and differential profiling, illustrated with a real nginx cluster case study.
CPU profilingLinux troubleshootingNetwork Monitoring
0 likes · 18 min read

This article demonstrates using Arthas to diagnose a Spring Boot service with 100% CPU, memory leaks, and latency spikes, showing step-by-step commands like dashboard, thread, heapdump, trace, and watch to pinpoint dead loops, unbounded caches, and missing SQL indexes, plus emergency hot-patching with redefine.
ArthasCPU profilingJVM troubleshooting
0 likes · 17 min read

Bun introduces the --cpu-prof-md flag that outputs CPU profiling data as structured Markdown for large language models, earning praise from Vue creator Evan You and inspiring Node.js core contributor Matteo Collina to release a pprof‑to‑md converter, highlighting a shift toward AI‑oriented CLI tools.
AI debuggingBunCLI tools
0 likes · 7 min read

This guide explains how to use Alibaba's open‑source Java diagnostic tool Arthas to non‑intrusively monitor, locate, and resolve CPU performance bottlenecks in production Java applications, covering installation, key commands, a step‑by‑step troubleshooting workflow, and a real‑world case study.
ArthasCPU profilingFlame Graph
0 likes · 16 min read

This article analyzes the CPU spikes that occur within minutes after a Java service restart, explains how excessive Runnable threads, frequent context switches, and JIT compiler activity cause the overload, and presents step‑by‑step diagnostics and mitigation strategies such as traffic greying, cache pre‑warming, request‑parameter cleanup, and JVM warm‑up.
ArthasCPU profilingJIT Compilation
0 likes · 32 min read


ITPUBJun 24, 2025 · Backend Development
This guide explains why Java applications can hit 100% CPU in production, introduces the two primary diagnostic tools jstack and Arthas, and provides step‑by‑step commands and code examples to locate the exact source line responsible for the CPU spike.
ArthasCPU profilingJava
0 likes · 13 min read

This guide explains how to locate the cause of sudden CPU spikes in a Java program by using the top command to identify the offending process and thread, converting the thread ID to hexadecimal, and analyzing stack traces with jstack to pinpoint the problematic code line.
BackendCPU profilingJava
0 likes · 4 min read

Thread dumps provide a snapshot of all active JVM threads, including their state, stack trace, and metadata, enabling developers to diagnose performance issues such as slow responses, high CPU usage, deadlocks, and thread pool inefficiencies by examining key fields and applying practical analysis techniques.
CPU profilingJava performanceThread Dump
0 likes · 12 min read

This guide explains how to diagnose Linux performance bottlenecks—CPU, memory, disk I/O, network, and system load—using tools such as top, vmstat, perf, and flame graphs, and demonstrates a real‑world Nginx case study to pinpoint high‑CPU JSON parsing and upstream latency issues.
CPU profilingLinux monitoringPerformance Analysis
0 likes · 20 min read

This guide explains how to use Go's built‑in pprof tool and the go tool pprof command to profile CPU and memory usage, generate analysis files, interpret interactive console output, create flame graphs, and apply practical optimizations for faster, more efficient Go applications.
CPU profilingFlame GraphGo
0 likes · 6 min read

This article demonstrates how to quickly locate and resolve frequent full GC and CPU spikes in Java backend services by combining Arthas‑integrated async‑profiler flame graphs with VisualVM, GCEasy analysis, and practical step‑by‑step deployment procedures.
ArthasCPU profilingGC
0 likes · 7 min read

This tutorial demonstrates how to employ the open‑source Java diagnostic tool Arthas to quickly locate and analyze a high‑CPU problem in a running JVM by leveraging commands such as dashboard, thread, jad, watch, and ognl, complete with code examples and step‑by‑step instructions.
ArthasCPU profilingJava
0 likes · 7 min read

This guide explains how to use the Arthas monitoring tool to identify and troubleshoot Java thread deadlocks and excessive CPU usage, demonstrating commands like thread -b and thread -n, interpreting output, and analyzing thread dumps to pinpoint problematic code and optimize performance.
ArthasCPU profilingJava
0 likes · 9 min read

Using Go’s pprof, the team traced a gradual CPU spike in a high‑throughput kafka‑go consumer to a saturated commit queue and repeatedly nested context values, which forced costly lookups; eliminating the unnecessary trace‑id context injection (or recreating a fresh context each loop) resolved the issue and reduced CPU usage to under 2 %.
CPU profilingConsumerContext
0 likes · 10 min read

This comprehensive guide explains how to diagnose Linux performance issues using systematic 5W2H analysis, essential monitoring tools for CPU, memory, disk I/O, network, and flame‑graph visualizations, and demonstrates the methodology with a detailed nginx case study to quickly locate bottlenecks.
CPU profilingLinuxMonitoring Tools
0 likes · 18 min read

This article explains how to generate and interpret flame graphs for CPU performance profiling on Linux, covering the use of perf for sampling, the underlying kernel mechanisms, and the processing steps with Brendan Gregg's FlameGraph scripts to visualize hot functions.
CPU profilingPerformance Analysis
0 likes · 10 min read

This article explains how to verify and measure micro‑level CPU usage in client applications by selecting appropriate performance‑testing tools, demonstrating two validation methods—Process Explorer and the Windows Performance Toolkit (WPT)—and providing step‑by‑step installation and usage guidance.
CPU profilingProcess Explorerperformance-testing
0 likes · 8 min read

This guide explains the importance of query performance optimization for database products and engineers, outlines latency and throughput goals, shows how to locate bottlenecks with observability tools and Linux profilers, and provides practical high‑level and low‑level optimization techniques along with testing best practices.
CPU profilingStarRocksbenchmarking
0 likes · 16 min read

When a data platform server suddenly shows CPU usage above 90%, this guide walks you through using Linux tools and a custom script to identify the offending Java process, trace the problematic thread, pinpoint the exact code line, and apply a fix that reduces load dramatically.
CPU profilingJava performanceLinux troubleshooting
0 likes · 6 min read

The article presents the RESAR seven‑step performance analysis method used by large tech companies, detailing how to build a performance‑analysis decision tree, collect and correlate system counters, and combine global and targeted monitoring to uncover bottleneck evidence chains with concrete Linux commands and diagrams.
CPU profilingLinux monitoringPerformance Analysis
0 likes · 17 min read

The article details how the author used async-profiler to analyze a Java dynamic QPS test case, identified a CPU hotspot in a time‑checking method, replaced it with a timestamp check, and achieved a modest 0.1% reduction in overall CPU usage, illustrated with flame‑graph images and code snippets.
CPU profilingFlame GraphJava performance
0 likes · 12 min read

This tutorial demonstrates how to download, attach, and use the Arthas Java diagnostic tool—leveraging commands like dashboard, thread, jad, watch, and ognl—to quickly locate and fix high CPU problems caused by parallel stream code in a Java application.
ArthasCPU profilingJava
0 likes · 7 min read


ITPUBDec 2, 2021 · Operations
This guide explains the Linux time command—from basic usage and the meaning of real, user, and sys outputs to advanced GNU time options, custom formatting, and how these metrics help analyze program performance, CPU usage, I/O waits, and context switches.
CPU profilingGNU timeLinux
0 likes · 11 min read

This guide explains essential Node.js diagnostic techniques—including generating core dumps, capturing heap snapshots, profiling CPU usage, leveraging trace events, and using Diagnostic Reports—providing step‑by‑step commands, flag configurations, and example code to help developers troubleshoot crashes and performance issues in production environments.
CPU profilingDiagnostic ReportsHeap Dump
0 likes · 11 min read

This article presents a comprehensive guide to Linux performance analysis, covering background, methodology, tools, and step‑by‑step case studies for CPU, memory, disk I/O, network, system load, and flame‑graph techniques to quickly locate and resolve bottlenecks.
CPU profilingFlame GraphLinux
0 likes · 19 min read

Using the open‑source Arthas tool, the author traced a Java server’s 99 % CPU usage to two runaway threads, inspected their stack traces, discovered a cyclic bucket in a HashBiMap caused by unsynchronized cache updates, and resolved the issue by adding a synchronized keyword to the cache‑sync method.
ArthasCPU profilingJava
0 likes · 10 min read

This guide explains how to use Linux performance analysis tools—including top, vmstat, perf, flame graphs, and differential flame graphs—to diagnose CPU, memory, I/O, and network bottlenecks, with step‑by‑step commands, methodology, and real‑world case studies.
CPU profilingFlame GraphI/O Monitoring
0 likes · 18 min read

This article introduces a systematic approach to diagnosing Linux performance issues, covering the 5W2H analysis framework, essential CPU, memory, disk I/O and network monitoring tools, practical command examples, flame‑graph generation, and a real‑world nginx case study with actionable insights.
CPU profilingFlame GraphLinux
0 likes · 21 min read

This article presents a comprehensive guide to Linux performance analysis, covering CPU, memory, disk I/O, network, system load, flame‑graph techniques, and a real‑world Nginx case study, enabling engineers to quickly locate and resolve bottlenecks.
CPU profilingLinuxPerformance Analysis
0 likes · 19 min read

This article examines the JD.com product detail page backend architecture, analyzes memory, thread, and CPU usage, and outlines a three‑stage optimization roadmap—including parallelization, JVM/Tomcat upgrades, thread‑pool tuning, and asynchronous refactoring—to handle massive traffic spikes.
BackendCPU profilingJava
0 likes · 12 min read


WecTeamSep 27, 2019 · Backend Development
This article details how the MPM page rendering service at JD.com was profiled with v8‑profiler, identified heavy replace and compile calls, and applied string‑splitting, Vue transformCode hooks, and a custom lightweight compiler to cut CPU consumption by roughly 20%, improving stability during traffic spikes.
CPU profilingNode.jsServer Rendering
0 likes · 24 min read

The article examines common CPU performance pitfalls in C/C++ programs—such as excessive memset, inefficient string copying, improper container usage, lock contention, and heavy I/O logging—provides concrete code examples, compares profiling tools, and recommends best practices to reduce CPU consumption.
CPU profilingLocksmemset
0 likes · 14 min read
