Prerequisites
Before benchmarking, make sure you have:
- SSH access to your VPS
- Sufficient free time (benchmarks can take 5-30 minutes)
Method 1: UnixBench (General Purpose)
Connect to your VPS:
ssh hxroot@YOUR_SERVER_IP -p 22
sudo apt install git build-essential -y
git clone https://github.com/kdlucas/byte-unixbench.git
cd byte-unixbench/UnixBench
./Run
Method 2: Geekbench (Cross-Platform)
wget https://cdn.geekbench.com/Geekbench-5.4.5-Linux.tar.gz
tar xzf Geekbench-5.4.5-Linux.tar.gz
cd Geekbench-5.4.5-Linux
./geekbench5
Method 3: sysbench (CPU Test)
sudo apt install sysbench -y
CPU benchmark:
sysbench cpu run
CPU with single thread:
sysbench cpu --cpu-max-prime=20000 run
Memory benchmark:
sysbench memory run
Method 4: Disk IO Benchmark (sysbench)
sysbench fileio --file-total-size=2G prepare
sysbench fileio --file-total-size=2G --file-test-mode=rndrw --time=300 run
sysbench fileio --file-total-size=2G cleanup
Method 5: Stress Test (CPU + Memory)
Install stress:
sudo apt install stress -y
Stress all CPU cores for 60 seconds:
stress --cpu 4 --timeout 60
Method 6: All-in-One Script (bench.sh)
curl -LsO bench.sh; chmod +x bench.sh; ./bench.sh
Method 7: Yet-Another-Bench-Script
curl -sL yabs.sh | bash
Interpreting Benchmark Scores
- UnixBench: 1000+ – Good for a multi-core VPS
- Geekbench single-core: 500+ – Decent performance
- Geekbench multi-core: 2000+ – Good for web hosting
✅ Benchmark complete. Compare your scores with other VPS providers.