What does CPU bound mean?
Every job waits on something. A CPU-bound job spends its time computing: compressing data, encoding video, compiling code, rendering templates, running physics in a game world, hashing, sorting. Its run time shrinks almost in proportion to CPU speed. An I/O-bound job, by contrast, spends its time waiting for disks or the network, and a faster CPU barely helps. Knowing which one you have saves money: it tells you whether to pay for cores, clock speed, RAM, NVMe or port speed.
How is it different from other bottlenecks?
| Bound by | Typical sign | Example |
|---|---|---|
| CPU | %user or %sys high, little iowait | Video encoding, compiling, busy PHP workers |
| Disk I/O | High %iowait, disk utilization near 100% | Database scanning tables that do not fit RAM |
| Memory | Swapping, OOM kills, low available memory | Too many workers for the RAM installed |
| Memory bandwidth | CPU busy but low instructions per cycle | Large in-memory analytics, scientific kernels |
| Network | Port near its limit, queues building | Download servers, video delivery |
How do I confirm a job is CPU bound?
Watch it while it runs:
top -H -p "$(pgrep -d, -f ffmpeg)" mpstat -P ALL 2 5 pidstat -u -p "$(pgrep -o -f myworker)" 2 5
top -H shows threads, so you can see whether one thread sits at 100 percent or work is spread out. mpstat breaks usage down per core. If the job's cores show high user time and near-zero iowait, it is CPU bound. A load average well above the number of threads with low iowait points the same way; Check CPU usage and load explains load in detail. For deeper insight, perf top shows which functions burn the cycles.
Single thread or many?
This is the key follow-up question. If one thread is pinned at 100 percent while other cores idle, the job is limited by single-thread speed. More cores will not help; a higher clock and newer core design will. Game servers, many PHP requests, single-threaded build steps and older database operations behave like this. If all cores are busy, the job scales across threads and more cores help directly.
- Single-thread limited: look for high boost clocks, such as S11 with Intel Core i9-14900K, or S14 with AMD EPYC 4565P.
- Scales across cores: look at core counts, such as X2 with 96 cores or D19 with 72 cores across two sockets.
- Scales and is cost sensitive: Arm cores give strong throughput per dollar for software built for arm64, such as A1 with 80 cores.
SMT and threads explains why threads and cores are not the same for CPU-bound work: two threads on one core share its execution units, so hyperthreading adds perhaps 10 to 30 percent, not double.
Can I fix CPU-bound work without new hardware?
Often. Profile first, then:
- Cache results that are computed repeatedly; a page cache or object cache can remove most of the work (Cache server).
- Use faster algorithms or settings: an encoder preset one step faster, a compression level of 3 instead of 9.
- Parallelize: split batch work across processes with
xargs -Por GNU parallel, or raise worker counts to match cores. - Move to faster runtimes: PHP with OPcache and JIT, PyPy for some Python, compiled languages for hot paths.
Why does CPU-bound work suit bare metal?
On shared virtual servers, a CPU-bound job competes with neighbors for the same physical cores, and performance changes from hour to hour. A single-tenant machine gives every cycle to you, all month, at a fixed price. Batch jobs that run at 100 percent for hours are where that pays off most clearly. Scientific computing lists the machines most often chosen for long compute runs.
High Clock or Many Cores
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| S11 | Intel Core i9-14900K | 24 / 32 | 128 GB DDR5 | 2x 2 TB NVMe | 2x 10 Gbps | $149.39 | $149.39 (1 month) |
| S14 | AMD EPYC 4565P | 16 / 32 | 192 GB DDR5 | 2x 4 TB NVMe | 2x 25 Gbps | $317.89 | $317.89 (1 month) |
| X2 | Intel Xeon 6731E | 96 / 96 | 256 GB DDR5 | 2x 2 TB NVMe | 2x 25 Gbps | $665.87 | $665.87 (1 month) |
| D19 | 2x Intel Xeon Platinum 8452Y | 72 / 144 | 128 GB DDR5 | 2x 1 TB NVMe | 2x 25 Gbps | $580.69 | $580.69 (1 month) |
| A1 | Ampere Altra Q80-30 | 80 / 80 | 256 GB DDR4 | 2x 2 TB NVMe | 2x 25 Gbps | $252.11 | $252.11 (1 month) |
Keep Reading
Check CPU usage and load
Read load averages against your thread count, split CPU time by type with mpstat and vmstat, find the busy process and keep history with sar.
OpenSMT and threads
Simultaneous multithreading lets one core run two threads; here is what that means for the thread counts we list.
OpenServer workload
What a server workload is, how to tell whether yours is CPU, memory, disk or network bound, and how that picks the right machine.
OpenCPU threads vs cores
What a core is, what a hardware thread adds, how many of each our machines have and how to count them correctly on Linux.
OpenFAQ
Quick Answers
CPU usage stays high in user or system time while iowait stays low, and the job speeds up when it gets more CPU.
Only if it runs on many threads. If one thread is pinned at 100 percent, a higher clock speed helps more.
I/O bound, where the job waits on disk or network. Memory-bound and network-bound work are other common limits.
No. Two threads share one core, which usually adds about 10 to 30 percent for throughput work.
perf top for a live view, or perf record followed by perf report for a saved profile.