Đánh giá chất lượng gói SSD Cloud VPS Linux rẻ nhất của vHost

vHost vừa mới tung ra dịch vụ SSD Cloud VPS Linux Unlimited Bandwidth với chi phí khá rẻ. Để các bạn có sự lựa chọn tốt nhất, xTraffic.pep.vn đã liên hệ với vHost để được trải nghiệm và đánh giá chất lượng gói dịch vụ rẻ nhất.

Đánh giá chất lượng gói SSD Cloud VPS Linux rẻ nhất của vHost - Cloud VPS SSD Cloud VPS SSD Cloud VPS Linux vHost VPS vHost - Hosting Phát triển website
SSD Cloud VPS vHost

Thông tin về gói SSD Cloud VPS Linux rẻ nhất của vHost :

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

[root@SSDCloudVPSvHost]# sudo lshw -short
H/W path  Device  Class      Description
========================================
                  system     Computer
/0                bus        Motherboard
/0/0              memory     512MiB System memory
/0/1              processor  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz

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

[root@SSDCloudVPSvHost]# 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.77331 s, 285 MB/s

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

[root@SSDCloudVPSvHost ~]# 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:                          23.6868s
    total number of events:              10000
    total time taken by event execution: 23.6860
    per-request statistics:
         min:                                  2.34ms
         avg:                                  2.37ms
         max:                                  3.51ms
         approx.  95 percentile:               2.45ms

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

[root@SSDCloudVPSvHost ~]#

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

[root@SSDCloudVPSvHost ~]# 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:  308395 Read, 205596 Write, 657792 Other = 1171783 Total
Read 4.7057Gb  Written 3.1371Gb  Total transferred 7.8429Gb  (26.77Mb/sec)
 1713.29 Requests/sec executed

Test execution summary:
    total time:                          300.0020s
    total number of events:              513991
    total time taken by event execution: 10.4791
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.02ms
         max:                                  2.70ms
         approx.  95 percentile:               0.02ms

Threads fairness:
    events (avg/stddev):           513991.0000/0.00
    execution time (avg/stddev):   10.4791/0.00

[root@SSDCloudVPSvHost ~]#

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

[root@SSDCloudVPSvHost ~]# 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 prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Creating table 'sbtest'...
Creating 1000000 records in table 'sbtest'...
[root@SSDCloudVPSvHost ~]# 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:                            550158
        write:                           0
        other:                           78594
        total:                           628752
    transactions:                        39297  (654.89 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 550158 (9168.46 per sec.)
    other operations:                    78594  (1309.78 per sec.)

Test execution summary:
    total time:                          60.0055s
    total number of events:              39297
    total time taken by event execution: 479.8446
    per-request statistics:
         min:                                  1.21ms
         avg:                                 12.21ms
         max:                                142.87ms
         approx.  95 percentile:              41.86ms

Threads fairness:
    events (avg/stddev):           4912.1250/50.37
    execution time (avg/stddev):   59.9806/0.00

[root@SSDCloudVPSvHost ~]#

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

[root@SSDCloudVPSvHost 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

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

   System: test.pep.vn: GNU/Linux
   OS: GNU/Linux -- 2.6.32-042stab094.7 -- #1 SMP Wed Oct 22 12:43:21 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 (5319.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   23:00:25 up  3:01,  2 users,  load average: 0.35, 1.00, 0.63; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Tue Dec 23 2014 23:00:25 - 23:28:41
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28974766.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3626.2 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4918.2 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        855272.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          238285.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1979139.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1900369.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 285278.2 lps   (10.0 s, 7 samples)
Process Creation                              12305.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5226.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    733.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        3965615.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28974766.0   2482.8
Double-Precision Whetstone                       55.0       3626.2    659.3
Execl Throughput                                 43.0       4918.2   1143.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     855272.6   2159.8
File Copy 256 bufsize 500 maxblocks            1655.0     238285.2   1439.8
File Copy 4096 bufsize 8000 maxblocks          5800.0    1979139.4   3412.3
Pipe Throughput                               12440.0    1900369.8   1527.6
Pipe-based Context Switching                   4000.0     285278.2    713.2
Process Creation                                126.0      12305.3    976.6
Shell Scripts (1 concurrent)                     42.4       5226.8   1232.7
Shell Scripts (8 concurrent)                      6.0        733.3   1222.2
System Call Overhead                          15000.0    3965615.6   2643.7
                                                                   ========
System Benchmarks Index Score                                        1446.9

[root@SSDCloudVPSvHost UnixBench]#

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

[root@SSDCloudVPSvHost ~]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/raw/); --2014-12-24 07:36:22--  https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/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: 5399 (5.3K) [text/plain] Saving to: “STDOUT” 100%[======================================>] 5,399       --.-K/s   in 0s

2014-12-24 07:36:23 (233 MB/s) - written to stdout [5399/5399]

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


_12/24/2014 - VMPLAN - DATACENTER - OS - AUTHOR_
```
CPU model:  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores: 1
CPU frequency:  2661.000 MHz
Total amount of RAM: 512 MB
Total amount of swap: 1024 MB
System uptime:   11:37,
I/O speed:  888 MB/s
Bzip 25MB: 4.94s
Download 100MB file: 2.27MB/s
```


[root@SSDCloudVPSvHost ~]#

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

[root@SSDCloudVPSvHost ~]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/); --2014-12-24 07:39:51--  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

