How to benchmark your linux VPS

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Hello Everyone,
I have seen several members asking for a way to check the performances of their VPS, so I have create a small script to benchmark your vps with a single command.
You can launch it by running the following command as root via ssh.

Code:
bash <(wget -O - [COLOR=#990073]https:[/COLOR]/[COLOR=#009926]/git.virtubox.net/virtubox[/COLOR][COLOR=#009926]/vps-benchmark/raw[/COLOR][COLOR=#009926]/master/vpsbench[/COLOR].sh)
The output will be :

Code:
System Info
-----------
Processor       : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
CPU Cores       : 4
Frequency       : 3700.000 MHz
Memory          : 3951 MB
Swap             :  MB
Uptime           : 6 days, 2:43,


OS              : Ubuntu 16.04.1 LTS
Arch            : x86_64 (64 Bit)
Kernel          : 4.4.0-57-generic






Speedtest (IPv4 only)
---------------------


Location                Provider        Speed
CDN                     Cachefly        25,8MB/s


Atlanta, GA, US         Coloat          18,6MB/s
Washington, DC, US      Softlayer       25,4MB/s


Tokyo, Japan            Linode          8,53MB/s
Singapore               Softlayer       6,74MB/s


Rotterdam, Netherlands  id3.net         79,5MB/s
Haarlem, Netherlands    Leaseweb        95,4MB/s
Paris, France           OVH              104MB/s




Disk Speed
----------
I/O (1st run)   : 277 MB/s
I/O (2nd run)   : 242 MB/s
I/O (3rd run)   : 284 MB/s
Average I/O     : 267.667 MB/s
I will update it in the next few days to measure also CPU performances.

The script is based on bench-sh-2
 

HostXNow

Well-known member
Hosting Provider
Registered
Joined
Nov 26, 2014
Messages
374
Points
28
Works good

Code:
[root@test ~]# bash <(wget -O - https://git.virtubox.net/virtubox/vps-benchmark/raw/master/vpsbench.sh)
--2017-01-14 14:19:26--  https://git.virtubox.net/virtubox/vps-benchmark/raw/master/vpsbench.sh
Resolving git.virtubox.net... 104.31.95.153, 104.31.94.153
Connecting to git.virtubox.net|104.31.95.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 416 [text/plain]
Saving to: `STDOUT'

100%[===================================================================================================================================================================================================>] 416         --.-K/s   in 0s

2017-01-14 14:19:26 (61.7 MB/s) - written to stdout [416/416]

Benchmark started on Sat Jan 14 14:19:26 EST 2017
Full benchmark log: /root/bench.log

System Info
-----------
Processor       : Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz
CPU Cores       : 8
Frequency       : 600.000 MHz
Memory          : 8192 MB
Swap            : 8192 MB
Uptime          : 1 min,

OS              : CentOS release 6.7 (Final)
Arch            : x86_64 (64 Bit)
Kernel          : 2.6.32-042stab113.21


Speedtest (IPv4 only)
---------------------

Location                Provider        Speed
CDN                     Cachefly        30.3MB/s

Atlanta, GA, US         Coloat          21.6MB/s
Washington, DC, US      Softlayer       2.52MB/s

Tokyo, Japan            Linode          8.51MB/s
Singapore               Softlayer       6.92MB/s

Rotterdam, Netherlands  id3.net         91.0MB/s
Haarlem, Netherlands    Leaseweb        22.4MB/s
Paris, France           OVH             15.0MB/s


Disk Speed
----------
I/O (1st run)   : 379 MB/s
I/O (2nd run)   : 318 MB/s
I/O (3rd run)   : 330 MB/s
Average I/O     : 342.333 MB/s


       Benchmark successful !

[root@test ~]#
 

eva2000

Well-known member
Registered
Joined
Jan 14, 2017
Messages
173
Points
28
here's 2GB OpenVZ VPS with 50GB disk and 2 cpus I got for $25/yr :)

script doesn't detect CentOS 7.3 properly heh

Code:
Benchmark started on Sat Jan 14 19:09:58 EST 2017
Full benchmark log: /root/bench.log

System Info
-----------
Processor       : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
CPU Cores       : 2
Frequency       : 3499.819 MHz
Memory          : 2048 MB
Swap            :  MB
Uptime          : 2 days, 17:39,

OS              : \S
Arch            : x86_64 (64 Bit)
Kernel          : 2.6.32-042stab120.6


Speedtest (IPv4 only)
---------------------

Location                Provider        Speed
CDN                     Cachefly        51.0MB/s

Atlanta, GA, US         Coloat          5.47MB/s 
Washington, DC, US      Softlayer       1.85MB/s 

Tokyo, Japan            Linode          11.2MB/s 
Singapore               Softlayer       6.40MB/s 

Rotterdam, Netherlands  id3.net         11.2MB/s
Haarlem, Netherlands    Leaseweb        21.3MB/s 
Paris, France           OVH             12.0MB/s 


Disk Speed
----------
I/O (1st run)   : 1.2 GB/s
I/O (2nd run)   : 1.1 GB/s
I/O (3rd run)   : 1.4 GB/s
Average I/O     : 1.23333 MB/s


       Benchmark successful !
 

hfav

Active member
Registered
Hosting Provider
Joined
Jan 18, 2017
Messages
83
Points
8
For just drive speed check you can use following command.

# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
 
Older Threads
Replies
23
Views
28,222
Replies
6
Views
4,478
Newer Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top