.706..."/>

Đánh giá chất lượng gói N1-STANDARD-16 Google Compute Engine – Google Cloud Computing

Thông số gói Compute Engine N1-STANDARD-16 của Google

  • Instance type : n1-standard-16
  • Virtual Cores : 16
  • Memory : 60GB
  • GCEU : 44
  • Price (per hour) : $0.706 -> $1.008
  • Link chi tiết : https://cloud.google.com/pricing/
Đánh giá chất lượng gói N1-STANDARD-16 Google Compute Engine - Google Cloud Computing - Google Cloud Computing Google Compute Engine - Hosting Phát triển website
Google Cloud Platform

Kiểm tra thông số phần cứng của gói Compute Engine N1-STANDARD-16

[root@n1-standard-16 ~]# sudo lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    2
Core(s) per socket:    8
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               2599.998
BogoMIPS:              5199.99
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-15
[root@n1-standard-16 ~]#

Kiểm tra tốc độ ổ cứng lưu trữ của gói Compute Engine N1-STANDARD-16 bằng dd

[root@n1-standard-16 ~]# 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, 12.9678 s, 82.8 MB/s
[root@n1-standard-16 ~]#

Kiểm tra tốc độ CPU của gói Compute Engine N1-STANDARD-16 bằng sysbench

[root@n1-standard-16 ~]# 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:                          26.3323s
    total number of events:              10000
    total time taken by event execution: 26.3287
    per-request statistics:
         min:                                  2.57ms
         avg:                                  2.63ms
         max:                                  3.31ms
         approx.  95 percentile:               2.89ms

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

[root@n1-standard-16 ~]#

Kiểm tra tốc độ ổ cứng lưu trữ của gói Compute Engine N1-STANDARD-16 bằng sysbench

[root@n1-standard-16 ~]# 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:  549780 Read, 366520 Write, 1172752 Other = 2089052 Total
Read 8.389Gb  Written 5.5927Gb  Total transferred 13.982Gb  (47.724Mb/sec)
 3054.32 Requests/sec executed

Test execution summary:
    total time:                          300.0016s
    total number of events:              916300
    total time taken by event execution: 6.5934
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.01ms
         max:                                  6.22ms
         approx.  95 percentile:               0.01ms

Threads fairness:
    events (avg/stddev):           916300.0000/0.00
    execution time (avg/stddev):   6.5934/0.00

[root@n1-standard-16 ~]#

Kiểm tra hiệu năng MySQL của gói Compute Engine N1-STANDARD-16 bằng sysbench

