How to check your VPS Performance

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
I bought a VPS some months ago. Although my web hosting showed me featured and statistics about your VPS but I have still wanted to know exact things about my VPS getting. But how to check VPS performance, after some researches, I have some easy ways to check my VPS performance :D

Check the number of the number of cores, processor, CPU speed..etc on your VPS

Although these parameters showed out their websites and you can see them before you buy, but it's best to manually check whether these parameters coincide with things you are paying for.

To view the number of processors, you can use the command to check with nproc, after entering the command, the server will return the results as the number of processors are available.

Command:
Code:
nproc
*
That means you have 4 processors on a server.

To test more parameters such as CPU speed, number of cores, cache,..etc. Using the following command:

Code:
less /proc/cpuinfo
For example, the result returned:
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 60
model name: Intel (R) Xeon (R) CPU 3.40GHz @ v3 E3-1231
stepping: 3
cpu MHz: 3400.321
cache size: 8192 KB
physical id: 0
siblings: 8
core id: 0
cpu cores: 4
apicid: 0
initial apicid: 0
FPU: yes
fpu_exception: yes
cpuid level: 13
wp: yes
flags: FPU VME de PSE TSC MSR pae mce apic sep mtrr pge mca CX8 cmov dts acpi mmx pat pse36 clflush fxsr SSE SSE2 ss ht tm syscall nx PBE pdpe1gb rdtscp lm constant_tsc arch_perfmon PEBS BTS rep_good xtopology nonstop_tsc aperfmperf PNI pclmulqdq dtes64 ds_cpl VMX monitor SMX est tm2 cx16 SSSE3 FMA xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave AVX f16c rdrand lahf_lm abm Arat epb xsaveopt PLN pts dts tpr_shadow vnmi flexpriority EPT VPID fsgsbase Bmi1 hle AVX2 smep bmi2 Erms invpcid RTM
bogomips: 6800.64
clflush size: 64
cache_alignment: 64
address sizes: 39 bits physical, 48 bits virtual
............................................................
Press enter to view next

Press Ctrl + Z to exit.

It is the manipulation of test performance server that I use most often because of the thorough inspection will help you not to waste your money because sometimes, we spent money to buy one VPS or Dedicated is not cheap. Hopefully it will be more useful to you. :D
 

Alex Thompson

Well-known member
Moderator
Joined
Jun 6, 2013
Messages
297
Points
28
Good tips
I want to add additional information by checking speed of your network for a VPS
Because network speed is a very important factor since it directly affects the speed of your website. Even if you have a powerful server anywhere but possesses a poor line speed is slower then usual.

Therefore, you should test by entering the following command:
Code:
wget put_a_download_link_file_here -O - -o /dev/null | bash
Press Ctrl + Z to stop testing

The result returned is the speed of downloading files from many different servers around the world.

:)
 

HostXNow

Well-known member
Hosting Provider
Registered
Joined
Nov 26, 2014
Messages
374
Points
28
Another great test to do is to check the disk IO on the VPS/Dedicated Server, which you can do by running the following command via SSH:
Code:
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
Then it will return something like the following:

Code:
[root@openvz ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 2.33085 s, 461 MB/s
[root@openvz ~]#
Of course, the faster, the better!

>50MB/s is fine for HDD and >100MB/s is fine for PURE SSD. For those wondering, and just to give you an idea, the example above is a HostXNow VPS Node running RAID 10/PURE SSD.

If the results are any higher than the IO show above (50MB/s - 100MB/s) respectively, then that's a bonus as it's one of the factors whether scripts run fast or not e.g cronjobs for WordPress plugins finish faster.

Happy Testing :)
 
Last edited:

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Gmeister4
I got these on a new VPS when testing with your command

