Before You Start
- Use a fresh server with nothing else running, and the same operating system on each server you compare.
- Install the tools:
sudo apt install -y sysbench fio iperf3on Ubuntu or Debian. - Note what you are testing:
lscpushows the processor model and thread count, andnprochow many threads the server has.
Our VPS plans run on AMD Ryzen 9 9950X in Ashburn and AMD EPYC 9455P in Dallas; inside a virtual machine, lscpu may show that model or a generic virtual CPU name. Dedicated servers' processors are listed on each dedicated server page.
1. CPU
sysbench cpu --threads=1 --time=30 run # one thread sysbench cpu --threads=$(nproc) --time=30 run # every thread
Compare events per second. The single-thread figure predicts game servers, PHP and most web requests; the all-threads figure predicts builds, encoding and many users at once. Divide the second by the first: close to the thread count means the cores scale well under load.
2. Disk
Work in a test folder on the disk you care about, then delete it:
mkdir -p ~/fio && cd ~/fio
# random 4K reads: databases, many small files
fio --name=randread --rw=randread --bs=4k --size=4G --iodepth=64 --numjobs=4 \
--ioengine=libaio --direct=1 --runtime=60 --time_based --group_reporting
# random 4K writes
fio --name=randwrite --rw=randwrite --bs=4k --size=4G --iodepth=64 --numjobs=4 \
--ioengine=libaio --direct=1 --runtime=60 --time_based --group_reporting
# large sequential reads: backups, media, copying files
fio --name=seqread --rw=read --bs=1M --size=4G --iodepth=16 --numjobs=1 \
--ioengine=libaio --direct=1 --runtime=60 --time_based --group_reporting
cd ~ && rm -rf ~/fioRead IOPS for the 4K tests and bandwidth (MB/s) for the sequential one, and look at the latency percentiles: a disk with high IOPS but a slow 99th percentile will still feel uneven. --direct=1 bypasses the memory cache so you measure the disk, not RAM.
3. Memory
sysbench memory --memory-block-size=1M --memory-total-size=20G run
The transfer rate in MiB/sec shows memory bandwidth. It matters most for in-memory databases, caches and large data processing, and differs between DDR4 and DDR5 servers.
4. Network
Public speed-test servers measure the route to them as much as your server. For a fair number, run iperf3 between two servers you control, such as your new server and one you already have:
# on the other server iperf3 -s # on the server you are testing iperf3 -c 198.51.100.21 -P 4 -t 30 # upload from the tested server iperf3 -c 198.51.100.21 -P 4 -t 30 -R # download to it
Open TCP 5201 on the listening server while you test, and close it afterwards. Results are capped by the slower of the two servers' port speeds and by the route between them; for latency from your users, see choosing a location by latency. Large transfers count toward your plan's monthly transfer, as explained in what 1 TB of bandwidth means.
Reading the Results Fairly
| Workload | Look at | Why |
|---|---|---|
| Game server, WordPress, PHP | CPU single-thread | One main thread does most of the work |
| Builds, encoding, many users | CPU all threads | Work spreads across every core |
| Databases | Random 4K IOPS and latency, memory | Many small reads and writes; the working set should fit in memory |
| Backups, media, file servers | Sequential MB/s, network | Large files moved in one stream |
A VPS shares its host with other servers, so expect some variation; a dedicated server gives much steadier results because nothing else runs on it. If a VPS consistently falls short for your workload, the guide to choosing a dedicated server helps size the next step.