2014-12-24 07:39:51 (154 MB/s) - written to stdout [3197/3197]

CPU model :  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores : 1
CPU frequency :  2661.000 MHz
Total amount of ram : 512 MB
Total amount of swap : 1024 MB
System uptime :   11:40,
Download speed from CacheFly: 2.38MB/s
Download speed from Coloat, Atlanta GA: 849KB/s
Download speed from Softlayer, Dallas, TX: 2.05MB/s
Download speed from Linode, Tokyo, JP: 2.29MB/s
Download speed from i3d.net, Rotterdam, NL: 1.72MB/s
Download speed from Leaseweb, Haarlem, NL: 1.30MB/s
Download speed from Softlayer, Singapore: 1.85MB/s
Download speed from Softlayer, Seattle, WA: 1.58MB/s
Download speed from Softlayer, San Jose, CA: 1.20MB/s
Download speed from Softlayer, Washington, DC: 1.59MB/s
I/O speed :  1.0 GB/s
[root@SSDCloudVPSvHost ~]#

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

[root@SSDCloudVPSvHost ~]# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Viet Solutions Services Trading Company (103.27.63.134)...
Selecting best server based on latency...
Hosted by Viettel IDC (Ho Chi Minh City) [100.26 km]: 55.508 ms
Testing download speed........................................
Download: 475.64 Mbits/s
Testing upload speed..................................................
Upload: 4.86 Mbits/s
[root@SSDCloudVPSvHost ~]#

Kiểm tra chất lượng toàn diện của SSD Cloud VPS vHost 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       : 2014-12-24 07:58:06
Server      : _@_
PHP version : 5.3.3
Platform    : Linux
Test level  : 1
--------------------------------------------------------------------------------------------------------------
                                                 CPU TESTED                                                 

+ xtraffic_testcpu_math                                                                 : 0.22728491 seconds.
+ xtraffic_testcpu_stringmanipulation                                                   : 0.39979386 seconds.
+ xtraffic_testcpu_hashstring                                                           : 0.12663412 seconds.
+ xtraffic_testcpu_gzipstring                                                           : 0.29539514 seconds.
+ xtraffic_testcpu_loops                                                                : 0.18433690 seconds.
+ xtraffic_testcpu_ifelse                                                               : 0.19519281 seconds.
+ xtraffic_testcpu_synthetic                                                            : 0.15606999 seconds.
----------------------------
* Total time                                                                            : 1.58470773 seconds.

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

+ TEST WRITE     :                                                                   
      File Size  : 20 MB                                                             
      Time       : 0.071201801300049 seconds                                         
      Speed      : 280.89 MB/s                                                       
+ TEST READ     :                                                                    
      File Size  : 20 MB                                                             
      Time       : 0.0051115989685059 seconds                                        
      Speed      : 4.01 GB/s                                                         
----------------------------
* Total time                                                                            : 0.07631340 seconds.

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

+ DB CONNECTION TIME                    : 0.00176501 seconds                         
+ TEST INSERT TO DB    "10,000 RECORDS" : 2.09287715 seconds                         
+ TEST SELECT (1) WITH "10,000 RECORDS" : 0.79421568 seconds                         
+ TEST SELECT (2) WITH "10,000 RECORDS" : 0.79650617 seconds                         
+ TEST SELECT (3) WITH "10,000 RECORDS" : 0.79556918 seconds                         
+ TEST UPDATE     WITH "10,000 RECORDS" : 0.13258195 seconds                         
+ TEST DELETE     WITH "10,000 RECORDS" : 0.31428599 seconds                         
----------------------------
* Total time                                                                            : 4.92780113 seconds.

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

