Interview Prep/Linux/Performance & the USE Method

One CPU core is at 100% while the others are idle. What does it suggest?

IntermediateProductionPerformance & the USE Method
Answer

A single-threaded bottleneck: a single-threaded app (Redis, Node.js event loop, a Python process with the GIL), a hot lock, or interrupt handling pinned to one core (si/hi high on that core).

mpstat -P ALL 1
pidstat -t -p <pid> 1          # which thread
cat /proc/interrupts | grep eth0

Fixes: run more worker processes, spread NIC queues/IRQs (irqbalance, RSS/RPS), or scale horizontally.

All Linux questions Roadmap: Linux

More on Performance & the USE Method