Old Larch

Tuning a small VPS for steady latency

2026-11-14

On a one-vCPU machine the interesting number is not peak throughput, it is how much the latency moves when something else is running. Two sysctl keys do most of the work: a modern congestion control algorithm and a queue discipline that does not build buffers it cannot drain.

The measurement matters more than the setting. A single curl to a large file tells you the link is alive; twenty sequential requests tell you whether the box is comfortable. Samples taken while the machine is idle are advertisements, not measurements.

Kernel updates are part of tuning. A three-month-old kernel on a public host is a known set of bugs with a schedule attached.

← back