🚀 VPS Bench — Standardized VPS Benchmarking Script
A lightweight, opinionated benchmarking script for VPS servers.
Designed to produce consistent, comparable results across providers.
📊 Published results & live data: Benchmark Database
Quick Start
# One-line install & run (requires root)
curl -sL https://raw.githubusercontent.com/cash602-cmd/vps-bench/main/bench.sh | bashOr download and run manually:
wget https://raw.githubusercontent.com/cash602-cmd/vps-bench/main/bench.sh
chmod +x bench.sh
./bench.shWhat It Tests
| Test | Tool | Metric |
|---|---|---|
| CPU | sysbench | Single & Multi-thread events/s |
| Disk (basic) | dd | Sequential read/write MB/s |
| Disk (advanced) | FIO | 4K random read/write IOPS |
| Network | curl | Download speed from global endpoints |
| Latency | ping | RTT to Cloudflare, Google, China ISPs |
| China Routes | traceroute | CN2 GIA / 9929 / CMIN2 / 163 detection |
Sample Output
============================================
VPS Bench v1.0 — vpsrankings.com
============================================
[System Info]
Hostname: vultr-hf-lax
OS: Ubuntu 24.04.1 LTS
Kernel: 6.8.0-45-generic
CPU: AMD EPYC-Milan (3rd Gen)
Cores: 2
RAM: 2.0Gi
Disk: 55G
[CPU Benchmark — sysbench]
Single-thread: 3847.21 events/s
Multi-thread: 7694.53 events/s (2 threads)
[Disk I/O — dd]
Sequential Write (256MB): 1.2 GB/s
Sequential Read (256MB): 2.8 GB/s
[Disk I/O — FIO]
4K Random Read:
IOPS: 78432 | BW: 306.38 MB/s
4K Random Write:
IOPS: 62118 | BW: 242.65 MB/s
[Network Latency — ping]
Cloudflare (1.1.1.1): 0.532ms
Google (8.8.8.8): 1.247ms
China Telecom (202.96.209.133): 156.3ms
China Unicom (221.5.88.88): 142.8ms
[Download Speed]
Cloudflare (25MB): 156.23 MB/s
Hetzner DE (10MB): 42.17 MB/s
[China Route Detection]
China Telecom: CN2 GIA (AS4809) ★★★★★
China Unicom: 9929 Premium (AS9929) ★★★★★
============================================
Test Complete!
Full database: https://vpsrankings.com/benchmarks
============================================
Tested Providers
We have benchmarked these providers (and counting):
| Provider | Type | Dedicated Review & Benchmark |
|---|---|---|
| Vultr | High Frequency, Cloud Compute | Vultr Review 2026: High-Performance Global Cloud |
| RackNerd | Budget VPS | RackNerd VPS Review 2026: Budget Value Pick |
| Hetzner | Cloud, Dedicated | Hetzner VPS Review 2026: Cost-Effective European Cloud |
| DigitalOcean | Basic, Premium Droplets | DigitalOcean Review 2026: Developer-Preferred Cloud |
| Hostinger | Cloud VPS | Hostinger VPS Review 2026: Beginner-Friendly Cloud VPS |
| BandwagonHost | CN2 GIA Optimized | BandwagonHost Review 2026: CN2 GIA Routing Advantage |
| Contabo | VPS S/M/L/XL | Contabo VPS Review 2026: High-Storage Instance Analysis |
| Cloudways | Managed Cloud | Cloudways Review 2026: Managed Cloud Platform Guide |
| Kamatera | Custom Config Cloud | Kamatera Review 2026: Flexible Hourly Cloud VPS |
| DMIT | Premium Asia Routes | DMIT VPS Review 2026: Premium CN2 GIA & Optimized Routes |
💡 Want your provider tested? Open an issue!
💡 Budget Planning: Trying to decide between $5, $10, and $20 budget tiers? Read our comprehensive breakdown: Budget VPS Comparison: $5 / $10 / $20 Plans Tested.
Why Another Benchmark Script?
Most benchmark scripts dump a wall of unstructured text. This one:
- Standardized — Same tests, same parameters, every time
- Comparable — Clean output format designed for side-by-side comparison
- China-aware — Detects CN2 GIA, 9929, CMIN2, and 163 backbone routes
- Archived — Results formatted for our Benchmark Database
- Transparent — Every test command is visible in the script, no hidden calls
Requirements
- Linux (Ubuntu/Debian/CentOS/AlmaLinux)
- Root access (for disk benchmarks)
- Optional:
sysbench,fio,traceroute(script will warn if missing)
# Install all optional dependencies (Debian/Ubuntu)
apt update && apt install -y sysbench fio traceroute bc
# Install all optional dependencies (CentOS/AlmaLinux)
yum install -y sysbench fio traceroute bcContributing
PRs welcome! If you want to add a test or improve the output:
- Fork this repo
- Create a feature branch (
git checkout -b feature/add-gpu-bench) - Submit a PR with a description of what you changed
Ideas for future tests:
- GPU benchmark (for AI/ML workloads)
- Streaming service unlock detection
- IPv6 connectivity check
- Automated result upload to vpsrankings.com
Related Resources
- 🏆 VPS Rankings — Score-based VPS leaderboard
- 📊 Benchmark Database — All published test results
- 💰 Budget VPS Comparison Guide — $5 / $10 / $20 Tiered Comparison
- 💵 VPS Deals — Current discounts and promos
- 🧮 VPS Calculator — Find the right plan for your workload
- 📖 Beginner Guide — From zero to deployed
- 🤖 AI-friendly summary — For LLM agents
License
MIT — Use it, fork it, share it. Attribution appreciated but not required.
Built with ❤️ by Bob Tong at VPS Rankings