+ Test download speed from "cachefly.cachefly.net"                                   
      [Location : CDN]                                                               
      Size : 6.2 MB                                                                  
      Download Time : 4.655248 sec                                                   
      Speed : 1.33 MB/s                                                              

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

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

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

+ Test download speed from "mirror.nhanhoa.com"                                      
      [Location : Vietnam]                                                           
      Size : 22.69 MB                                                                
      Download Time : 4.862173 sec                                                   
      Speed : 4.67 MB/s                                                              

+ Test download speed from "dl.google.com"                                           
      [Location : Google]                                                            
      Size : 6.16 MB                                                                 
      Download Time : 5.226853 sec                                                   
      Speed : 1.18 MB/s                                                              

+ Test download speed from "download.microsoft.com"                                  
      [Location : Microsoft]                                                         
      Size : 1.14 MB                                                                 
      Download Time : 4.624568 sec                                                   
      Speed : 252 KB/s                                                               

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

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

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

+ Test download speed from "ftp.belnet.be"                                           
      [Location : Belgium]                                                           
      Size : 350 KB                                                                  
      Download Time : 4.730659 sec                                                   
      Speed : 74 KB/s                                                                

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

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

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

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

Kiểm tra khả năng chịu tải WordPress trên SSD Cloud VPS vHost 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://test.pep.vn/wordpress/
** SIEGE 3.0.0
** Preparing 20 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.

Transactions:                    190 hits
Availability:                 100.00 %
Elapsed time:                  59.43 secs
Data transferred:               0.46 MB
Response time:                  5.56 secs
Transaction rate:               3.20 trans/sec
Throughput:                     0.01 MB/sec
Concurrency:                   17.78
Successful transactions:         190
Failed transactions:               0
Longest transaction:            7.86
Shortest transaction:           0.52
[root@xtraffic ~]# siege -c20 -t60s http://test.pep.vn/wordpress/
** SIEGE 3.0.0
** Preparing 20 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.

Transactions:                   2446 hits
Availability:                 100.00 %
Elapsed time:                  59.84 secs
Data transferred:               6.66 MB
Response time:                  0.00 secs
Transaction rate:              40.88 trans/sec
Throughput:                     0.11 MB/sec
Concurrency:                    0.04
Successful transactions:        2446
Failed transactions:               0
Longest transaction:            0.01
Shortest transaction:           0.00
Thời gian tải trang trung bình (Response time) 5.56 secs 0.00 secs Tăng ?%
Đáp ứng được số truy vấn trong 1 giây (Transaction rate) 3.2 trans/sec 40.88 trans/sec Tăng 1277%
Số truy vấn thành công (Successful transactions) 190 truy vấn 2446 truy vấn Tăng 1287%
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) 7.86 giây 0.01 giây Tăng 78600%
Thời gian tải trang thấp nhất (Shortest transaction) 0.52 giây 0.00 giây Tăng ?%

Kiểm tra khả năng chịu tải WordPress trên SSD Cloud VPS vHost 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://test.pep.vn/wordpress/
Finished 186 requests


Server Software:        nginx/1.0.15
Server Hostname:        103.27.63.134
Server Port:            80

Document Path:          /wordpress/
Document Length:        7795 bytes

