Đánh giá chất lượng Cloud VPS Linux 8 Core CPU của vHost

Do yêu cầu công việc nên xTraffic.pep.vn đã sử dụng và kiểm tra thử chất lượng gói Custom Cloud VPS Linux của vHost để các bạn tham khảo và lựa chọn VPS cho mình.

Đánh giá chất lượng Cloud VPS Linux 8 Core CPU của vHost - Cloud VPS Linux vHost - Hosting Phát triển website
vHost SSD Cloud VPS Linux

Thông tin gói VPS được sử dụng để đánh giá

Kiểm tra thông số phần cứng của VPS

[root@vps ~]# sudo lshw -short
H/W path  Device  Class      Description
========================================
                  system     Computer
/0                bus        Motherboard
/0/0              memory     16GiB System memory
/0/1              processor  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
[root@vps ~]#
[root@vps ~]# sudo df -H
Filesystem         Size  Used Avail Use% Mounted on
/dev/ploop17533p1  127G  1.6G  120G   2% /
none               537M  4.1k  537M   1% /dev
none               537M     0  537M   0% /dev/shm
[root@vps ~]#

[root@vps ~]# sudo free -m
             total       used       free     shared    buffers     cached
Mem:         16384         95      16288          5          0         55
-/+ buffers/cache:         39      16344
Swap:         2048          0       2048
[root@vps ~]#

Kiểm tra tốc độ ổ cứng lưu trữ của VPS bằng dd

[root@vps ~]# dd if=/dev/zero of=test_pep_vn bs=64k count=16k conv=fdatasync;
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 1.39599 s, 769 MB/s
[root@vps ~]#

Kiểm tra tốc độ truy xuất ổ cứng lưu trữ của VPS bằng IOPing

[root@vps ~]# ioping . -c 20;
4.0 KiB from . (ext4 /dev/ploop17533p1): request=1 time=481 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=2 time=675 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=3 time=539 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=4 time=1.5 ms
4.0 KiB from . (ext4 /dev/ploop17533p1): request=5 time=862 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=6 time=1.0 ms
4.0 KiB from . (ext4 /dev/ploop17533p1): request=7 time=888 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=8 time=2.0 ms
4.0 KiB from . (ext4 /dev/ploop17533p1): request=9 time=921 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=10 time=884 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=11 time=999 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=12 time=774 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=13 time=922 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=14 time=927 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=15 time=766 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=16 time=687 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=17 time=748 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=18 time=738 us
4.0 KiB from . (ext4 /dev/ploop17533p1): request=19 time=115.1 ms
4.0 KiB from . (ext4 /dev/ploop17533p1): request=20 time=694 us

--- . (ext4 /dev/ploop17533p1) ioping statistics ---
20 requests completed in 19.1 s, 151 iops, 605.6 KiB/s
min/avg/max/mdev = 481 us / 6.6 ms / 115.1 ms / 24.9 ms
[root@vps ~]#

Kiểm tra tốc độ CPU của VPS bằng sysbench

[root@vps ~]# sudo sysbench --test=cpu --cpu-max-prime=20000 run;
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          24.4295s
    total number of events:              10000
    total time taken by event execution: 24.4283
    per-request statistics:
         min:                                  2.34ms
         avg:                                  2.44ms
         max:                                  3.89ms
         approx.  95 percentile:               2.56ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   24.4283/0.00

[root@vps ~]#

Kiểm tra tốc độ ổ cứng lưu trữ của VPS bằng sysbench

[root@vps ~]# sudo sysbench --test=fileio --file-total-size=5G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run;
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 40Mb each
5Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed:  1932960 Read, 1288640 Write, 4123576 Other = 7345176 Total
Read 29.495Gb  Written 19.663Gb  Total transferred 49.158Gb  (167.79Mb/sec)
10738.66 Requests/sec executed

Test execution summary:
    total time:                          300.0001s
    total number of events:              3221600
    total time taken by event execution: 18.9914
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.01ms
         max:                                  3.83ms
         approx.  95 percentile:               0.01ms

