VPS Speed Testing Tools
Professional VPS performance testing toolkit to help you comprehensively understand server performance.
🚀 One-Click Testing Scripts
SuperBench Comprehensive Test
wget -qO- bench.sh | bash
Test Items:
- System information
- CPU performance test
- Memory performance test
- Disk I/O test
- Network speed test
Bench.sh Lightweight Test
curl -Lso- bench.sh | bash
Features:
- Quick testing
- Concise results
- Supports multiple systems
Yet-Another-Bench-Script (YABS)
curl -sL yabs.sh | bash
Advantages:
- Comprehensive test items
- Detailed results
- Supports IPv6 testing
🔧 Specialized Testing Tools
CPU Performance Testing
UnixBench
# Install dependencies
apt update && apt install -y build-essential
# Download and run
wget https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz
tar -xzf v5.1.3.tar.gz
cd byte-unixbench-5.1.3/UnixBench
make
./Run
Geekbench 5
# Download
wget https://cdn.geekbench.com/Geekbench-5.4.4-Linux.tar.gz
tar -xzf Geekbench-5.4.4-Linux.tar.gz
cd Geekbench-5.4.4-Linux
# Run test
./geekbench5
Memory Performance Testing
Stream
# Compile and run
gcc -O -DSTREAM_ARRAY_SIZE=100000000 -mcmodel=large -fopenmp stream.c -o stream
./stream
Disk I/O Testing
FIO Testing
# Install FIO
apt install -y fio
# Random read test
fio -filename=/tmp/test -direct=1 -iodepth 1 -thread -rw=randread -ioengine=psync -bs=4k -size=2G -numjobs=1 -runtime=60 -group_reporting -name=randread
# Random write test
fio -filename=/tmp/test -direct=1 -iodepth 1 -thread -rw=randwrite -ioengine=psync -bs=4k -size=2G -numjobs=1 -runtime=60 -group_reporting -name=randwrite
# Sequential read test
fio -filename=/tmp/test -direct=1 -iodepth 1 -thread -rw=read -ioengine=psync -bs=1M -size=2G -numjobs=1 -runtime=60 -group_reporting -name=read
# Sequential write test
fio -filename=/tmp/test -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=1M -size=2G -numjobs=1 -runtime=60 -group_reporting -name=write
DD Test (Simple)
# Write test
dd if=/dev/zero of=/tmp/test bs=1M count=1024 oflag=direct
# Read test
dd if=/tmp/test of=/dev/null bs=1M count=1024 iflag=direct
Network Performance Testing
Speedtest-CLI
# Install
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash
apt install speedtest
# Run test
speedtest
iperf3 Bandwidth Test
# Install
apt install -y iperf3
# Server side (run on test server)
iperf3 -s
# Client side (run on VPS)
iperf3 -c test_server_ip
Multi-location Network Test
# Global multi-point test script
curl -sL network-speed.xyz | bash
📊 Network Route Testing
MTR (Recommended)
# Install
apt install -y mtr
# Test route to target
mtr -r -c 10 target_ip
# Real-time monitoring
mtr target_ip
Traceroute
# Install
apt install -y traceroute
# Route tracing
traceroute target_ip
BestTrace
# Download and run
wget https://cdn.ipip.net/17mon/besttrace4linux.zip
unzip besttrace4linux.zip
chmod +x besttrace
./besttrace target_ip
🌐 Global Network Monitoring
IPCONFIG.COM Professional Monitoring ⭐ Recommended
IPCONFIG.COM provides professional global network monitoring services, covering 20+ test nodes across 7 continents.
API Monitoring Tool
# Global PING monitoring
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
"https://ipconfig.com/api/ping" \
-d '{
"host": "your-domain.com",
"lang": "en",
"ipVersion": "ipv4",
"areas": ["all"],
"count": 3
}'
Features
- 🌍 Global Coverage: 20+ nodes across 7 continents
- ⚡ Fast Testing: Complete global monitoring in 3 seconds
- 📊 Detailed Data: Latency, packet loss, regional analysis
- 🔄 Real-time Results: Get test data instantly
Test Results Include
- Average/minimum/maximum latency
- Packet loss statistics
- Regional performance distribution
- Node connectivity status
Traditional Ping Testing
Multi-location Ping Test
# Multi-location Ping test script
curl -sL https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh | bash
Three-network Latency Test
# China Telecom
ping -c 10 www.189.cn
# China Unicom
ping -c 10 www.10010.com
# China Mobile
ping -c 10 www.10086.cn
🔍 System Information View
Basic Information
# System version
cat /etc/os-release
# CPU information
cat /proc/cpuinfo
# Memory information
cat /proc/meminfo
# Disk information
df -h
# Network interfaces
ip addr show
Detailed Hardware Information
# Install lshw
apt install -y lshw
# View hardware information
lshw -short
📈 Performance Monitoring
htop (Real-time Monitoring)
# Install
apt install -y htop
# Run
htop
iostat (I/O Monitoring)
# Install
apt install -y sysstat
# Monitor I/O
iostat -x 1
iftop (Network Monitoring)
# Install
apt install -y iftop
# Monitor network
iftop
🛠️ Automated Testing Scripts
Comprehensive Test Script
#!/bin/bash
echo "=== VPS Comprehensive Performance Test ==="
echo "Start time: $(date)"
echo
echo "=== System Information ==="
echo "Operating System: $(cat /etc/os-release | grep PRETTY_NAME | cut -d'"' -f2)"
echo "Kernel Version: $(uname -r)"
echo "CPU Model: $(cat /proc/cpuinfo | grep 'model name' | head -1 | cut -d':' -f2 | xargs)"
echo "CPU Cores: $(nproc)"
echo "Memory Size: $(free -h | grep Mem | awk '{print $2}')"
echo "Disk Space: $(df -h / | tail -1 | awk '{print $2}')"
echo
echo "=== CPU Performance Test ==="
sysbench cpu --cpu-max-prime=20000 --threads=1 run | grep "events per second"
echo
echo "=== Memory Performance Test ==="
sysbench memory --memory-total-size=1G run | grep "transferred"
echo
echo "=== Disk I/O Test ==="
dd if=/dev/zero of=/tmp/test bs=1M count=100 oflag=direct 2>&1 | grep copied
rm -f /tmp/test
echo
echo "=== Network Test ==="
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3
echo
echo "Test completion time: $(date)"
📋 Test Results Interpretation
CPU Performance Metrics
- UnixBench Score:
- 1000+ : Excellent
- 500-1000 : Good
- <500 : Average
Memory Performance Metrics
- Bandwidth:
10GB/s : Excellent
- 5-10GB/s : Good
- <5GB/s : Average
Disk I/O Metrics
- Random Read/Write IOPS:
5000 : Excellent (SSD)
- 1000-5000 : Good
- <1000 : Average (possibly HDD)
Network Performance Metrics
Download Speed:
100Mbps : Excellent
- 50-100Mbps : Good
- <50Mbps : Average
Latency:
- <50ms : Excellent
- 50-100ms : Good
100ms : Average
⚠️ Notes
- Test Impact: Performance testing consumes system resources, recommend testing during off-peak hours
- Disk Testing: I/O testing may affect SSD lifespan, don't test frequently
- Network Testing: Extensive network testing may consume traffic quota
- Results Reference: Test results are for reference only, actual performance may vary by environment