Concurrency Level:      20
Time taken for tests:   60.786 seconds
Complete requests:      186
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      1494510 bytes
HTML transferred:       1449870 bytes
Requests per second:    3.06 [#/sec] (mean)
Time per request:       6536.124 [ms] (mean)
Time per request:       326.806 [ms] (mean, across all concurrent requests)
Transfer rate:          24.01 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.6      0       4
Processing:   701 6110 1266.8   6216    8140
Waiting:      700 6109 1267.1   6216    8140
Total:        701 6110 1266.7   6216    8140

Percentage of the requests served within a certain time (ms)
  50%   6216
  66%   6591
  75%   7001
  80%   7136
  90%   7598
  95%   7796
  98%   7924
  99%   7973
 100%   8140 (longest request)
[root@xtraffic ~]# ab -c 20 -k -r -t 60 -v 3 http://test.pep.vn/wordpress/
Finished 18236 requests


Server Software:        nginx
Server Hostname:        103.27.63.134
Server Port:            80

Document Path:          /wordpress/
Document Length:        8395 bytes

Concurrency Level:      20
Time taken for tests:   60.328 seconds
Complete requests:      18236
Failed requests:        92
   (Connect: 0, Receive: 0, Length: 92, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    18144
Total transferred:      158697460 bytes
HTML transferred:       152468011 bytes
Requests per second:    302.28 [#/sec] (mean)
Time per request:       66.164 [ms] (mean)
Time per request:       3.308 [ms] (mean, across all concurrent requests)
Transfer rate:          2568.92 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       3
Processing:     0   66 133.2      3     607
Waiting:        0   62 129.9      3     607
Total:          0   66 133.2      3     607

Percentage of the requests served within a certain time (ms)
  50%      3
  66%      7
  75%     10
  80%     13
  90%    338
  95%    363
  98%    401
  99%    439
 100%    607 (longest request)
Thời gian tải trang trung bình (Time per request) 6.536124 giây 0.066164 giây Tăng 9878%
Đáp ứng được số truy vấn trong 1 giây (Requests per second) 3.06 truy vấn / giây 302.28 truy vấn / giây Tăng 9878%
Số truy vấn thành công (Complete requests) 186 truy vấn 18236 truy vấn Tăng 9804%
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 8.14 giây 0.607 giây Tăng 1341%
Thời gian tải trang thấp nhất 0.701 giây 0 giây Tăng ?%

Kiểm tra khả năng chịu tải WordPress trên SSD Cloud VPS vHost 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://test.pep.vn/wordpress/
2000 / 2000 Boooooooooooooooooooooooooo! 100.00 %

Summary:
  Total:        594.6001 secs.
  Slowest:      8.6103 secs.
  Fastest:      0.3487 secs.
  Average:      5.9351 secs.
  Requests/sec: 3.3636

Status code distribution:
  [200] 2000 responses

Response time histogram:
  0.349 [1]     |
  1.175 [69]    |∎∎∎
  2.001 [72]    |∎∎∎
  2.827 [2]     |
  3.653 [7]     |
  4.480 [13]    |
  5.306 [87]    |∎∎∎∎
  6.132 [747]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  6.958 [561]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  7.784 [422]   |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  8.610 [19]    |∎

Latency distribution:
  10% in 5.0319 secs.
  25% in 5.7209 secs.
  50% in 6.1351 secs.
  75% in 6.8465 secs.
  90% in 7.2817 secs.
  95% in 7.4784 secs.
  99% in 7.7700 secs.
[root@xtraffic]#
[root@xtraffic]# boom -n 2000 -c 20 -cpus 1 -allow-insecure http://test.pep.vn/wordpress/
2000 / 2000 Boooooooooooooooooooooooooo! 100.00 %

Summary:
  Total:        1.3702 secs.
  Slowest:      0.0441 secs.
  Fastest:      0.0091 secs.
  Average:      0.0136 secs.
  Requests/sec: 1459.6483

Status code distribution:
  [404] 2000 responses

Response time histogram:
  0.009 [1]     |
  0.013 [28]    |
  0.016 [1944]  |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.020 [0]     |
  0.023 [14]    |
  0.027 [0]     |
  0.030 [0]     |
  0.034 [0]     |
  0.037 [2]     |
  0.041 [8]     |
  0.044 [3]     |

Latency distribution:
  10% in 0.0130 secs.
  25% in 0.0130 secs.
  50% in 0.0132 secs.
  75% in 0.0140 secs.
  90% in 0.0144 secs.
  95% in 0.0146 secs.
  99% in 0.0216 secs.
Thời gian tải trang trung bình (Summary Average) 5.9351 giây 0.0136 giây Tăng 43640%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 3.3636 truy vấn / giây 1459.6483 truy vấn / giây Tăng 43395%
Thời gian tải trang chậm nhất (Summary Slowest) 8.610 giây 0.044 giây Tăng 19568%
Thời gian tải trang nhanh nhất (Summary Fastest) 0.349 giây 0.009 giây Tăng 3877%
Link đăng ký SSD Cloud VPS vHost : http://vhost.vn/cloud-vps-linux/

Leave a Comment