A Madrid VPS can finish a database export quickly and still take too long to send the backup to Lisbon. Those are two different jobs. The export uses CPU time and storage, while the transfer also depends on the network route and the receiving server. To benchmark the VPS, measure each part separately: use sysbench for CPU work, fio for disk I/O, and iperf3 for throughput between two endpoints you control. Then repeat the business task that prompted the test. 

One detail matters if the plan advertises RAID-10 SSD storage. A test inside the VPS measures the virtual disk presented to that guest. The result includes the effects of caching, competing activity, and any provider-imposed limits. A fast read result cannot establish which drives or RAID layout sit behind the virtual disk. For that detail, check the specification for the exact plan you purchased.

Establish a baseline you can repeat

Use a staging instance with the same plan and storage class as production when possible. Record the vCPU count, available memory, operating system, tool versions, and test time. For disk tests, also record the filesystem path. A test file in /tmp may land on a memory-backed filesystem, while the database you care about lives on a separate volume.

Choose one operational question before running anything. For example, can the Madrid server compress the nightly export and deliver it to the backup server before the morning shift? Write down the file size and the usual completion time. That gives you something meaningful to compare with the synthetic results. Run the three tools separately so they do not compete with each other during the baseline.

Use sysbench to compare one vCPU with several

Start with a single worker. Then repeat the same calculation with as many workers as your allocated vCPUs. On a four-vCPU staging instance, the pair of commands would be:

Record events per second for each run. Keep the tool version, prime limit, and duration the same across machines. The first result is useful when investigating a job that spends most of its time on one core. The second shows how much additional work the guest completes when several workers run together. An application with a slow database query may respond very differently from this CPU-only test.

Run each configuration three times and keep the middle result alongside the lowest and highest. If the four-worker result varies widely, repeat it during the hour when the application usually slows down. Record whether an import, compression job, or scheduled report ran at the same time. That context gives an administrator a better starting point than a single disappointing score.

Measure small reads on the volume your application uses

Suppose the complaint is a slow order lookup. Start with small random reads at a queue depth of one. This asks how quickly the guest can finish one outstanding read, which is useful when the application needs the result before requesting the next piece of data. A high-queue-depth test answers a different question about how much work the volume can process concurrently.

From a writable test directory on the intended volume, confirm that at least 1 GiB plus operating headroom is free. The following commands create a fresh directory, populate a dedicated test file, and then read from it. Run them in the same shell and continue to the read test only after the write succeeds.

Read the IOPS and 99th-percentile completion latency, including the unit printed by fio. IOPS tells you how many operations finished per second. The percentile shows the completion time within which roughly 99% of the measured operations fell. Direct I/O reduces the influence of the guest’s page cache, although other caching layers may still affect the result. Keep the same file size and settings for repeat runs, then remove the dedicated test file when finished.

Test the network in the direction the data travels

For the Madrid-to-Lisbon backup example, run iperf3 -s on a Lisbon endpoint you administer. Allow its TCP test port, normally 5201, from the Madrid VPS for the duration of the test. Replace backup.example.net below with that endpoint’s hostname. Run these commands from Madrid.

The first command sends data from Madrid to Lisbon, matching the backup’s direction. The second reverses the flow. Record the receiver’s bitrate for each run and note any retransmissions reported by the sender. If you repeat the test against Barcelona, label it as a separate route. A strong Barcelona result says little about the link your Lisbon backup actually uses. Stop the test server and close the temporary firewall opening when you finish.

Finish by timing the actual job

Run the database export, compression, and transfer again, recording a separate elapsed time for each stage. If compression consumes most of the window, investigate CPU use and compression settings. If the archive is ready early but arrives late, compare its transfer rate with the Madrid-to-Lisbon result and check how quickly the destination can write incoming data.

Keep the commands, measurements, timestamps, and application timings together. The next time the backup runs late, the team can see which stage changed and repeat the relevant test before spending money on a larger VPS.