Đánh giá (Review) VPS giá rẻ nhất của ONEHOST

Để tăng sự lựa chọn dịch vụ cho các bạn, xTraffic.pep.vn sẽ đánh giá chất lượng của của ONEHOST (là nhà cung cấp dịch vụ lưu trữ trực tuyến đến từ Việt Nam)

Đánh giá (Review) VPS giá rẻ nhất của ONEHOST - ONEHOST vps VPS ONEHOST - Hosting

ONEHOST LOGO

Thông số gói VPS giá rẻ nhất mà xTraffic.pep.vn sử dụng để đánh giá trong bài này là :

  • VPS A
  • 512 MB RAM
  • 1 CPU Core Intel® Xeon® Processor E5440
  • 20 GB SAS 15K RPM Raid 1 Storage
  • Unlimited Traffic
  • Datacenter VDC2 (Việt Nam)
  • Địa chỉ IP: 01
  • Cổng trong nước: 100Mbps
  • Cổng quốc tế: 10Mbps
  • Hỗ trợ kỹ thuật: 24/7/365
  • Thời gian khởi tạo: 10 phút
  • Control Panel: DirectAdmin / cPanel (*)
  • Server Dell/HP/IBM
  • Cam kết 99,9% uptime
  • Link đăng ký VPS ONEHOST : http://onehost.vn/may-chu-ao

Kiểm tra tốc độ truy xuất của ổ cứng lưu trữ của VPS ONEHOST bằng lệnh “dd”