Code:
[root@vps1798 ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 3.05611 s, 351 MB/s
Is that good?
 

hostgliders

Member
Hosting Provider
Registered
Joined
Feb 17, 2017
Messages
51
Points
0
Security is also an important thing for a vps/dedicated server. Scan your server in a frequent times like once in a week or in 3 to 4 days. There are a lot of tools are to scan your server according with the control panel installed on your server.

CXS is a better way of scanning which shows if there any symlnks,spamming scripts. maldet is good but not better anymore. because it is not updating the spam database so sometimes it fails to identify malicious scripts present on a server.

I personlly recommend pyxsoft, which is a better solution for finding malicious scripts .
 

martindrox

Member
Registered
Joined
Aug 2, 2017
Messages
35
Points
0
Thanks for this information. I have a question tho. If i got errors in my own device, would that effect the VPS in any matter? I'm afraid it may cause some disintegrating without me noticing. So if the VPS is secured is it inevitable to such thing to happen? I've very nonchalant about this, any help would be appreciated, Thanks!
 

24x7serverman

Well-known member
Hosting Provider
Registered
Joined
Jul 25, 2017
Messages
651
Points
28
Helpful article! I would like to add some below points -

1. Make sure the VPS has the proper firewall setup.
2. You can write the script which will routinely find the spam scrips and email accounts on server and will take action accordingly.
3. Check the backups on server are running properly.
4. Check for the cached memory and other partitions on server are not full.
5. Check for the DDOS activities on server.
6. You can check the MySQL processes periodically to find the users causing VPS performance issue.
 

Marcus_SM

Member
Hosting Provider
Registered
Joined
Apr 6, 2018
Messages
53
Points
8
Run a benchmark script, for example this one: https://github.com/n-st/nench

You'll get an output like this one below:

Code:
-------------------------------------------------
 nench.sh v2017.05.08 -- https://git.io/nench.sh
 benchmark timestamp:    2017-05-08 20:36:54 UTC
-------------------------------------------------

Processor:    Virtual CPU a7769a6388d5
CPU cores:    1
Frequency:    2394.454 MHz
RAM:          494M
Swap:         871M
Kernel:       Linux 3.16.0-4-amd64 x86_64

Disks:
vda  20G  HDD

CPU: SHA256-hashing 500 MB
    4.183 seconds
CPU: bzip2-compressing 500 MB
    6.830 seconds
CPU: AES-encrypting 500 MB
    1.636 seconds

ioping: seek rate
    min/avg/max/mdev = 148.6 us / 280.9 us / 9.22 ms / 234.7 us
ioping: sequential speed
    generated 2.15 k requests in 5.00 s, 536.2 MiB, 428 iops, 107.2 MiB/s

dd test
    1st run:    339.51 MiB/s
    2nd run:    345.23 MiB/s
    3rd run:    342.37 MiB/s
    average:    342.37 MiB/s

IPv4 speedtests
    your IPv4:    108.61.179.xxxx

    Cachefly CDN:         205.34 MiB/s
    Leaseweb (NL):        140.55 MiB/s
    Softlayer DAL (US):   0.08 MiB/s
    Online.net (FR):      0.17 MiB/s
    OVH BHS (CA):         11.13 MiB/s

IPv6 speedtests
    your IPv6:    2001:19f0:6c01:xxxx

    Leaseweb (NL):        101.06 MiB/s
    Softlayer DAL (US):   2.89 MiB/s
    Online.net (FR):      0.18 MiB/s
    OVH BHS (CA):         9.84 MiB/s
-------------------------------------------------
 

Dopani

Well-known member
Registered
Joined
Mar 11, 2014
Messages
233
Points
18
Dopani
The problem is how to know and read numbers there to check if it is a fast VPS or not. Can you share any points on how to know if it is a fast VPS?

I tried to test on a small VPS, it got this result.

Code:
[root@myserver ~]# (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/ne                                                                                    nch.sh | bash) 2>&1 | tee nench.log

-------------------------------------------------
 nench.sh v2018.04.14 -- https://git.io/nench.sh
 benchmark timestamp:    2018-04-26 13:14:47 UTC
-------------------------------------------------

Processor:    Intel Core Processor (Broadwell)
CPU cores:    1
Frequency:    3504.000 MHz
RAM:          971M
Swap:         -
Kernel:       Linux 2.6.32-696.23.1.el6.x86_64 x86_64

Disks:
sda     30G  HDD

CPU: SHA256-hashing 500 MB
    2.650 seconds
CPU: bzip2-compressing 500 MB
    5.386 seconds
CPU: AES-encrypting 500 MB
    1.037 seconds

ioping: seek rate
    min/avg/max/mdev = 106.5 us / 248.4 us / 1.40 ms / 141.7 us
ioping: sequential read speed
    generated 6.85 k requests in 5.00 s, 1.67 GiB, 1.37 k iops, 342.6 MiB/s

dd: sequential write speed
    1st run:    322.34 MiB/s
    2nd run:    349.04 MiB/s
    3rd run:    350.00 MiB/s
    average:    340.46 MiB/s

IPv4 speedtests
    your IPv4:    139.99.192.xxxx

    Cachefly CDN:         11.51 MiB/s
    Leaseweb (NL):        3.20 MiB/s
    Softlayer DAL (US):   1.22 MiB/s
    Online.net (FR):      3.18 MiB/s
    OVH BHS (CA):         7.24 MiB/s

No IPv6 connectivity detected
-------------------------------------------------

-------------------------------------------------
 nench.sh v2018.04.14 -- https://git.io/nench.sh
 benchmark timestamp:    2018-04-26 13:16:15 UTC
-------------------------------------------------

Processor:    Intel Core Processor (Broadwell)
CPU cores:    1
Frequency:    3504.000 MHz
RAM:          971M
Swap:         -
Kernel:       Linux 2.6.32-696.23.1.el6.x86_64 x86_64

Disks:
sda     30G  HDD

CPU: SHA256-hashing 500 MB
    2.624 seconds
CPU: bzip2-compressing 500 MB
    5.596 seconds
CPU: AES-encrypting 500 MB
    1.086 seconds

ioping: seek rate
    min/avg/max/mdev = 106.6 us / 248.6 us / 1.84 ms / 149.2 us
ioping: sequential read speed
    generated 6.85 k requests in 5.00 s, 1.67 GiB, 1.37 k iops, 342.5 MiB/s

dd: sequential write speed
    1st run:    356.67 MiB/s
    2nd run:    351.91 MiB/s
    3rd run:    344.28 MiB/s
    average:    350.95 MiB/s

IPv4 speedtests
    your IPv4:    139.99.192.xxxx

    Cachefly CDN:         11.64 MiB/s
    Leaseweb (NL):        3.07 MiB/s
    Softlayer DAL (US):   1.57 MiB/s
    Online.net (FR):      3.55 MiB/s
    OVH BHS (CA):         4.86 MiB/s

No IPv6 connectivity detected
-------------------------------------------------
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Dr. McKay
Nice share @Marcus_SM, here is a dedicated server 32GB of RAM
What would you say about its speed?

Code:
[root@xomserv ~]# (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1 | tee nenc                                                                                                                                                  h.log
-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp:    2018-04-26 14:48:01 UTC
-------------------------------------------------

Processor:    Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
CPU cores:    16
Frequency:    2600.000 MHz
RAM:          31G
Swap:         18G
Kernel:       Linux 3.10.0-693.2.2.el7.x86_64 x86_64

Disks:
sda    400G  HDD

CPU: SHA256-hashing 500 MB
    2.371 seconds
CPU: bzip2-compressing 500 MB
    6.348 seconds
CPU: AES-encrypting 500 MB
    1.727 seconds

ioping: seek rate
    min/avg/max/mdev = 159.1 us / 315.9 us / 14.0 ms / 325.3 us
ioping: sequential read speed
    generated 1.67 k requests in 5.00 s, 418.2 MiB, 334 iops, 83.6 MiB/s

dd: sequential write speed
    1st run:    147.82 MiB/s
    2nd run:    158.31 MiB/s
    3rd run:    174.52 MiB/s
    average:    160.22 MiB/s

IPv4 speedtests
    your IPv4:    68.233.45.xxxx

    Cachefly CDN:         72.03 MiB/s
    Leaseweb (NL):        22.94 MiB/s
    Softlayer DAL (US):   3.54 MiB/s
    Online.net (FR):      22.26 MiB/s
    OVH BHS (CA):         56.83 MiB/s

No IPv6 connectivity detected
-------------------------------------------------

-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp:    2018-04-26 14:49:16 UTC
-------------------------------------------------

Processor:    Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
CPU cores:    16
Frequency:    2600.000 MHz
RAM:          31G
Swap:         18G
Kernel:       Linux 3.10.0-693.2.2.el7.x86_64 x86_64

Disks:
sda    400G  HDD

CPU: SHA256-hashing 500 MB
    2.456 seconds
CPU: bzip2-compressing 500 MB
    6.388 seconds
CPU: AES-encrypting 500 MB
    1.746 seconds

ioping: seek rate
    min/avg/max/mdev = 160.7 us / 315.7 us / 14.6 ms / 317.0 us
ioping: sequential read speed
    generated 1.69 k requests in 5.00 s, 421.8 MiB, 337 iops, 84.3 MiB/s

dd: sequential write speed
    1st run:    129.70 MiB/s
    2nd run:    137.33 MiB/s
    3rd run:    149.73 MiB/s
    average:    138.92 MiB/s

IPv4 speedtests
    your IPv4:    68.233.45.xxxx

    Cachefly CDN:         93.52 MiB/s
    Leaseweb (NL):        23.04 MiB/s
    Softlayer DAL (US):   2.60 MiB/s
    Online.net (FR):      22.01 MiB/s
    OVH BHS (CA):         68.13 MiB/s

No IPv6 connectivity detected
-------------------------------------------------
 

amela5411

New member
Registered
Joined
Sep 19, 2018
Messages
4
Points
3
ut how to ch
I bought a VPS some months ago. Although my web hosting showed me featured and statistics about your VPS but I have still wanted to know exact things about my VPS getting. But how to check VPS performance, after some researches, I have some easy ways to check my VPS performance :D

Check the number of the number of cores, processor, CPU speed..etc on your VPS

Although these parameters showed out their websites and you can see them before you buy, but it's best to manually check whether these parameters coincide with things you are paying for.

To view the number of processors, you can use the command to check with nproc, after entering the command, the server will return the results as the number of processors are available.

Command:
Code:
nproc
*
That means you have 4 processors on a server.

To test more parameters such as CPU speed, number of cores, cache,..etc. Using the following command:

Code:
less /proc/cpuinfo
For example, the result returned:

Press enter to view next

Press Ctrl + Z to exit.

It is the manipulation of test performance server that I use most often because of the thorough inspection will help you not to waste your money because sometimes, we spent money to buy one VPS or Dedicated is not cheap. Hopefully it will be more useful to you. :D
Run below command
lscpu

OR

If you have VPS running WHM and not familiar with CLI (Command Line Interface), It is still very easy to check server stats. just login WHM go to "Server Status" and open "Server Information" Here your desired information will be shown.
 

Daniel204

Active member
Registered
Joined
Jun 19, 2018
Messages
67
Points
8
Top command displays the processor activity of your Linux box and also displays tasks managed by the kernel in real-time. It'll show processor and memory are being used and other information like running processes. This may help you to take the correct action
 

well-web

Member
Registered
Joined
Jan 15, 2018
Messages
64
Points
8

Adam Stokes

Active member
Registered
Joined
Mar 19, 2020
Messages
83
Points
6
Basic you can find information from Dashboard itself. If CPU or RAM reached too high, You should upgrade your VPS if you are falling short of resources. You can Install SpeedTest . NET as it is a well known speed test available by simply accessing their site on any web browser that supports flash.

If you want advance VPS performance monitoring then tools such as Zappix or Nagios are also useful but again that’s costly
 

moonswamp

New member
Registered
Joined
Jul 10, 2020
Messages
8
Points
1
using bench scripts with code

Code:
wget -qO- bench.sh | bash
and got a quick test, my result on skysilk nano plan :

Code:
----------------------------------------------------------------------
CPU model            : Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
Number of cores      : 1
CPU frequency        : 2992.651 MHz
Total size of Disk   : 30.0 GB (0.9 GB Used)
Total amount of Mem  : 2000 MB (43 MB Used)
Total amount of Swap : 1024 MB (0 MB Used)
System uptime        : 0 days, 0 hour 8 min
Load average         : 0.00, 0.00, 0.00
OS                   : Ubuntu 18.04.4 LTS
Arch                 : x86_64 (64 Bit)
Kernel               : 4.15.18-29-pve
----------------------------------------------------------------------
I/O speed(1st run)   : 276 MB/s
I/O speed(2nd run)   : 119 MB/s
I/O speed(3rd run)   : 156 MB/s
Average I/O speed    : 183.7 MB/s
----------------------------------------------------------------------
Node Name                       IPv4 address            Download Speed
CacheFly                        205.234.175.175         22.8MB/s
Linode, Tokyo2, JP              139.162.65.37           8.74MB/s
Linode, Singapore, SG           139.162.23.4            6.26MB/s
Linode, London, UK              176.58.107.39           7.35MB/s
Linode, Frankfurt, DE           139.162.130.8           7.95MB/s
Linode, Fremont, CA             50.116.14.9             22.7MB/s
Softlayer, Dallas, TX           173.192.68.18           21.0MB/s
Softlayer, Seattle, WA          67.228.112.250          21.5MB/s
Softlayer, Frankfurt, DE        159.122.69.4            3.83MB/s
Softlayer, Singapore, SG        119.81.28.170           13.1MB/s
Softlayer, HongKong, CN         119.81.130.170          13.1MB/s
----------------------------------------------------------------------
 

shivam5th

New member
Registered
Joined
Jul 18, 2021
Messages
1
Points
0
It is really helpful when we can see VPS performance using GUI or colorful command line. I found htop is easier. You can try it, very simple installation steps. I recommend to install htop snap store.
Run the following command to install

$ sudo snap install htop

For htop command usage details, you may read my details blog. Search "check cpu usage technoracle" on google. You will find my article.
 

sam@12

Member
Registered
Joined
Jun 8, 2021
Messages
62
Points
6
@Jovani you can easily check your Vps configuration by running these commands
df -h for checking disk space stats
free -m for ram
cat /proc/cpuinfo for cpu information
lsblk for check the partition and space
 

kundancab

New member
Registered
Joined
Dec 8, 2020
Messages
7
Points
1
To use WHM to check your VPS memory usage, please log in to WHM and go to WHM> Server Information or WHM> Service Status
 

AdrianG001

Member
Registered
Joined
Jul 25, 2019
Messages
41
Points
8
If you’re experiencing issues with your Linux server, or simply wish to monitor its performance using the command line, the Linux “top” command is a great tool to try out. Top launches a real-time process monitor that displays system summary information with a list of all running processes and threads.

Log in to your server using SSH and simply enter “top” to launch the monitor.
 

Jeff Martin

Active member
Registered
Joined
Oct 30, 2019
Messages
78
Points
8
VPS is a great new hosting option for those who want to enjoy the flexibility and features of dedicated hosting but do not want to pay a lot of money for the initial investment and infrastructure. Quite a lot of people today use this new hosting service.

An easy way to improve the performance of your VPS account is by disabling your system services that are not required. You may not be using all of these services but they will easily take up a lot of the RAM and the CPU time, making your server slower. You should disable all the services that you do not use currently and increase the performance of your server while avoiding any attacks.

You can also improve the available memory on your server and can increase the performance of your VPS account by configuring MySQL of the right size. You will have to experiment with different sizes of MySQl to find one that can handle the requests fast enough without taking up a lot of space.

These were a few simple tips that you can follow in order to effectively increase the performance of your VPS account and increase its responsiveness.
 

charlie

New member
Registered
Joined
Aug 9, 2021
Messages
5
Points
1
I believe every hosting should be checked, tested, and then benchmarked before use. If you want to test your VPS Performance, you can do it with the help of a script. Let's see how exactly you check with the help of the script. Here is an example of a script (crontab -1; echo "0 **** (get -qo- wget. racing /nench.sh | bash) 2> & 1 | tee -a nench.log ") | crontab
 
Latest Threads
Replies
1
Views
45
Replies
0
Views
38
Replies
0
Views
59
Recommended Threads
Replies
21
Views
7,315
Replies
6
Views
3,536
Replies
3
Views
3,240
Replies
1
Views
1,567
Similar 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