Have you recently purchased a VPS? do you want to see how powerful is that VPS and what can you do with it? or do you want to write a review for a host and can’t find the rights scripts to benchmark with?
Benchmarking VPS is that process where some script runs code (like editing image, copying file and compiling things.. etc) and calculate how much time does VPS or Server take to finish it, of course the faster VPS will do these processes faster, and in this way you can check quality of the product you purchased, and to see your VPS capabilities.
For Example : you purchased a VPS from some host, and while you were benchmarking, you found less features than promised in host’s offers (like 15MB/s speed network while promised was 120MB/s) or (only two processor’s cores while offer was for 4 cores) , in this way you can ask for a fix or for a refund if available.
So, here are some of the best and most popular and guaranteed ways to benchmark :
1. FreeVPS.US Benchmark “Simple and Quick” :
If you really want fast and quick overall VPS benchmark test, then FreeVPS.us Benchmark is that one right for you!
It can benchmark Network, I/O, CPU Cores number, CPU Frequency (Measured in MHz) as well as amount of RAM.
you can run on your VPS by simple executing following commands :
wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
2. Geekbench 3 Benchmark “Advanced processor and memory”:
This is a kind of advanced Benchmark which calculates lots of information about CPU and RAM as well as files copying, it works for multi core processors, so it gives you score for your single and multi core processor and also comparison chart of people who used that bench.
All you have to do is to execute following (Version 3.3.2) :
tar -zxvf Geekbench-3.3.2-Linux.tar.gz
Then, if your Operating system is 32-bit, execute :
and if you are 64-bit then execute :
dpkg --add-architecture i386
apt-get install libc6:i386 libstdc++6:i386
Then just click “Enter” in order to execute bench, then you will get some url, that url has your results.
UnixBench “Very advanced Processor Benchmark”
Unixbench is one of the most solid benchmarks, it gives you very advanced information about CPU and RAM.
apt-get install build-essential
tar -zxvf unixbench-5.1.3.tgz
4. Big network test:
this test has +10 servers to download from (multiple locations around the world) it is perfect to test the routing (sometimes they are not real, because maybe the host server upload speed is slower than your VPS download speed).
you can do by executing following commands :
apt-get install python
chmod +x speedtest.sh
5. Speedtest network benchmark
Small network to test your network with the closest server to yours (location) it is common test to test network
apt-get install -y python git
git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install
6. Iperf (Best network speed test)
you can use iperf3 the test your Network speed (Bandwidth) properly and unlike speedtest.net, iperf servers can do +1gbps speeds while speedtest.net has few servers who can do that (there usually are more than one test his speed in one time)
if your server is near USA then execute:
apt-get install git python build-essential
git clone https://github.com/esnet/iperf
iperf3 -c iperf.scottlinux.com
if your server is in Europe or near area
apt-get install iperf
iperf -c ping.online.net
Benchmarking VPS is very good process, but don’t do it lots, you may get your VPS suspended!
because you are using lots of dedicated server’s resources