How to Benchmark your VPS?

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) :


wget http://cdn.primatelabs.com/Geekbench-3.3.2-Linux.tar.gz
tar -zxvf Geekbench-3.3.2-Linux.tar.gz
cd dist/Geekbench-3.3.2-Linux

Then, if your Operating system is 32-bit, execute :


./geekbench

and if you are 64-bit then execute :


dpkg --add-architecture i386
apt-get update
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.

Execute :


apt-get update
apt-get install build-essential
wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
tar -zxvf unixbench-5.1.3.tgz
cd unixbench-5.1.3
./Run

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
wget https://gist.githubusercontent.com/Silvenga/00241a42c912c7d9d990/raw/386f2fd7f3fccdb1a21f1817c9186ad5bd4a9d4a/speedtest.sh
chmod +x speedtest.sh
./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

Execute :


apt-get install -y python git
git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install
cd speedtest-cli
python ./speedtest_cli.py

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 update
apt-get install git python build-essential
git clone https://github.com/esnet/iperf
cd iperf
./configure
make
make install
iperf3 -c iperf.scottlinux.com

if your server is in Europe or near area


apt-get update
apt-get install iperf
iperf -c ping.online.net

Notice

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 🙂

版权声明:
作者:John
链接:https://vps.la/2016/03/23/how-to-benchmark-your-vps/
来源:VPS啦
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>