How to check your VPS Performance

Jovani

Well-known member
Joined
Jul 10, 2012
Messages
141
Best answers
0
Ratings
13
Points
0
#1
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

Moderator
Staff Member
Joined
Jun 6, 2013
Messages
279
Best answers
0
Ratings
88
Points
28
#2
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
Joined
Nov 26, 2014
Messages
373
Best answers
0
Ratings
25 1
Points
28
#3
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:
[[email protected] ~]# 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
[[email protected] ~]#
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:
Joined
Feb 17, 2017
Messages
51
Best answers
0
Ratings
8
Points
0
#4
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 .
 
Joined
Aug 2, 2017
Messages
35
Best answers
0
Ratings
2
Points
0
#5
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
Joined
Jul 25, 2017
Messages
651
Best answers
1
Ratings
68 6
Points
28
#7
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

Corporate Member
Corporate Member
Joined
Apr 6, 2018
Messages
42
Best answers
0
Ratings
16
Points
8
#11
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
Joined
Mar 11, 2014
Messages
97
Best answers
0
Ratings
9
Points
8
#12
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:
[[email protected] ~]# (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
Joined
Nov 26, 2016
Messages
364
Best answers
0
Ratings
26
Points
28
#13
Dr. McKay
Nice share @Marcus_SM, here is a dedicated server 32GB of RAM
What would you say about its speed?

Code:
[[email protected] ~]# (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
Joined
Sep 19, 2018
Messages
4
Best answers
0
Ratings
1
Points
3
#14
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.
 

bestwest

Bestwest ISP
Corporate Member
Joined
May 23, 2018
Messages
64
Best answers
1
Ratings
24
Points
8
#16
HI We use for test our nodes GIT Lelevel script
Atlanta, GA, US Coloat 12.2MB/s
Dallas, TX, US Softlayer 10.8MB/s
Seattle, WA, US Softlayer 82.88MB/s
San Jose, CA, US Softlayer 8.76MB/s
Washington, DC, US Softlayer 13.7MB/s
 

Daniel204

Active member
Joined
Jun 19, 2018
Messages
66
Best answers
1
Ratings
10
Points
8
#18
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
 
Joined
Jan 15, 2018
Messages
63
Best answers
0
Ratings
4 1
Points
8
#20
Latest Threads
Replies
0
Views
7
Replies
0
Views
28
Replies
2
Views
38
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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