Đánh giá chất lượng VPS BudgetVM

BudgetVM là nhà cung cấp dịch vụ VPS và Server giá rẻ của Mỹ (USA). Chi phí (giá) dịch vụ của BudgetVM có thể nói là rất tốt (đặc biệt là gói Dedicated Servers) nếu so sánh với các nhà cung cấp dịch vụ lưu trữ website khác. Để các bạn có cơ sở lựa chọn và so sánh chất lượng của VPS BudgetVM, xTraffic.pep.vn sẽ đánh giá chất lượng gói dịch vụ VPS giá rẻ của BudgetVM.

Đánh giá chất lượng VPS BudgetVM - BudgetVM đánh giá chất lượng vps VPS BudgetVM VPS giá rẻ - Hosting Phát triển website
BudgetVM Logo

Thông tin gói dịch vụ VPS giá rẻ của BudgetVM

  • Tên gói : XEN SSD CACHED VPS Servers
  • 1024MB RAM
  • 50GB SSD Storage
  • 1 CPU
    Bandwidth : 3TB (3072 GB)
  • Port Speed : 1Gbps
  • DDOS Protected
  • Price : $4.99/month (104.000 VNĐ/1 tháng)
  • Link chi tiết : https://www.budgetvm.com/

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

[root@BudgetVM ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 62
Stepping:              4
CPU MHz:               2100.072
BogoMIPS:              4200.14
Hypervisor vendor:     Xen
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              15360K
NUMA node0 CPU(s):     0
[root@BudgetVM ~]#
[root@BudgetVM ~]# lshw -short
H/W path  Device  Class      Description
========================================
                  system     Computer
/0                bus        Motherboard
/0/0              memory     991MiB System memory
/0/1              processor  Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
/1        eth0    network    Ethernet interface
[root@BudgetVM ~]#
[root@BudgetVM ~]# lsblk
NAME  MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda1 202:1    0  50G  0 disk /
xvda2 202:2    0   1G  0 disk [SWAP]
[root@BudgetVM ~]#

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

[root@BudgetVM ~]# 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, 7.85478 s, 137 MB/s
[root@BudgetVM ~]#

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

[root@BudgetVM ~]# 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:                          42.9005s
    total number of events:              10000
    total time taken by event execution: 42.8470
    per-request statistics:
         min:                                  4.22ms
         avg:                                  4.28ms
         max:                                  7.76ms
         approx.  95 percentile:               4.31ms

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

[root@BudgetVM ~]#

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

[root@BudgetVM ~]# sysbench --test=fileio --file-total-size=5G prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark

128 files, 40960Kb each, 5120Mb total
Creating files for the test...
[root@BudgetVM ~]# 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:  57790 Read, 38526 Write, 123264 Other = 219580 Total
Read 902.97Mb  Written 601.97Mb  Total transferred 1.4697Gb  (5.0163Mb/sec)
  321.04 Requests/sec executed

Test execution summary:
    total time:                          300.0082s
    total number of events:              96316
    total time taken by event execution: 292.7178
    per-request statistics:
         min:                                  0.01ms
         avg:                                  3.04ms
         max:                                170.40ms
         approx.  95 percentile:               9.80ms

Threads fairness:
    events (avg/stddev):           96316.0000/0.00
    execution time (avg/stddev):   292.7178/0.00

[root@BudgetVM ~]#

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

[root@BudgetVM ~]# sysbench --test=oltp --oltp-table-size=1000000 --db-driver=mysql --mysql-db=pep_test --mysql-user=root --mysql-password=root123456 --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:                            138446
        write:                           0
        other:                           19778
        total:                           158224
    transactions:                        9889   (164.76 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 138446 (2306.68 per sec.)
    other operations:                    19778  (329.53 per sec.)

Test execution summary:
    total time:                          60.0195s
    total number of events:              9889
    total time taken by event execution: 479.9082
    per-request statistics:
         min:                                 21.87ms
         avg:                                 48.53ms
         max:                                 87.91ms
         approx.  95 percentile:              53.13ms

Threads fairness:
    events (avg/stddev):           1236.1250/25.16
    execution time (avg/stddev):   59.9885/0.01

[root@BudgetVM ~]#

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

[root@BudgetVM UnixBench]# ./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 -- 3.10.56-11.el6.centos.alt.x86_64 -- #1 SMP Thu Oct 9 14:57:0                                                                                        1 CDT 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz (4200.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,                                                                                         SYSCALL/SYSRET
   23:29:12 up 37 min,  2 users,  load average: 0.79, 1.08, 0.70; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Wed Dec 17 2014 23:29:12 - 23:57:07
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       15488419.9 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2322.3 MWIPS (10.0 s, 7 samples)
Execl Throughput                                545.6 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         58815.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           14984.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        192946.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                              123916.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  15042.0 lps   (10.0 s, 7 samples)
Process Creation                               1182.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                    743.0 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                     98.5 lpm   (60.3 s, 2 samples)
System Call Overhead                         166985.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   15488419.9   1327.2
Double-Precision Whetstone                       55.0       2322.3    422.2
Execl Throughput                                 43.0        545.6    126.9
File Copy 1024 bufsize 2000 maxblocks          3960.0      58815.4    148.5
File Copy 256 bufsize 500 maxblocks            1655.0      14984.0     90.5
File Copy 4096 bufsize 8000 maxblocks          5800.0     192946.5    332.7
Pipe Throughput                               12440.0     123916.5     99.6
Pipe-based Context Switching                   4000.0      15042.0     37.6
Process Creation                                126.0       1182.5     93.8
Shell Scripts (1 concurrent)                     42.4        743.0    175.2
Shell Scripts (8 concurrent)                      6.0         98.5    164.1
System Call Overhead                          15000.0     166985.5    111.3
                                                                   ========
System Benchmarks Index Score                                         163.2

[root@BudgetVM UnixBench]#

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

[root@BudgetVM ~]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/raw/)
--2014-12-18 00:37:56--  https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/raw/
Resolving gist.githubusercontent.com... 23.235.47.133
Connecting to gist.githubusercontent.com|23.235.47.133|:443... connected.
WARNING: certificate common name `www.github.com' doesn't match requested host name `gist.githubusercontent.com'.
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-18 00:37:56 (43.7 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/18/2014 - VMPLAN - DATACENTER - OS - AUTHOR_
```
CPU model:  Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Number of cores: 1
CPU frequency:  2100.072 MHz
Total amount of RAM: 991 MB
Total amount of swap: 1023 MB
System uptime:   1 min,
I/O speed:  129 MB/s
Bzip 25MB: 8.15s
Download 100MB file: 16.2MB/s
```


[root@BudgetVM ~]#

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

[root@BudgetVM ~]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/)
--2014-12-18 00:51:06--  https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/
Resolving gist.githubusercontent.com... 199.27.79.133
Connecting to gist.githubusercontent.com|199.27.79.133|:443... connected.
WARNING: certificate common name `www.github.com' doesn't match requested host name `gist.githubusercontent.com'.
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-18 00:51:06 (35.8 MB/s) - written to stdout [3197/3197]

CPU model :  Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
Number of cores : 1
CPU frequency :  2100.072 MHz
Total amount of ram : 991 MB
Total amount of swap : 1023 MB
System uptime :   16 min,
Download speed from CacheFly: 16.5MB/s
Download speed from Coloat, Atlanta GA: 7.17MB/s
Download speed from Softlayer, Dallas, TX: 15.7MB/s
Download speed from Linode, Tokyo, JP: 7.38MB/s
Download speed from i3d.net, Rotterdam, NL: 4.06MB/s
Download speed from Leaseweb, Haarlem, NL: 16.6MB/s
Download speed from Softlayer, Singapore: 3.98MB/s
Download speed from Softlayer, Seattle, WA: 16.7MB/s
Download speed from Softlayer, San Jose, CA: 17.0MB/s
Download speed from Softlayer, Washington, DC: 11.9MB/s
I/O speed :  139 MB/s
[root@BudgetVM ~]#

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

[root@BudgetVM ~]# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Enzu (23.88.236.66)...
Selecting best server based on latency...
Hosted by Race Communications (Los Angeles, CA) [1.97 km]: 12.344 ms
Testing download speed........................................
Download: 509.01 Mbits/s
Testing upload speed..................................................
Upload: 67.41 Mbits/s
[root@BudgetVM ~]#

Kiểm tra chất lượng toàn diện của VPS BudgetVM 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-19 00:06:48
Server      : _@_
PHP version : 5.3.3
Platform    : Linux
Test level  : 1
--------------------------------------------------------------------------------------------------------------
                                                 CPU TESTED                                                 

+ xtraffic_testcpu_math                                                                 : 1.65018082 seconds.
+ xtraffic_testcpu_stringmanipulation                                                   : 0.60099792 seconds.
+ xtraffic_testcpu_hashstring                                                           : 0.22706699 seconds.
+ xtraffic_testcpu_gzipstring                                                           : 0.44285798 seconds.
+ xtraffic_testcpu_loops                                                                : 0.24714112 seconds.
+ xtraffic_testcpu_ifelse                                                               : 0.29737020 seconds.
+ xtraffic_testcpu_synthetic                                                            : 0.24328184 seconds.
----------------------------
* Total time                                                                            : 3.70889687 seconds.

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

+ TEST WRITE     :                                                                   
      File Size  : 20 MB                                                             
      Time       : 0.15150871276855 seconds                                          
      Speed      : 132.01 MB/s                                                       
+ TEST READ     :                                                                    
      File Size  : 20 MB                                                             
      Time       : 0.024893808364868 seconds                                         
      Speed      : 843.58 MB/s                                                       
----------------------------
* Total time                                                                            : 0.17640252 seconds.

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

+ DB CONNECTION TIME                    : 0.00345302 seconds                         
+ TEST INSERT TO DB    "10,000 RECORDS" : 8.26385593 seconds                         
+ TEST SELECT (1) WITH "10,000 RECORDS" : 4.42500544 seconds                         
+ TEST SELECT (2) WITH "10,000 RECORDS" : 4.37869048 seconds                         
+ TEST SELECT (3) WITH "10,000 RECORDS" : 4.40457320 seconds                         
+ TEST UPDATE     WITH "10,000 RECORDS" : 1.76759696 seconds                         
+ TEST DELETE     WITH "10,000 RECORDS" : 1.26147699 seconds                         
----------------------------
* Total time                                                                            : 24.50465202 seconds.

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

+ Test download speed from "cachefly.cachefly.net"                                   
      [Location : CDN]                                                               
      Size : 100 MB                                                                  
      Download Time : 3.049315 sec                                                   
      Speed : 32.79 MB/s                                                             

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

+ Test download speed from "centos-hcm.viettelidc.com.vn"                            
      [Location : Ho Chi Minh, Vietnam]                                              
      Size : 1013 KB                                                                 
      Download Time : 4.803319 sec                                                   
      Speed : 211 KB/s                                                               

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

+ Test download speed from "mirror.nhanhoa.com"                                      
      [Location : Vietnam]                                                           
      Size : 665 KB                                                                  
      Download Time : 4.410896 sec                                                   
      Speed : 151 KB/s                                                               

+ Test download speed from "dl.google.com"                                           
      [Location : Google]                                                            
      Size : 16.58 MB                                                                
      Download Time : -0.107798 sec                                                  
      Speed : 7.76 MB/s                                                              

+ Test download speed from "download.microsoft.com"                                  
      [Location : Microsoft]                                                         
      Size : 66.84 MB                                                                
      Download Time : -0.541369 sec                                                  
      Speed : 20.3 MB/s                                                              

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

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

+ Test download speed from "ftp.funet.fi"                                            
      [Location : Finland]                                                           
      Size : 559 KB                                                                  
      Download Time : 2.038962 sec                                                   
      Speed : 274 KB/s                                                               

+ Test download speed from "ftp.belnet.be"                                           
      [Location : Belgium]                                                           
      Size : 9.83 MB                                                                 
      Download Time : 2.340006 sec                                                   
      Speed : 4.2 MB/s                                                               

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

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

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


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

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

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

Mặc định thì xTraffic.pep.vn sẽ 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:                     93 hits
Availability:                 100.00 %
Elapsed time:                  59.60 secs
Data transferred:               0.23 MB
Response time:                 10.58 secs
Transaction rate:               1.56 trans/sec
Throughput:                     0.00 MB/sec
Concurrency:                   16.51
Successful transactions:          93
Failed transactions:               0
Longest transaction:           16.56
Shortest transaction:           5.91
[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:                   1796 hits
Availability:                 100.00 %
Elapsed time:                  59.10 secs
Data transferred:               4.90 MB
Response time:                  0.14 secs
Transaction rate:              30.39 trans/sec
Throughput:                     0.08 MB/sec
Concurrency:                    4.39
Successful transactions:        1796
Failed transactions:               0
Longest transaction:            1.14
Shortest transaction:           0.14
Thời gian tải trang trung bình (Response time) 10.58 secs 0.14 secs Tăng 7557%
Đáp ứng được số truy vấn trong 1 giây (Transaction rate) 1.56 trans/sec 30.39 trans/sec Tăng 1948%
Số truy vấn thành công (Successful transactions) 93 truy vấn 1796 truy vấn Tăng 1931%
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) 16.56 giây 1.14 giây Tăng 1452%
Thời gian tải trang thấp nhất (Shortest transaction) 5.91 giây 0.14 giây Tăng 4221%

Kiểm tra khả năng chịu tải WordPress trên VPS BudgetVM 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 101 requests


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

Document Path:          /wordpress/
Document Length:        7750 bytes

Concurrency Level:      20
Time taken for tests:   64.886 seconds
Complete requests:      101
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      806889 bytes
HTML transferred:       782750 bytes
Requests per second:    1.56 [#/sec] (mean)
Time per request:       12848.763 [ms] (mean)
Time per request:       642.438 [ms] (mean, across all concurrent requests)
Transfer rate:          12.14 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   1.0      0       4
Processing: 10427 11037 569.9  10815   13084
Waiting:    10427 11037 569.9  10815   13084
Total:      10427 11038 570.8  10816   13088

Percentage of the requests served within a certain time (ms)
  50%  10813
  66%  11085
  75%  11174
  80%  11235
  90%  12291
  95%  12469
  98%  12655
  99%  12796
 100%  13088 (longest request)

[root@xtraffic ~]# ab -c 20 -k -r -t 60 -v 3 http://test.pep.vn/wordpress/
Finished 1543 requests


Server Software:        WP
Server Hostname:        23.88.236.66
Server Port:            80

Document Path:          /wordpress/
Document Length:        8351 bytes

Concurrency Level:      20
Time taken for tests:   60.579 seconds
Complete requests:      1543
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      13625632 bytes
HTML transferred:       13018792 bytes
Requests per second:    25.47 [#/sec] (mean)
Time per request:       785.209 [ms] (mean)
Time per request:       39.260 [ms] (mean, across all concurrent requests)
Transfer rate:          219.65 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       67  195 323.5     73    1937
Processing:    93  576 262.8    520    2089
Waiting:       92  559 232.6    519    1922
Total:        163  771 400.6    598    2468

Percentage of the requests served within a certain time (ms)
  50%    598
  66%    619
  75%    713
  80%   1175
  90%   1440
  95%   1702
  98%   1908
  99%   2078
 100%   2468 (longest request)
Thời gian tải trang trung bình (Time per request) 3.343188 giây 0.785209 giây Tăng 425%
Đáp ứng được số truy vấn trong 1 giây (Requests per second) 5.98 truy vấn / giây 25.47 truy vấn / giây Tăng 425%
Số truy vấn thành công (Complete requests) 359 truy vấn 1543 truy vấn Tăng 429%
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 13.088 giây 2.468 giây Tăng 530%
Thời gian tải trang thấp nhất 10.427 giây 0.163 giây Tăng 6396%

Kiểm tra khả năng chịu tải WordPress trên VPS BudgetVM 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://test.pep.vn/wordpress/
Running 1m test @ http://test.pep.vn/wordpress/
  10 threads and 20 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    10.68s   333.40ms  11.43s    60.00%
    Req/Sec     0.00      0.00     0.00    100.00%
  100 requests in 1.00m, 784.67KB read
  Socket errors: connect 0, read 0, write 0, timeout 480
Requests/sec:      1.67
Transfer/sec:     13.07KB
[root@xtraffic ~]# wrk -t10 -c20 -d60s http://test.pep.vn/wordpress/
Running 1m test @ http://test.pep.vn/wordpress/
  10 threads and 20 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   101.42ms   36.07ms 413.30ms   61.18%
    Req/Sec    19.61      3.72    42.00     69.89%
  12063 requests in 1.00m, 100.10MB read
Requests/sec:    201.03
Transfer/sec:      1.67MB
[root@xtraffic ~]#
Thời gian tải trang trung bình (Latency) 10.68 giây 0.10142 giây Tăng 10530%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 1.67 truy vấn / giây 201.03 truy vấn / giây Tăng 12037%
Thời gian tải trang lâu nhất (Max Latency) 11.43 giây 0.4133 giây Tăng 2765%

Kiểm tra khả năng chịu tải WordPress trên VPS BudgetVM 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:        1063.4881 secs.
  Slowest:      11.7529 secs.
  Fastest:      2.5953 secs.
  Average:      10.6191 secs.
  Requests/sec: 1.8806

Status code distribution:
  [200] 2000 responses

Response time histogram:
  2.595 [1]     |
  3.511 [2]     |
  4.427 [0]     |
  5.343 [0]     |
  6.258 [0]     |
  7.174 [1]     |
  8.090 [0]     |
  9.006 [4]     |
  9.921 [122]   |∎∎∎
  10.837 [1422] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  11.753 [448]  |∎∎∎∎∎∎∎∎∎∎∎∎

Latency distribution:
  10% in 10.3177 secs.
  25% in 10.5370 secs.
  50% in 10.6742 secs.
  75% in 10.8213 secs.
  90% in 11.0026 secs.
  95% in 11.1149 secs.
  99% in 11.5009 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:        58.7606 secs.
  Slowest:      1.1899 secs.
  Fastest:      0.1574 secs.
  Average:      0.5856 secs.
  Requests/sec: 34.0364

Status code distribution:
  [200] 2000 responses

Response time histogram:
  0.157 [1]     |
  0.261 [43]    |∎
  0.364 [19]    |
  0.467 [35]    |
  0.570 [261]   |∎∎∎∎∎∎
  0.674 [1639]  |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.777 [0]     |
  0.880 [0]     |
  0.983 [0]     |
  1.087 [0]     |
  1.190 [2]     |

Latency distribution:
  10% in 0.5358 secs.
  25% in 0.5832 secs.
  50% in 0.6040 secs.
  75% in 0.6197 secs.
  90% in 0.6316 secs.
  95% in 0.6392 secs.
  99% in 0.6522 secs.
Thời gian tải trang trung bình (Summary Average) 10.6191 giây 0.5856 giây Tăng 1813%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 1.8806 truy vấn / giây 34.0364 truy vấn / giây Tăng 1809%
Thời gian tải trang chậm nhất (Summary Slowest) 11.7529 giây 1.1899 giây Tăng 987%
Thời gian tải trang nhanh nhất (Summary Fastest) 2.5953 giây 0.1574 giây Tăng 1648%
Link đăng ký VPS BudgetVM : https://budgetvm.com/

Leave a Comment