Threads fairness:
    events (avg/stddev):           3221600.0000/0.00
    execution time (avg/stddev):   18.9914/0.00

[root@vps ~]#

Kiểm tra hiệu năng MySQL của VPS bằng sysbench

[root@vps ~]# sudo sysbench --test=oltp --oltp-table-size=1000000 --db-driver=mysql --mysql-db=xtraffic_pep_vn_test --mysql-user=root --mysql-password=YOUR_MYSQL_ROOT_PASSWORD --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations,  1 pct of values are returned in 75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting...
(last message repeated 7 times)
Done.

OLTP test statistics:
    queries performed:
        read:                            1021132
        write:                           0
        other:                           145876
        total:                           1167008
    transactions:                        72938  (1215.55 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 1021132 (17017.68 per sec.)
    other operations:                    145876 (2431.10 per sec.)

Test execution summary:
    total time:                          60.0042s
    total number of events:              72938
    total time taken by event execution: 479.7500
    per-request statistics:
         min:                                  1.27ms
         avg:                                  6.58ms
         max:                                233.08ms
         approx.  95 percentile:              22.96ms

Threads fairness:
    events (avg/stddev):           9117.2500/57.95
    execution time (avg/stddev):   59.9687/0.00

[root@vps ~]#

Kiểm tra tốc độ toàn diện của VPS bằng UnixBench

[root@vps UnixBench]# sudo ./Run
make all
make[1]: Entering directory `/root/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/root/UnixBench'
sh: 3dinfo: command not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

8 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

8 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

8 x Execl Throughput  1 2 3

8 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

8 x File Copy 256 bufsize 500 maxblocks  1 2 3

8 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

8 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

8 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

8 x Process Creation  1 2 3

8 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

8 x Shell Scripts (1 concurrent)  1 2 3

8 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: vps.ileaks.vn: GNU/Linux
   OS: GNU/Linux -- 2.6.32-042stab102.9 -- #1 SMP Fri Dec 19 20:34:40 MSK 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5320.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5319.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5320.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5319.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 4: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5320.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 5: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5319.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 6: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5320.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 7: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (5319.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   12:31:18 up  4:01,  1 user,  load average: 0.77, 1.06, 0.48; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Wed Mar 18 2015 12:31:18 - 13:01:08
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28032735.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3517.4 MWIPS (9.9 s, 7 samples)
Execl Throughput                               3222.3 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        757152.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          205102.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1616682.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1881489.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 271778.5 lps   (10.0 s, 7 samples)
Process Creation                              10404.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5224.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1159.3 lpm   (60.0 s, 2 samples)
System Call Overhead                        3939333.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28032735.6   2402.1
Double-Precision Whetstone                       55.0       3517.4    639.5
Execl Throughput                                 43.0       3222.3    749.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     757152.9   1912.0
File Copy 256 bufsize 500 maxblocks            1655.0     205102.1   1239.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1616682.8   2787.4
Pipe Throughput                               12440.0    1881489.4   1512.5
Pipe-based Context Switching                   4000.0     271778.5    679.4
Process Creation                                126.0      10404.9    825.8
Shell Scripts (1 concurrent)                     42.4       5224.3   1232.1
Shell Scripts (8 concurrent)                      6.0       1159.3   1932.2
System Call Overhead                          15000.0    3939333.8   2626.2
                                                                   ========
System Benchmarks Index Score                                        1360.9

------------------------------------------------------------------------
Benchmark Run: Wed Mar 18 2015 13:01:08 - 13:42:21
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables       55240054.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    27894.6 MWIPS (9.9 s, 7 samples)
Execl Throughput                               8840.9 lps   (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1019043.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          272680.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       8001822.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3621858.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 503366.9 lps   (10.0 s, 7 samples)
Process Creation                              23650.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9955.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1324.5 lpm   (60.1 s, 2 samples)
System Call Overhead                        6257706.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   55240054.3   4733.5
Double-Precision Whetstone                       55.0      27894.6   5071.7
Execl Throughput                                 43.0       8840.9   2056.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1019043.5   2573.3
File Copy 256 bufsize 500 maxblocks            1655.0     272680.0   1647.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    8001822.4  13796.2
Pipe Throughput                               12440.0    3621858.7   2911.5
Pipe-based Context Switching                   4000.0     503366.9   1258.4
Process Creation                                126.0      23650.6   1877.0
Shell Scripts (1 concurrent)                     42.4       9955.4   2348.0
Shell Scripts (8 concurrent)                      6.0       1324.5   2207.6
System Call Overhead                          15000.0    6257706.7   4171.8
                                                                   ========
System Benchmarks Index Score                                        2947.1

[root@vps UnixBench]#

Kiểm tra hiệu năng của VPS bằng vpsbench

[root@vps ~]# sudo bash vpsbench.sh;
Benching I/O ... OK
Benching CPU. Bzipping 25MB file ... OK
Benching inbound network. Downloading 100MB file ... OK
Share at https://github.com/mgutz/vpsbench/wiki/VPS-Hosts


_03/18/2015 - VMPLAN - DATACENTER - OS - AUTHOR_
```
CPU model:  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores: 8
CPU frequency:  665.250 MHz
Total amount of RAM: 16384 MB
Total amount of swap: 2048 MB
System uptime:   5:15,
I/O speed:  433 MB/s
Bzip 25MB: 5.21s
Download 100MB file: 1.89MB/s
```


[root@vps ~]#

Kiểm tra hiệu năng của VPS bằng freevps bench

[root@vps ~]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/); --2015-03-18 14:08:06--  https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/ Resolving gist.githubusercontent.com... 103.245.222.133 Connecting to gist.githubusercontent.com|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3197 (3.1K) [text/plain] Saving to: “STDOUT” 100%[==============================================================================================================================>] 3,197       --.-K/s   in 0s

2015-03-18 14:08:08 (135 MB/s) - written to stdout [3197/3197]

CPU model :  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores : 8
CPU frequency :  665.250 MHz
Total amount of ram : 16384 MB
Total amount of swap : 2048 MB
System uptime :   5:38,
Download speed from CacheFly: 1.25MB/s
Download speed from Coloat, Atlanta GA: 336KB/s
Download speed from Softlayer, Dallas, TX: 1.27MB/s
Download speed from Linode, Tokyo, JP: 1.56MB/s
Download speed from i3d.net, Rotterdam, NL: 1.53MB/s
Download speed from Leaseweb, Haarlem, NL: 1.24MB/s
Download speed from Softlayer, Singapore: 1.42MB/s
Download speed from Softlayer, Seattle, WA: 1.31MB/s
Download speed from Softlayer, San Jose, CA: 1.44MB/s
Download speed from Softlayer, Washington, DC: 1.31MB/s
I/O speed :  812 MB/s
[root@vps ~]#

Kiểm tra tốc độ đường truyền mạng của VPS bằng speedtest

[root@vps ~]# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Viet Solutions Services Trading Company (103.27.63.166)...
Selecting best server based on latency...
Hosted by NetNam JSC (Ho Chi Minh City) [100.26 km]: 1.128 ms
Testing download speed........................................
Download: 469.73 Mbit/s
Testing upload speed..................................................
Upload: 29.94 Mbit/s
[root@vps ~]#

Kiểm tra chất lượng toàn diện của VPS bằng PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN

--------------------------------------------------------------------------------------------------------------
|                                  PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN                                   |
|                                                VERSION 2.0                                                 |
|                   DOWNLOAD HERE : https://bit.ly/php-benchmark-script-by-xtraffic-pep-vn                   |
|                        Copyright 2014 http://xtraffic.pep.vn , All rights reserved!                        |
--------------------------------------------------------------------------------------------------------------
Start       : 2015-03-18 14:47:32
Server      : [email protected]
PHP version : 5.3.3
Platform    : Linux
Test level  : 1
--------------------------------------------------------------------------------------------------------------
                                                 CPU TESTED                                                 

+ xtraffic_testcpu_math                                                                 : 0.25313306 seconds.
+ xtraffic_testcpu_stringmanipulation                                                   : 0.41388798 seconds.
+ xtraffic_testcpu_hashstring                                                           : 0.13608980 seconds.
+ xtraffic_testcpu_gzipstring                                                           : 0.30534291 seconds.
+ xtraffic_testcpu_loops                                                                : 0.18906116 seconds.
+ xtraffic_testcpu_ifelse                                                               : 0.19893980 seconds.
+ xtraffic_testcpu_synthetic                                                            : 0.16159296 seconds.
----------------------------
* Total time                                                                            : 1.65804767 seconds.

--------------------------------------------------------------------------------------------------------------
                                    DATA STORAGE DEVICE (HDD/SSD) TESTED                                    

+ TEST WRITE     :                                                                   
      File Size  : 20 MB                                                             
      Time       : 0.015357542037964 seconds                                         
      Speed      : 1.27 GB/s                                                         
+ TEST READ     :                                                                    
      File Size  : 20 MB                                                             
      Time       : 0.0056638240814209 seconds                                        
      Speed      : 3.62 GB/s                                                         
----------------------------
* Total time                                                                            : 0.02102137 seconds.

--------------------------------------------------------------------------------------------------------------
                                                MYSQL TESTED                                                

+ DB CONNECTION TIME                    : 0.03131795 seconds                         
+ TEST INSERT TO DB    "10,000 RECORDS" : 2.19390512 seconds                         
+ TEST SELECT (1) WITH "10,000 RECORDS" : 0.85983157 seconds                         
+ TEST SELECT (2) WITH "10,000 RECORDS" : 0.87393332 seconds                         
+ TEST SELECT (3) WITH "10,000 RECORDS" : 0.85616302 seconds                         
+ TEST UPDATE     WITH "10,000 RECORDS" : 0.14519811 seconds                         
+ TEST DELETE     WITH "10,000 RECORDS" : 0.32269597 seconds                         
----------------------------
* Total time                                                                            : 5.28304505 seconds.

--------------------------------------------------------------------------------------------------------------
                                               NETWORK TESTED                                               

+ Test download speed from "cachefly.cachefly.net"                                   
      [Location : CDN]                                                               
      Size : 7.04 MB                                                                 
      Download Time : 4.729097 sec                                                   
      Speed : 1.49 MB/s                                                              

+ Test download speed from "mirror-fpt-telecom.fpt.net"                              
      [Location : Vietnam]                                                           
      Size :                                                                         
      Download Time : 0 sec                                                          
      Speed : 0 Byte/s                                                               

+ Test download speed from "centos-hcm.viettelidc.com.vn"                            
      [Location : Ho Chi Minh, Vietnam]                                              
      Size : 33.32 MB                                                                
      Download Time : 0.614732 sec                                                   
      Speed : 54.2 MB/s                                                              

+ Test download speed from "centos-hn.viettelidc.com.vn"                             
      [Location : Ha Noi, Vietnam]                                                   
      Size :                                                                         
      Download Time : 1.861021 sec                                                   
      Speed : 0 Byte/s                                                               

+ Test download speed from "mirror.nhanhoa.com"                                      
      [Location : Vietnam]                                                           
      Size : 12.59 MB                                                                
      Download Time : 4.887064 sec                                                   
      Speed : 2.58 MB/s                                                              

+ Test download speed from "dl.google.com"                                           
      [Location : Google]                                                            
      Size :                                                                         
      Download Time : 0 sec                                                          
      Speed : 0 Byte/s                                                               

+ Test download speed from "download.microsoft.com"                                  
      [Location : Microsoft]                                                         
      Size : 733 KB                                                                  
      Download Time : 4.176907 sec                                                   
      Speed : 176 KB/s                                                               

+ Test download speed from "speedtest.tokyo.linode.com"                              
      [Location : Tokyo, Japan]                                                      
      Size :                                                                         
      Download Time : 0 sec                                                          
      Speed : 0 Byte/s                                                               

+ Test download speed from "speedtest-sgp1.digitalocean.com"                         
      [Location : Singapore]                                                         
      Size : 9.35 MB                                                                 
      Download Time : 2.790118 sec                                                   
      Speed : 3.35 MB/s                                                              

+ Test download speed from "ftp.funet.fi"                                            
      [Location : Finland]                                                           
      Size : 2.25 MB                                                                 
      Download Time : 4.17127 sec                                                    
      Speed : 554 KB/s                                                               

+ Test download speed from "ftp.belnet.be"                                           
      [Location : Belgium]                                                           
      Size : 558 KB                                                                  
      Download Time : 4.005882 sec                                                   
      Speed : 140 KB/s                                                               

+ Test download speed from "ga-us-ping.vultr.com"                                    
      [Location : Atlanta, Georgia, USA]                                             
      Size : 1.84 MB                                                                 
      Download Time : 4.917895 sec                                                   
      Speed : 384 KB/s                                                               

+ Test download speed from "sjo-ca-us-ping.vultr.com"                                
      [Location : Silicon Valley, California, USA]                                   
      Size : 5.77 MB                                                                 
      Download Time : 4.489763 sec                                                   
      Speed : 1.29 MB/s                                                              

+ Test download speed from "nj-us-ping.vultr.com"                                    
      [Location : New York / New Jersey, USA]                                        
      Size : 2.35 MB                                                                 
      Download Time : 4.471779 sec                                                   
      Speed : 538 KB/s                                                               


--------------------------------------------------------------------------------------------------------------


Kiểm tra khả năng chịu tải WordPress trên VPS

Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ Siege

Giả lập tối đa 20 kết nối cùng lúc (tương đương với website có 1.728.000 pageviews/day) với thời gian kiểm tra là 60 giây

Kiểm tra hiệu năng WordPress trước và sau khi sử dụng plugin WP Optimize By xTraffic
Yếu tố Trước khi cài đặt plugin Sau khi cài đặt plugin Hiệu quả
[root@xtraffic ~]# siege -c20 -t60s http://wordpress-test.pep.vn/
Lifting the server siege..      done.

Transactions:                    900 hits
Availability:                 100.00 %
Elapsed time:                  59.32 secs
Data transferred:               2.19 MB
Response time:                  0.82 secs
Transaction rate:              15.17 trans/sec
Throughput:                     0.04 MB/sec
Concurrency:                   12.38
Successful transactions:         900
Failed transactions:               0
Longest transaction:            1.40
Shortest transaction:           0.18

[root@xtraffic ~]# siege -c20 -t60s http://wordpress-test.pep.vn/
Lifting the server siege...      done.

Transactions:                   2499 hits
Availability:                 100.00 %
Elapsed time:                  59.96 secs
Data transferred:               6.86 MB
Response time:                  0.00 secs
Transaction rate:              41.68 trans/sec
Throughput:                     0.11 MB/sec
Concurrency:                    0.05
Successful transactions:        2499
Failed transactions:               0
Longest transaction:            0.01
Shortest transaction:           0.00
Thời gian tải trang trung bình (Response time) 0.82 secs 0.00 secs Tăng ?
Đáp ứng được số truy vấn trong 1 giây (Transaction rate) 15.17 trans/sec 41.68 trans/sec Tăng 275%
Số truy vấn thành công (Successful transactions) 900 truy vấn 2499 truy vấn Tăng 278%
Số truy vấn thất bại (Failed transactions) 0 truy vấn 0 truy vấn Tăng 0%
Thời gian tải trang lâu nhất (Longest transaction) 1.40 giây 0.01 giây Tăng 14000%
Thời gian tải trang thấp nhất (Shortest transaction) 0.18 giây 0.00 giây Tăng ?

Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ Apache Benchmark (ab)

Giả lập tối đa 20 kết nối cùng lúc (tương đương với website có 1.728.000 pageviews/day) với thời gian kiểm tra là 60 giây

Kiểm tra hiệu năng WordPress trước và sau khi sử dụng plugin WP Optimize By xTraffic
Yếu tố Trước khi cài đặt plugin Sau khi cài đặt plugin Hiệu quả
[root@xtraffic ~]# ab -c 20 -k -r -t 60 -v 3 http://wordpress-test.pep.vn/
Finished 883 requests


Server Software:        nginx/1.0.15
Server Hostname:        wordpress-test.pep.vn
Server Port:            80

Document Path:          /
Document Length:        7846 bytes

Concurrency Level:      20
Time taken for tests:   60.201 seconds
Complete requests:      883
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      7138172 bytes
HTML transferred:       6928018 bytes
Requests per second:    14.67 [#/sec] (mean)
Time per request:       1363.553 [ms] (mean)
Time per request:       68.178 [ms] (mean, across all concurrent requests)
Transfer rate:          115.79 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0      13
Processing:  1047 1345  75.4   1344    1625
Waiting:     1047 1345  75.3   1344    1625
Total:       1047 1345  75.4   1344    1625

Percentage of the requests served within a certain time (ms)
  50%   1344
  66%   1372
  75%   1391
  80%   1405
  90%   1440
  95%   1467
  98%   1503
  99%   1550
 100%   1625 (longest request)
[root@xtraffic ~]# ab -c 20 -k -r -t 60 -v 3 http://wordpress-test.pep.vn/
Finished 10165 requests


Server Software:        nginx
Server Hostname:        wordpress-test.pep.vn
Server Port:            80

Document Path:          /
Document Length:        8457 bytes

Concurrency Level:      20
Time taken for tests:   60.193 seconds
Complete requests:      10165
Failed requests:        0
Write errors:           0
Keep-Alive requests:    10165
Total transferred:      89484768 bytes
HTML transferred:       85996801 bytes
Requests per second:    168.87 [#/sec] (mean)
Time per request:       118.433 [ms] (mean)
Time per request:       5.922 [ms] (mean, across all concurrent requests)
Transfer rate:          1451.78 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       1
Processing:     0  118 224.3      6    1247
Waiting:        0   76 186.2      3    1241
Total:          0  118 224.3      6    1247

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      8
  75%     12
  80%    351
  90%    463
  95%    607
  98%    801
  99%    867
 100%   1247 (longest request)
Thời gian tải trang trung bình (Time per request) 1.363553 giây 0.005922 giây Tăng 23025%
Đáp ứng được số truy vấn trong 1 giây (Requests per second) 14.67 truy vấn / giây 168.87 truy vấn / giây Tăng 1151%
Số truy vấn thành công (Complete requests) 883 truy vấn 10165 truy vấn Tăng 1151%
Số truy vấn thất bại (Failed requests) 0 truy vấn 0 truy vấn Tăng 0%
Thời gian tải trang lâu nhất 1.625 giây 1.247 giây Tăng 130%
Thời gian tải trang thấp nhất 1.344 giây 0.006 giây Tăng 22400%

Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ wrk Benchmark

Giả lập tối đa 20 kết nối cùng lúc (tương đương với website có 1.728.000 pageviews/day) với thời gian kiểm tra là 60 giây

Kiểm tra hiệu năng WordPress trước và sau khi sử dụng plugin WP Optimize By xTraffic
Yếu tố Trước khi cài đặt plugin Sau khi cài đặt plugin Hiệu quả
[root@xtraffic]# wrk -t10 -c20 -d60s http://wordpress-test.pep.vn/
Running 1m test @ http://wordpress-test.pep.vn/
  10 threads and 20 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.42s   181.48ms   1.76s    76.96%
    Req/Sec     1.01      0.74     3.00     66.33%
  873 requests in 1.00m, 6.77MB read
Requests/sec:     14.51
Transfer/sec:    115.23KB
[root@xtraffic ~]# wrk -t10 -c20 -d60s http://wordpress-test.pep.vn/
Running 1m test @ http://wordpress-test.pep.vn/
  10 threads and 20 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     3.92s     3.67s    7.80s    20.14%
    Req/Sec     3.97k     5.54k   30.00k    82.40%
  2248232 requests in 1.00m, 18.43GB read
  Socket errors: connect 0, read 0, write 0, timeout 61
Requests/sec:  37470.67
Transfer/sec:    314.47MB
Thời gian tải trang trung bình (Latency) 1.42 giây 3.92 giây Giảm 276%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 14.51 truy vấn / giây 37470.67 truy vấn / giây Tăng 258240%
Thời gian tải trang lâu nhất (Max Latency) 1.76 giây 7.80 giây Giảm 443%
Tốc độ chuyển dữ liệu trong 1 giây(Transfer/sec) 115.23 KB/s 314.47 MB/s Tăng 279456%

Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ boom Benchmark

Giả lập tối đa 20 kết nối cùng lúc (tương đương với website có 1.728.000 pageviews/day) với 2000 truy vấn

Kiểm tra hiệu năng WordPress trước và sau khi sử dụng plugin WP Optimize By xTraffic
Yếu tố Trước khi cài đặt plugin Sau khi cài đặt plugin Hiệu quả
[root@xtraffic]# boom -n 2000 -c 20 -cpus 1 -allow-insecure http://wordpress-test.pep.vn/
2000 / 2000 Boooooooooooooooooooooooooo! 100.00 %
Summary:
  Total:        138.9176 secs.
  Slowest:      1.7429 secs.
  Fastest:      0.7435 secs.
  Average:      1.3873 secs.
  Requests/sec: 14.3970

Status code distribution:
  [200] 2000 responses

Response time histogram:
  0.744 [1]     |
  0.843 [2]     |
  0.943 [2]     |
  1.043 [4]     |
  1.143 [16]    |
  1.243 [90]    |∎∎∎
  1.343 [421]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  1.443 [977]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  1.543 [399]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  1.643 [77]    |∎∎∎
  1.743 [11]    |

Latency distribution:
  10% in 1.2791 secs.
  25% in 1.3390 secs.
  50% in 1.3881 secs.
  75% in 1.4413 secs.
  90% in 1.4971 secs.
  95% in 1.5362 secs.
  99% in 1.6117 secs.
[root@xtraffic]# boom -n 2000 -c 20 -cpus 1 -allow-insecure http://wordpress-test.pep.vn/
2000 / 2000 Boooooooooooooooooooooooooo! 100.00 %
Summary:
  Total:        0.6619 secs.
  Slowest:      0.0223 secs.
  Fastest:      0.0004 secs.
  Average:      0.0066 secs.
  Requests/sec: 3021.5969

Status code distribution:
  [200] 2000 responses

Response time histogram:
  0.000 [1]     |
  0.003 [198]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.005 [394]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.007 [542]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.009 [499]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.011 [201]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.014 [119]   |∎∎∎∎∎∎∎∎
  0.016 [37]    |∎∎
  0.018 [4]     |
  0.020 [0]     |
  0.022 [5]     |

Latency distribution:
  10% in 0.0026 secs.
  25% in 0.0042 secs.
  50% in 0.0064 secs.
  75% in 0.0084 secs.
  90% in 0.0107 secs.
  95% in 0.0123 secs.
  99% in 0.0145 secs.
Thời gian tải trang trung bình (Summary Average) 1.3873 giây 0.0066 giây Tăng 21020%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 14.397 truy vấn / giây 3021.5969 truy vấn / giây Tăng 20988%
Thời gian tải trang chậm nhất (Summary Slowest) 1.7429 giây 0.0223 giây Tăng 7816%
Thời gian tải trang nhanh nhất (Summary Fastest) 0.7435 giây 0.0004 giây Tăng 185875%
Link đăng ký VPS : http://vhost.vn/custom-cloud-vps/

Leave a Comment