How to measure a server's workload without losing your mind

Published on 2026-09-12 by frfrand

Four numbers that say almost everything about a server, what load average really means, why CPU usage is misleading, and in what order to look when something is slow.

How to measure a server's workload without losing your mind

Short answer: When a server is slow, check four numbers in this order: the load average compared to the number of cores, available memory and swap activity, disk utilization and wait, and only at the end CPU usage. For your application's latency, measure the 95th percentile instead of the average, and keep history: a single number only means something when you compare it to how it was before.

A server is slow. You open four tools, see numbers, and it's not clear which one to look at. The problem is not a lack of data: it's the order.

These are the four numbers, in the order it's best to read them.

1. Load average

$ uptime load average: 4.05, 2.10, 1.02

The three values are the average for the last minute, the last five minutes, and the last fifteen minutes.

First: it is not a percentage. It counts tasks that are running or waiting their turn. A value of 4 means "there are four tasks wanting to run on average".

To interpret it, you have to compare it with the number of cores:

  • 4.00 on an 8-core machine: calm, there is spare capacity.
  • 4.00 on a 2-core machine: there is a queue, tasks are waiting.

And a Linux peculiarity that confuses many people: it also counts tasks waiting for disk. That's why a server with a saturated disk can show very high load with the processor almost idle. It's not a measurement error: it correctly describes that there is stuck work.

The three numbers together tell a story: if the one-minute number is much higher than the fifteen-minute one, something has just started. If it's the other way around, it's already going down.

2. Memory

$ free -h

The column to look at is available, not "free".

"Free" being low is normal and good: Linux uses leftover memory as disk cache, and frees it when someone needs it. A server with lots of "free" memory is wasting it.

What does matter: if "available" is low and swap is moving. That is seen with:

$ vmstat 1

The "si" and "so" columns (swap in and swap out). If there is constant activity there, the server is moving data to disk because it doesn't fit in memory, and latency multiplies by a thousand.

3. Disk

$ iostat -x 1

Two things: utilization percentage and wait time. A disk at 100% with high waits is the bottleneck, and from the outside it looks like "the application is slow".

This is the number most often skipped, and the one that most often turns out to be the cause.

4. The processor, last

$ top

It is left for last because it is the most misleading.

A server at 100% CPU can be perfectly fine: it's using what you paid for. And a server at 20% can be dragging, because it's waiting for disk or network.

Inside top, the column that gives the most information is "wa" (I/O wait time). If it's high, the processor is waiting for the disk: the problem is not the processor.

And "st" (steal time), on virtual machines: the hypervisor is giving your turns to someone else. If it is high and consistent, you are competing with neighbors. In a container (LXC, LXD) there is no hypervisor and that column does not reflect it.

The number almost no one measures

Averages hide exactly what hurts.

If one out of twenty requests takes five seconds and the rest take one hundred milliseconds, the average looks fine and there are angry users.

That is why it is worth measuring percentiles. The 95th percentile says: 95% of requests were faster than this value. It is the common worst case, and it is what people feel.

If you are going to measure only one thing about your application's latency, measure the 95th percentile.

And what gives meaning to everything

A number without history is useless. Knowing that the load is 3 means nothing; knowing that it was 0.8 a week ago means everything.

That is why monitoring with history is worth more than any instant dashboard. At ArduMaker, the status of each VPS draws CPU, RAM, and disk usage over time, along with a capacity index that the agent measures every 20 minutes and per-process consumption. In addition, the status system checks in a continuous cycle whether hosts, VPSs, and domains respond and keeps 45 days of availability history: it does not measure load, but it answers "since when has it been down?" instead of a lone number.

How to measure a server's workload without losing your mind
How to measure a server's workload without losing your mind

Measure first, add resources later

If a site runs slow, record at least CPU, memory, disk usage, and request latency during a period with representative traffic. A lightly used CPU along with high times may indicate I/O wait or database locks.

In ArduMaker you can view VPS CPU, RAM, and disk usage, per-process consumption, and nginx and service logs; it does not include application metrics such as 95th percentile latency, so it's worth adding them from the code or with a monitoring tool. Use the data to decide whether you need to optimize queries, add RAM, or separate a worker, instead of hiring more vCPUs blindly.

Frequently asked questions

What is load average? The average of tasks executing or waiting their turn over the last minute, the last five minutes, and the last fifteen minutes. On Linux it also counts those waiting for disk.

What load average is high? It depends on the cores: 4 on an 8-core machine is calm; 4 on a 2-core machine means there is a queue.

Why look at available and not free? Because Linux uses free memory as disk cache and returns it when needed. available tells how much memory applications can actually use.

What is the 95th percentile? The value below which 95% of requests fall. It shows the common worst case, which is what users notice.

Related: What is latency · What is a vCPU.

  • monitoreo
  • load average
  • métricas
  • ArduMaker
  • rendimiento

Keep reading

All articles · VPS plans