[root@n1-standard-16 ~]# 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:                            1452598
        write:                           0
        other:                           207514
        total:                           1660112
    transactions:                        103757 (1729.22 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 1452598 (24209.10 per sec.)
    other operations:                    207514 (3458.44 per sec.)

Test execution summary:
    total time:                          60.0022s
    total number of events:              103757
    total time taken by event execution: 479.5191
    per-request statistics:
         min:                                  1.75ms
         avg:                                  4.62ms
         max:                                592.17ms
         approx.  95 percentile:               6.62ms

Threads fairness:
    events (avg/stddev):           12969.6250/114.93
    execution time (avg/stddev):   59.9399/0.00

[root@n1-standard-16 ~]#

Kiểm tra tốc độ toàn diện của gói Compute Engine N1-STANDARD-16 bằng UnixBench

[root@n1-standard-16 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

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

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

16 x Execl Throughput  1 2 3

16 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

16 x File Copy 256 bufsize 500 maxblocks  1 2 3

16 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

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

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

16 x Process Creation  1 2 3

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

16 x Shell Scripts (1 concurrent)  1 2 3

16 x Shell Scripts (8 concurrent)  1 2 3

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

   System: n1-standard-16: GNU/Linux
   OS: GNU/Linux -- 2.6.32-504.3.3.el6.x86_64 -- #1 SMP Wed Dec 17 01:55:02 UTC 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 2: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 3: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 4: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 5: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 6: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 7: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 8: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 9: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 10: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 11: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 12: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 13: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 14: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 15: Intel(R) Xeon(R) CPU @ 2.60GHz (5200.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   03:44:50 up  1:00,  1 user,  load average: 0.00, 0.03, 0.21; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Jan 23 2015 03:44:50 - 04:12:56
16 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       38282586.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4063.2 MWIPS (10.0 s, 7 samples)
Execl Throughput                               2835.9 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        754784.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          201834.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2048516.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1635907.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  25455.4 lps   (10.0 s, 7 samples)
Process Creation                               6483.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5905.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2893.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        2632254.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   38282586.8   3280.4
Double-Precision Whetstone                       55.0       4063.2    738.8
Execl Throughput                                 43.0       2835.9    659.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     754784.3   1906.0
File Copy 256 bufsize 500 maxblocks            1655.0     201834.1   1219.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    2048516.9   3531.9
Pipe Throughput                               12440.0    1635907.4   1315.0
Pipe-based Context Switching                   4000.0      25455.4     63.6
Process Creation                                126.0       6483.0    514.5
Shell Scripts (1 concurrent)                     42.4       5905.3   1392.8
Shell Scripts (8 concurrent)                      6.0       2893.4   4822.3
System Call Overhead                          15000.0    2632254.7   1754.8
                                                                   ========
System Benchmarks Index Score                                        1171.2

------------------------------------------------------------------------
Benchmark Run: Fri Jan 23 2015 04:12:56 - 04:41:14
16 CPUs in system; running 16 parallel copies of tests

Dhrystone 2 using register variables      290516805.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    51620.1 MWIPS (9.8 s, 7 samples)
Execl Throughput                              27335.0 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        397864.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          101052.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1552875.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                            11236116.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                1469606.4 lps   (10.0 s, 7 samples)
Process Creation                              54905.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  45671.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   6378.4 lpm   (60.1 s, 2 samples)
System Call Overhead                        5412223.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  290516805.3  24894.3
Double-Precision Whetstone                       55.0      51620.1   9385.5
Execl Throughput                                 43.0      27335.0   6357.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     397864.6   1004.7
File Copy 256 bufsize 500 maxblocks            1655.0     101052.5    610.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    1552875.3   2677.4
Pipe Throughput                               12440.0   11236116.7   9032.2
Pipe-based Context Switching                   4000.0    1469606.4   3674.0
Process Creation                                126.0      54905.0   4357.5
Shell Scripts (1 concurrent)                     42.4      45671.8  10771.6
Shell Scripts (8 concurrent)                      6.0       6378.4  10630.6
System Call Overhead                          15000.0    5412223.0   3608.1
                                                                   ========
System Benchmarks Index Score                                        4789.6

[root@n1-standard-16 UnixBench]#

Kiểm tra hiệu năng của gói Compute Engine N1-STANDARD-16 bằng vpsbench

[root@n1-standard-16 ]# 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


_01/23/2015 - VMPLAN - DATACENTER - OS - AUTHOR_
```
CPU model:  Intel(R) Xeon(R) CPU @ 2.60GHz
Number of cores: 16
CPU frequency:  2599.998 MHz
Total amount of RAM: 60388 MB
Total amount of swap: 0 MB
System uptime:   2:42,
I/O speed:  86.6 MB/s
Bzip 25MB: 4.20s
Download 100MB file: 85.6MB/s
```


[root@n1-standard-16 ]#

Kiểm tra hiệu năng của gói Compute Engine N1-STANDARD-16 bằng freevps bench

[root@n1-standard-16 ~]# sudo bash freevpsbench.sh
CPU model :  Intel(R) Xeon(R) CPU @ 2.60GHz
Number of cores : 16
CPU frequency :  2599.998 MHz
Total amount of ram : 60388 MB
Total amount of swap : 0 MB
System uptime :   2:44,
Download speed from CacheFly: 95.9MB/s
Download speed from Coloat, Atlanta GA: 14.2MB/s
Download speed from Softlayer, Dallas, TX: 69.9MB/s
Download speed from Linode, Tokyo, JP: 13.7MB/s
Download speed from i3d.net, Rotterdam, NL: 7.94MB/s
Download speed from Leaseweb, Haarlem, NL: 18.7MB/s
Download speed from Softlayer, Singapore: 9.28MB/s
Download speed from Softlayer, Seattle, WA: 26.8MB/s
Download speed from Softlayer, San Jose, CA: 49.0MB/s
Download speed from Softlayer, Washington, DC: 43.7MB/s
I/O speed :  90.3 MB/s
[root@n1-standard-16 ~]#

Kiểm tra chất lượng toàn diện của gói Compute Engine N1-STANDARD-16 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-01-23 12:39:22
Server      : test.pep.vn@_
PHP version : 5.3.3
Platform    : Linux
Test level  : 1
--------------------------------------------------------------------------------------------------------------
                                                 CPU TESTED                                                 

+ xtraffic_testcpu_math                                                                 : 0.19893599 seconds.
+ xtraffic_testcpu_stringmanipulation                                                   : 0.37247801 seconds.
+ xtraffic_testcpu_hashstring                                                           : 0.12277913 seconds.
+ xtraffic_testcpu_gzipstring                                                           : 0.25122499 seconds.
+ xtraffic_testcpu_loops                                                                : 0.12438107 seconds.
+ xtraffic_testcpu_ifelse                                                               : 0.15510011 seconds.
+ xtraffic_testcpu_synthetic                                                            : 0.12705588 seconds.
----------------------------
* Total time                                                                            : 1.35195518 seconds.

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

+ TEST WRITE     :                                                                   
      File Size  : 20 MB                                                             
      Time       : 0.014670944213867 seconds                                         
      Speed      : 1.33 GB/s                                                         
+ TEST READ     :                                                                    
      File Size  : 20 MB                                                             
      Time       : 0.0048871517181396 seconds                                        
      Speed      : 4.2 GB/s                                                          
----------------------------
* Total time                                                                            : 0.01955810 seconds.

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

+ DB CONNECTION TIME                    : 0.00317597 seconds                         
+ TEST INSERT TO DB    "10,000 RECORDS" : 1.95922399 seconds                         
+ TEST SELECT (1) WITH "10,000 RECORDS" : 0.75456285 seconds                         
+ TEST SELECT (2) WITH "10,000 RECORDS" : 0.72823548 seconds                         
+ TEST SELECT (3) WITH "10,000 RECORDS" : 0.74990296 seconds                         
+ TEST UPDATE     WITH "10,000 RECORDS" : 0.15235925 seconds                         
+ TEST DELETE     WITH "10,000 RECORDS" : 0.28428698 seconds                         
----------------------------
* Total time                                                                            : 4.63174748 seconds.

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

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

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

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

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

+ Test download speed from "mirror.nhanhoa.com"                                      
      [Location : Vietnam]                                                           
      Size : 1 KB                                                                    
      Download Time : -0.395866 sec                                                  
      Speed : 1 KB/s                                                                 

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

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

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

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

+ Test download speed from "ftp.funet.fi"                                            
      [Location : Finland]                                                           
      Size : 7 KB                                                                    
      Download Time : -0.144134 sec                                                  
      Speed : 11 KB/s                                                                

+ Test download speed from "ftp.belnet.be"                                           
      [Location : Belgium]                                                           
      Size : 1 KB                                                                    
      Download Time : -0.003528 sec                                                  
      Speed : 1 KB/s                                                                 

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

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

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

Kiểm tra khả năng chịu tải WordPress trên gói Compute Engine N1-STANDARD-16

Kiểm tra khả năng chịu tải WordPress trên gói Compute Engine N1-STANDARD-16 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:                   1850 hits
Availability:                 100.00 %
Elapsed time:                  59.80 secs
Data transferred:               4.51 MB
Response time:                  0.13 secs
Transaction rate:              30.94 trans/sec
Throughput:                     0.08 MB/sec
Concurrency:                    4.05
Successful transactions:        1850
Failed transactions:               0
Longest transaction:            0.38
Shortest transaction:           0.11

FILE: /root/siege.log
You can disable this annoying message by editing
the .siegerc file in your home directory; change
the directive 'show-logfile' to false.
[root@xtraffic ~]# siege -c20 -t60s http://wordpress-test.pep.vn/
Lifting the server siege...      done.

Transactions:                   2391 hits
Availability:                 100.00 %
Elapsed time:                  59.23 secs
Data transferred:               6.57 MB
Response time:                  0.00 secs
Transaction rate:              40.37 trans/sec
Throughput:                     0.11 MB/sec
Concurrency:                    0.04
Successful transactions:        2391
Failed transactions:               0
Longest transaction:            0.01
Shortest transaction:           0.00

FILE: /root/siege.log
You can disable this annoying message by editing
the .siegerc file in your home directory; change
the directive 'show-logfile' to false.
Thời gian tải trang trung bình (Response time) 0.13 secs 0.00 secs Tăng ?
Đáp ứng được số truy vấn trong 1 giây (Transaction rate) 30.94 trans/sec 40.37 trans/sec Tăng 130%
Số truy vấn thành công (Successful transactions) 1850 truy vấn 2391 truy vấn Tăng 129%
Số truy vấn thất bại (Failed transactions) 0 truy vấn 0 truy vấn Tăng ?
Thời gian tải trang lâu nhất (Longest transaction) 0.38 giây 0.01 giây Tăng 3800%
Thời gian tải trang thấp nhất (Shortest transaction) 0.11 giây 0.00 giây Tăng ?%

Kiểm tra khả năng chịu tải WordPress trên gói Compute Engine N1-STANDARD-16 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 4577 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.011 seconds
Complete requests:      4577
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      37000468 bytes
HTML transferred:       35911142 bytes
Requests per second:    76.27 [#/sec] (mean)
Time per request:       262.228 [ms] (mean)
Time per request:       13.111 [ms] (mean, across all concurrent requests)
Transfer rate:          602.11 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       28   33  12.8     31     352
Processing:   161  228  44.1    222    1024
Waiting:      161  227  32.8    222     788
Total:        190  262  46.5    255    1061

Percentage of the requests served within a certain time (ms)
  50%    255
  66%    260
  75%    265
  80%    268
  90%    280
  95%    300
  98%    342
  99%    390
 100%   1061 (longest request)
[root@xtraffic ~]# ab -c 20 -k -r -t 60 -v 3 http://wordpress-test.pep.vn/
Finished 17379 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.180 seconds
Complete requests:      17379
Failed requests:        84
   (Connect: 0, Receive: 0, Length: 84, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    17295
Total transferred:      152343036 bytes
HTML transferred:       146405097 bytes
Requests per second:    288.78 [#/sec] (mean)
Time per request:       69.256 [ms] (mean)
Time per request:       3.463 [ms] (mean, across all concurrent requests)
Transfer rate:          2472.11 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   9.4      0     551
Processing:     0   68 122.5     32     970
Waiting:        0   65 116.2     31     970
Total:          0   68 122.8     32     973

Percentage of the requests served within a certain time (ms)
  50%     32
  66%     33
  75%     34
  80%     35
  90%     88
  95%    385
  98%    539
  99%    616
 100%    973 (longest request)
Thời gian tải trang trung bình (Time per request) 0.262228 giây 0.069256 giây Tăng 379%
Đáp ứng được số truy vấn trong 1 giây (Requests per second) 76.27 truy vấn / giây 288.78 truy vấn / giây Tăng 379%
Số truy vấn thành công (Complete requests) 4577 truy vấn 17379 truy vấn Tăng 380%
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.061 giây 0.973 giây Tăng 109%
Thời gian tải trang thấp nhất 0.255 giây 0.032 giây Tăng 797%

Kiểm tra khả năng chịu tải WordPress trên gói Compute Engine N1-STANDARD-16 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   244.99ms   19.77ms 341.02ms   72.88%
    Req/Sec     7.79      1.15    11.00     55.62%
  4900 requests in 1.00m, 37.99MB read
Requests/sec:     81.65
Transfer/sec:    648.29KB
[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    31.67ms    5.68ms 127.19ms   98.43%
    Req/Sec    63.25      9.71    89.00     65.83%
  37815 requests in 1.00m, 317.36MB read
Requests/sec:    630.21
Transfer/sec:      5.29MB
Thời gian tải trang trung bình (Latency) 0.24499 giây 0.03167 giây Tăng 774%
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) 81.65 truy vấn / giây 630.21 truy vấn / giây Tăng 772%
Thời gian tải trang lâu nhất (Max Latency) 0.34102 giây 0.12719 giây Tăng 268%
Tốc độ chuyển dữ liệu trong 1 giây(Transfer/sec) 648.29 KB/s 5.29 MB/s Tăng 836%
Link đăng ký gói Compute Engine N1-STANDARD-16 : https://cloud.google.com/pricing/

Leave a Comment