VPS Benchmarking & Performance Testing Guide
Verify your server hardware upon provisioning: CPU compute benchmarks, enterprise NVMe 4K IOPS throughput, memory bandwidth, and network stress tests.
Once you provision a new cloud server, performing objective, standard benchmarks is the best practice to verify hardware capabilities. FlawlessNode nodes operate on enterprise-grade hardware platforms (high-frequency AMD EPYC or Intel Xeon Gold processors paired with PCIe 4.0 NVMe SSD arrays). This guide provides standardized testing commands and methodology.
1. Why Benchmark a Fresh Instance?
- Verify Hardware Specifications: Validate CPU model, frequency, virtualization extensions (KVM), and core counts;
- Measure Storage I/O Quality: Inspect real-world 4K random read/write IOPS and sequential throughput on enterprise NVMe storage;
- Validate Network Capacity: Stress-test virtual network interfaces against global gigabit test endpoints.
2. Industry Standard Benchmark: YABS (Yet Another Bench Script)
YABS is widely considered the most reliable, lightweight, and clean open-source benchmarking script in the cloud hosting community. It measures three critical subsystems:
- FIO Disk Performance: Random/sequential 4k, 64k, 512k, and 1m block read/write speed and IOPS;
- Global Network Throughput: Egress and ingress speed to tier-1 endpoints across North America, Europe, and Asia;
- Geekbench 5 or 6: Pure single-core and multi-core CPU compute scores.
Running a Full YABS Test:
Connect to your server via SSH and execute:
curl -sL yabs.sh | bash
Common Flags (Skip Geekbench or Network Tests):
If your VM has limited RAM (e.g. 1GB) or you wish to conserve bandwidth quota:
# Test FIO disk and network throughput only (skips Geekbench)
curl -sL yabs.sh | bash -s -- -g
# Test CPU Geekbench and FIO disk only (skips international network tests)
curl -sL yabs.sh | bash -s -- -i
3. Interpreting Your Results
3.1 Enterprise NVMe Disk FIO Expectations
On FlawlessNode PCIe NVMe arrays, expected performance profiles generally fall into these tiers:
- 4k Random Read / Write: Random reads generally achieve
30,000 ~ 80,000+ IOPS, writes achieve20,000 ~ 60,000+ IOPS, with sub-millisecond latencies (< 0.5ms); - 1m Sequential Throughput: Sequential read/write speeds typically range from
1,200 MB/s to over 2,500 MB/s, effortlessly handling heavy MySQL/PostgreSQL transactions, writes, and write-ahead logging (WAL).
3.2 CPU Compute Metrics
- Single-Core Score: Reflects instruction execution speed for single-threaded tasks (PHP rendering, Python workers, single-threaded Node.js scripts);
- Multi-Core Score: Reflects overall concurrency, Docker container stacking density, and parallel compilation speed. AMD EPYC Zen cores demonstrate exceptional multi-threaded performance.
4. Quick Disk I/O Testing with Native Utilities
If you only want a quick check without running third-party scripts:
Testing Sequential Write Speed with dd:
# Write 1GB of test data with Direct I/O (bypassing RAM cache)
dd if=/dev/zero of=test_write.tmp bs=1M count=1024 oflag=direct
# Remove temporary test file immediately after
rm -f test_write.tmp
[!NOTE]
ddonly tests large sequential block writes and does not evaluate critical 4K random small-file IOPS. For database evaluation, rely on FIO results.
5. Memory Bus Bandwidth Testing (Sysbench)
Evaluate physical RAM throughput directly:
# Install sysbench
apt install sysbench -y # Ubuntu/Debian
# or dnf install sysbench -y # RHEL/Rocky/Alma
# Execute 10GB sequential memory stress test
sysbench memory --memory-block-size=1M --memory-total-size=10G run
The resulting Transferred throughput indicates your VM’s RAM bus speed (typically between 15,000 MB/s and 30,000+ MB/s).
6. Post-benchmark Cleanup
Once testing is complete:
- Clean Temporary Files: YABS automatically removes its temporary packages upon completion;
- Flush Cached Pages: Instruct the kernel to drop page caches:
sync && echo 3 > /proc/sys/vm/drop_caches - Next Steps: With hardware verification complete, explore our Linux Firewall Hardening Guide and TCP BBR Congestion Control Optimization.