[[email protected] ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 108.214 s, 9.9 MB/s
[[email protected] ~]#

Kết quả là 9.9 MB/s

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

Kiểm tra hiệu năng CPU VPS ONEHOST bằng sysbench

Kết quả thực hiện trên VPS giá rẻ nhất của ONEHOST :

[[email protected] ~]# 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:                          30.0695s
    total number of events:              10000
    total time taken by event execution: 30.0640
    per-request statistics:
         min:                                  2.68ms
         avg:                                  3.01ms
         max:                                 21.61ms
         approx.  95 percentile:               3.66ms

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

[[email protected] ~]#

Thời gian xử lý trung bình của 95% sự kiện trên tổng số 10000 sự kiện là 3.66ms

Kiểm tra hiệu năng truy xuất dữ liệu trên ổ cứng của VPS ONEHOST bằng sysbench

[[email protected] ~]# 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...
[[email protected] ~]# 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:  6000 Read, 4000 Write, 12750 Other = 22750 Total
Read 93.75Mb  Written 62.5Mb  Total transferred 156.25Mb  (533.33Kb/sec)
   33.33 Requests/sec executed

Test execution summary:
    total time:                          300.0008s
    total number of events:              10000
    total time taken by event execution: 43.7914
    per-request statistics:
         min:                                  0.01ms
         avg:                                  4.38ms
         max:                               2954.77ms
         approx.  95 percentile:               6.66ms

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

[[email protected] ~]#

Kết quả là “approx. 95 percentile: 6.66ms” & “Total transferred 156.25Mb (533.33Kb/sec)”

Kiểm tra hiệu năng MySQL trên VPS ONEHOST bằng sysbench

[[email protected] ~]# sysbench --test=oltp --oltp-table-size=1000000 --db-driver=mysql --mysql-db=pep_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'...
[[email protected] ~]# sysbench --test=oltp --oltp-table-size=1000000 --db-driver=mysql --mysql-db=pep_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:                            214746
        write:                           0
        other:                           30678
        total:                           245424
    transactions:                        15339  (255.60 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 214746 (3578.45 per sec.)
    other operations:                    30678  (511.21 per sec.)

Test execution summary:
    total time:                          60.0109s
    total number of events:              15339
    total time taken by event execution: 479.7175
    per-request statistics:
         min:                                  3.10ms
         avg:                                 31.27ms
         max:                               1162.06ms
         approx.  95 percentile:              53.70ms

Threads fairness:
    events (avg/stddev):           1917.3750/21.74
    execution time (avg/stddev):   59.9647/0.03

[[email protected] ~]# sysbench --test=oltp --db-driver=mysql --mysql-db=pep_test --mysql-user=root --mysql-password=YOUR_MYSQL_ROOT_PASSWORD cleanup
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Dropping table 'sbtest'...
Done.
[[email protected] ~]#

Kết quả là :

  • transactions: 15339 (255.60 per sec.)
  • read/write requests: 214746 (3578.45 per sec.)
  • other operations: 30678 (511.21 per sec.)
  • approx. 95 percentile: 53.70ms

PHP của VPS ONEHOST bằng “ PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN ”

----------------------------------------------------------------------------------------
|                       PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN                        |
|                                    VERSION 1.0.0                                     |
|        DOWNLOAD HERE : https://bit.ly/php-benchmark-script-by-xtraffic-pep-vn        |
----------------------------------------------------------------------------------------
Start : 2014-10-07 10:46:56
Server : [email protected]
PHP version : 5.3.3
Platform : Linux
----------------------------------------------------------------------------------------
                                   FUNCTIONS TESTED                                   

+ xtraffic_test_math                                                   : 1.69780493 sec.
+ xtraffic_test_stringmanipulation                                     : 1.32164693 sec.
+ xtraffic_test_hashstring                                             : 1.23045397 sec.
+ xtraffic_test_loops                                                  : 1.62706399 sec.
+ xtraffic_test_ifelse                                                 : 2.03557920 sec.
----------------------------------------------------------------------------------------
* Total time                                                           : 7.91254902 sec.

Kiểm tra hiệu năng của VPS ONEHOST bằng 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: pep.vn.pep.vn: GNU/Linux
   OS: GNU/Linux -- 2.6.32-042stab088.4 -- #1 SMP Thu Apr 3 17:41:05 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 (5333.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   10:54:29 up  3:20,  1 user,  load average: 0.21, 0.22, 0.39; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Tue Oct 07 2014 10:54:29 - 11:23:14
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       23863448.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3132.3 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4027.2 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        443254.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           98934.1 KBps  (31.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        357631.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1199561.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 197233.8 lps   (10.0 s, 7 samples)
Process Creation                              10278.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3110.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    418.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        1639160.9 lps   (10.1 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   23863448.6   2044.9
Double-Precision Whetstone                       55.0       3132.3    569.5
Execl Throughput                                 43.0       4027.2    936.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     443254.6   1119.3
File Copy 256 bufsize 500 maxblocks            1655.0      98934.1    597.8
File Copy 4096 bufsize 8000 maxblocks          5800.0     357631.3    616.6
Pipe Throughput                               12440.0    1199561.4    964.3
Pipe-based Context Switching                   4000.0     197233.8    493.1
Process Creation                                126.0      10278.8    815.8
Shell Scripts (1 concurrent)                     42.4       3110.8    733.7
Shell Scripts (8 concurrent)                      6.0        418.3    697.1
System Call Overhead                          15000.0    1639160.9   1092.8
                                                                   ========
System Benchmarks Index Score                                         823.7

[[email protected] UnixBench]#

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

[[email protected] UnixBench]# bash < (wget --no-check-certificate -O - https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/raw/)
--2014-10-07 11:40:42--  https://gist.githubusercontent.com/pep-vn/41a76e38217c0a7ab3ff/raw/
Resolving gist.githubusercontent.com... 192.30.252.157
Connecting to gist.githubusercontent.com|192.30.252.157|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: “STDOUT”

    [ <=>                                                                                                                           ] 4,898       --.-K/s   in 0.004s

2014-10-07 11:40:43 (1.17 MB/s) - written to stdout [4898]

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


_10/07/2014 - VMPLAN - DATACENTER - OS - AUTHOR_
```
CPU model:  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores: 1
CPU frequency:  2666.766 MHz
Total amount of RAM: 512 MB
Total amount of swap: 512 MB
System uptime:   4:06,
I/O speed:  10.7 MB/s
Bzip 25MB: 7.95s
Download 100MB file: 2.63MB/s
```


[[email protected] UnixBench]#

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

[[email protected] UnixBench]# wget https://gist.githubusercontent.com/pep-vn/1a12659c9b0a74dcf4f0/raw/ -O - -o /dev/null|bash
CPU model :  Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Number of cores : 1
CPU frequency :  2666.766 MHz
Total amount of ram : 512 MB
Total amount of swap : 512 MB
System uptime :   4:10,
Download speed from CacheFly: 2.73MB/s
Download speed from Coloat, Atlanta GA: 938KB/s
Download speed from Softlayer, Dallas, TX: 2.30MB/s
Download speed from Linode, Tokyo, JP: 2.41MB/s
Download speed from i3d.net, Rotterdam, NL: 2.13MB/s
Download speed from Leaseweb, Haarlem, NL: 1.98MB/s
Download speed from Softlayer, Singapore: 2.58MB/s
Download speed from Softlayer, Seattle, WA: 2.56MB/s
Download speed from Softlayer, San Jose, CA: 2.51MB/s
Download speed from Softlayer, Washington, DC: 1.93MB/s
I/O speed :  9.3 MB/s
[[email protected] UnixBench]#

Link đăng ký VPS ONEHOST : http://onehost.vn/may-chu-ao