VULTR là một trong những nhà cung cấp VPS giá rẻ chất lượng cao tại USA (Mỹ), họ vừa cung cấp gói sản phẩm VPS cực rẻ nhằm thúc đẩy kế hoạch chiếm lĩnh thị phần của họ. xTraffic.pep.vn đã đăng ký và dùng thử gói VPS giá rẻ nhất chỉ 3.5USD/tháng (tính đến thời diểm viết bài này) của VULTR để các bạn có cơ sở so sánh và lựa chọn giữa các nhà cung cấp VPS giá rẻ khác.
Chi tiết gói VPS giá cực rẻ được đánh giá chất lượng
- RAM : 512 MB
- CPU : 1 CPU
- Storage : 10 GB SSD
- Bandwidth : 750 GB
- Price : 3.5 USD/month (tương đương 73000 VNĐ/tháng)
- Link đăng ký : https://www.vultr.com/register/
Kiểm tra thông số phần cứng của VPS
[root@vultr ~]# sudo 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: 60 Stepping: 1 CPU MHz: 2399.996 BogoMIPS: 4799.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 4096K NUMA node0 CPU(s): 0 [root@vultr ~]# sudo lshw -short H/W path Device Class Description ==================================================== system Standard PC (i440FX + PIIX, 1996) /0 bus Motherboard /0/0 memory 96KiB BIOS /0/400 processor Vultr Virtual CPU 2 /0/1000 memory 538MiB System Memory /0/1000/0 memory 538MiB DIMM RAM /0/100 bridge 440FX - 82441FX PMC [Natoma] /0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II] /0/100/1.1 scsi1 storage 82371SB PIIX3 IDE [Natoma/Triton II] /0/100/1.1/0.0.0 /dev/cdrom disk DVD reader /0/100/1.2 bus 82371SB PIIX3 USB [Natoma/Triton II] /0/100/1.2/1 usb1 bus UHCI Host Controller /0/100/1.2/1/1 input QEMU USB Tablet /0/100/1.3 bridge 82371AB/EB/MB PIIX4 ACPI /0/100/2 display GD 5446 /0/100/3 network Virtio network device /0/100/4 storage Virtio block device /0/100/5 generic Virtio memory balloon /0/100/6 generic Virtio RNG /1 eth0 network Ethernet interface [root@vultr ~]# sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom vda 252:0 0 10G 0 disk └─vda1 252:1 0 10G 0 part / [root@vultr ~]#
Kiểm tra tốc độ ổ cứng lưu trữ của VPS bằng dd
[root@vultr ~]# 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, 2.55813 s, 420 MB/s [root@vultr ~]#
Kiểm tra tốc độ CPU của VPS bằng sysbench
[root@vultr ~]# 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: 35.1461s total number of events: 10000 total time taken by event execution: 35.1394 per-request statistics: min: 3.43ms avg: 3.51ms max: 7.09ms approx. 95 percentile: 3.71ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 35.1394/0.00 [root@vultr ~]#
Kiểm tra tốc độ ổ cứng lưu trữ của VPS bằng sysbench
[root@vultr ~]# 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: 342340 Read, 228226 Write, 730240 Other = 1300806 Total Read 5.2237Gb Written 3.4825Gb Total transferred 8.7061Gb (29.717Mb/sec) 1901.88 Requests/sec executed Test execution summary: total time: 300.0008s total number of events: 570566 total time taken by event execution: 134.4065 per-request statistics: min: 0.01ms avg: 0.24ms max: 17.89ms approx. 95 percentile: 0.63ms Threads fairness: events (avg/stddev): 570566.0000/0.00 execution time (avg/stddev): 134.4065/0.00 [root@vultr ~]#
Kiểm tra hiệu năng MySQL của VPS bằng sysbench
[root@vultr ~]# sudo sysb_PASSWORD --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run_pep_vn_test --mysql-user=root --mysql-password=YOUR_MYSQL_ROOT 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: 453404 write: 0 other: 64772 total: 518176 transactions: 32386 (539.72 per sec.) deadlocks: 0 (0.00 per sec.) read/write requests: 453404 (7556.10 per sec.) other operations: 64772 (1079.44 per sec.) Test execution summary: total time: 60.0050s total number of events: 32386 total time taken by event execution: 479.7660 per-request statistics: min: 1.36ms avg: 14.81ms max: 64.96ms approx. 95 percentile: 23.75ms Threads fairness: events (avg/stddev): 4048.2500/34.03 execution time (avg/stddev): 59.9708/0.01 [root@vultr ~]#
Kiểm tra tốc độ toàn diện của VPS bằng UnixBench
[root@vultr 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: vultr.guest: GNU/Linux OS: GNU/Linux -- 2.6.32-504.8.1.el6.x86_64 -- #1 SMP Wed Jan 28 21:11:36 UTC 2015 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Vultr Virtual CPU 2 (4800.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 09:27:06 up 19 min, 1 user, load average: 0.05, 0.76, 0.56; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Thu Feb 12 2015 09:27:06 - 09:55:18 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 21201548.3 lps (10.0 s, 7 samples) Double-Precision Whetstone 2964.4 MWIPS (10.1 s, 7 samples) Execl Throughput 3758.4 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 683698.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 201847.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1728606.9 KBps (30.0 s, 2 samples) Pipe Throughput 1379894.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 269226.3 lps (10.0 s, 7 samples) Process Creation 10358.0 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3722.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 501.4 lpm (60.1 s, 2 samples) System Call Overhead 2948922.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 21201548.3 1816.8 Double-Precision Whetstone 55.0 2964.4 539.0 Execl Throughput 43.0 3758.4 874.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 683698.2 1726.5 File Copy 256 bufsize 500 maxblocks 1655.0 201847.5 1219.6 File Copy 4096 bufsize 8000 maxblocks 5800.0 1728606.9 2980.4 Pipe Throughput 12440.0 1379894.5 1109.2 Pipe-based Context Switching 4000.0 269226.3 673.1 Process Creation 126.0 10358.0 822.1 Shell Scripts (1 concurrent) 42.4 3722.6 878.0 Shell Scripts (8 concurrent) 6.0 501.4 835.7 System Call Overhead 15000.0 2948922.5 1965.9 ======== System Benchmarks Index Score 1138.8 [root@vultr UnixBench]#
Kiểm tra hiệu năng của VPS bằng vpsbench
[root@vultr]# 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 _02/12/2015 - VMPLAN - DATACENTER - OS - AUTHOR_ ``` CPU model: Vultr Virtual CPU 2 Number of cores: 1 CPU frequency: 2399.996 MHz Total amount of RAM: 514 MB Total amount of swap: 0 MB System uptime: 1:31, I/O speed: 430 MB/s Bzip 25MB: 7.82s Download 100MB file: 92.9MB/s
Kiểm tra hiệu năng của VPS bằng freevps bench
[root@vultr ~]# sudo bash freevpsbench.sh CPU model : Vultr Virtual CPU 2 Number of cores : 1 CPU frequency : 2399.996 MHz Total amount of ram : 514 MB Total amount of swap : 0 MB System uptime : 1:32, Download speed from CacheFly: 94.9MB/s Download speed from Coloat, Atlanta GA: 3.63MB/s Download speed from Softlayer, Dallas, TX: 26.2MB/s Download speed from Linode, Tokyo, JP: 6.78MB/s Download speed from i3d.net, Rotterdam, NL: 7.68MB/s Download speed from Leaseweb, Haarlem, NL: 68.2MB/s Download speed from Softlayer, Singapore: 4.51MB/s Download speed from Softlayer, Seattle, WA: 17.1MB/s Download speed from Softlayer, San Jose, CA: 14.9MB/s Download speed from Softlayer, Washington, DC: 48.8MB/s I/O speed : 407 MB/s
Kiểm tra chất lượng toàn diện của VPS bằng PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN
-------------------------------------------------------------------------------------------------------------- | PHP BENCHMARK SCRIPT BY XTRAFFIC.PEP.VN | | VERSION 2.0 | | DOWNLOAD HERE : https://bit.ly/php-benchmark-script-by-xtraffic-pep-vn | | Copyright 2014 http://xtraffic.pep.vn , All rights reserved! | -------------------------------------------------------------------------------------------------------------- Start : 2015-02-12 18:02:27 Server : [email protected] PHP version : 5.3.3 Platform : Linux Test level : 1 -------------------------------------------------------------------------------------------------------------- CPU TESTED + xtraffic_testcpu_math : 0.33393097 seconds. + xtraffic_testcpu_stringmanipulation : 0.47602201 seconds. + xtraffic_testcpu_hashstring : 0.19806194 seconds. + xtraffic_testcpu_gzipstring : 0.37606215 seconds. + xtraffic_testcpu_loops : 0.21649098 seconds. + xtraffic_testcpu_ifelse : 0.22686100 seconds. + xtraffic_testcpu_synthetic : 0.24066281 seconds. ---------------------------- * Total time : 2.06809186 seconds. -------------------------------------------------------------------------------------------------------------- DATA STORAGE DEVICE (HDD/SSD) TESTED + TEST WRITE : File Size : 20 MB Time : 0.023130369186401 seconds Speed : 864.67 MB/s + TEST READ : File Size : 20 MB Time : 0.0063384056091309 seconds Speed : 3.24 GB/s ---------------------------- * Total time : 0.02946877 seconds. -------------------------------------------------------------------------------------------------------------- MYSQL TESTED + DB CONNECTION TIME : 0.00441694 seconds + TEST INSERT TO DB "10,000 RECORDS" : 2.58122587 seconds + TEST SELECT (1) WITH "10,000 RECORDS" : 1.23677421 seconds + TEST SELECT (2) WITH "10,000 RECORDS" : 1.23332357 seconds + TEST SELECT (3) WITH "10,000 RECORDS" : 1.22526932 seconds + TEST UPDATE WITH "10,000 RECORDS" : 0.15537810 seconds + TEST DELETE WITH "10,000 RECORDS" : 0.52370191 seconds ---------------------------- * Total time : 6.96008992 seconds. -------------------------------------------------------------------------------------------------------------- NETWORK TESTED + Test download speed from "cachefly.cachefly.net" [Location : CDN] Size : 100 MB Download Time : 0.812693 sec Speed : 123.05 MB/s + Test download speed from "mirror-fpt-telecom.fpt.net" [Location : Vietnam] Size : 800 KB Download Time : 4.029434 sec Speed : 199 KB/s + Test download speed from "centos-hcm.viettelidc.com.vn" [Location : Ho Chi Minh, Vietnam] Size : 4.67 MB Download Time : 3.927043 sec Speed : 1.19 MB/s + Test download speed from "centos-hn.viettelidc.com.vn" [Location : Ha Noi, Vietnam] Size : Download Time : -0.282851 sec Speed : 0 Byte/s + Test download speed from "mirror.nhanhoa.com" [Location : Vietnam] Size : 123 KB Download Time : 3.951095 sec Speed : 32 KB/s + Test download speed from "dl.google.com" [Location : Google] Size : 16.58 MB Download Time : 0.18485 sec Speed : 89.7 MB/s + Test download speed from "download.microsoft.com" [Location : Microsoft] Size : 21.6 MB Download Time : 4.569962 sec Speed : 4.73 MB/s + Test download speed from "speedtest.tokyo.linode.com" [Location : Tokyo, Japan] Size : 25.69 MB Download Time : 4.719864 sec Speed : 5.44 MB/s + Test download speed from "speedtest-sgp1.digitalocean.com" [Location : Singapore] Size : 11.77 MB Download Time : 4.083557 sec Speed : 2.88 MB/s + Test download speed from "ftp.funet.fi" [Location : Finland] Size : 29.65 MB Download Time : 4.240554 sec Speed : 6.99 MB/s + Test download speed from "ftp.belnet.be" [Location : Belgium] Size : 16.88 MB Download Time : 4.42964 sec Speed : 3.81 MB/s + Test download speed from "ga-us-ping.vultr.com" [Location : Atlanta, Georgia, USA] Size : 100 MB Download Time : 1.773884 sec Speed : 56.37 MB/s + Test download speed from "sjo-ca-us-ping.vultr.com" [Location : Silicon Valley, California, USA] Size : 66.02 MB Download Time : 4.927498 sec Speed : 13.4 MB/s + Test download speed from "nj-us-ping.vultr.com" [Location : New York / New Jersey, USA] Size : 100 MB Download Time : 1.052806 sec Speed : 94.98 MB/s
Kiểm tra khả năng chịu tải WordPress trên VPS
Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ Siege
Giả lập tối đa 20 kết nối cùng lúc (tương đương với website có 1.728.000 pageviews/day) với thời gian kiểm tra là 60 giây
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: 98 hits Availability: 100 % Elapsed time: 59.10 secs Data transferred: 0.25 MB Response time: 11.22 secs Transaction rate: 1.66 trans/sec Throughput: 0.00 MB/sec Concurrency: 18.61 Successful transactions: 98 Failed transactions: 0 Longest transaction: 9.24 Shortest transaction: 1.44 |
[root@xtraffic ~]# siege -c20 -t60s http://wordpress-test.pep.vn/ Lifting the server siege... done. Transactions: 64055 hits Availability: 100 % Elapsed time: 59.35 secs Data transferred: 175.93 MB Response time: 0.02 secs Transaction rate: 1079.28 trans/sec Throughput: 2.96 MB/sec Concurrency: 17.58 Successful transactions: 64055 Failed transactions: 0 Longest transaction: 0.23 Shortest transaction: 0.00 |
||
Thời gian tải trang trung bình (Response time) | 11.22 secs | 0.02 secs | Tăng 56100% |
Đáp ứng được số truy vấn trong 1 giây (Transaction rate) | 1.66 trans/sec | 1079.28 trans/sec | Tăng 65017% |
Số truy vấn thành công (Successful transactions) | 98 truy vấn | 64055 truy vấn | Tăng 65362% |
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) | 9.24 giây | 0.23 giây | Tăng 4017% |
Thời gian tải trang thấp nhất (Shortest transaction) | 1.44 giây | 0.00 giây | Tăng ?% |
Kiểm tra khả năng chịu tải WordPress trên VPS bằng công cụ 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
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 9.04s 2.22s 13.03s 59.15% Req/Sec 0.00 0.00 0.00 100.00% 145 requests in 1.00m, 625.63KB read Socket errors: connect 0, read 0, write 0, timeout 441 Non-2xx or 3xx responses: 69 Requests/sec: 2.41 Transfer/sec: 10.42KB |
[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 4.15ms 2.55ms 56.10ms 95.43% Req/Sec 533.71 116.69 0.91k 64.35% 302295 requests in 1.00m, 2.48GB read Requests/sec: 5039.04 Transfer/sec: 42.29MB |
||
Thời gian tải trang trung bình (Latency) | 9.04 giây | 0.00415 giây | Tăng 217831% |
Đáp ứng được số truy vấn trong 1 giây (Requests/sec) | 2.41 truy vấn / giây | 5039.04 truy vấn / giây | Tăng 209089% |
Thời gian tải trang lâu nhất (Max Latency) | 13.03 giây | 0.05610 giây | Tăng 23226% |
Tốc độ chuyển dữ liệu trong 1 giây(Transfer/sec) | 10.42 KB/s | 42.29 MB/s | Tăng 415595% |
Link đăng ký VPS : https://www.vultr.com/register/
Một số điểm lưu ý về dịch vụ VPS giá rẻ của VULTR
Như bạn thấy là giá VPS của VULTR rất rẻ và phù hợp với mọi nhu cầu sử dụng VPS của đa số người dùng. Nhưng để đánh đổi với chi phí giá rẻ này thì bạn phải tự xử lý toàn bộ các vấn đề xảy ra với VPS của mình (VPS tự quản lý), do đó bạn cần phải có kiến thức nhất định về việc sử dụng hệ điều hành Linux/Window Server để quản lý VPS của mình, và tất nhiên khi có chuyện gì xảy ra thì bộ phận hỗ trợ của VULTR chỉ trả lời bạn rằng đây là VPS tự quản lý, nên bạn cần phải sao lưu định kỳ để bảo vệ dữ liệu của mình và không có bât kỳ xử lý nào giúp bạn khôi phục dữ liệu, và có lẽ đây là điều bất tiện nhất khi sử dụng VPS tự quản lý, nhưng bù lại bạn lại có mức giá rất rẻ cho VPS của mình.
Một điều lưu ý nữa là sau khi bạn đăng ký tài khoản VULTR tại link này https://www.vultr.com/register/ thì bạn cần truy cập https://my.vultr.com/mobile/ cho giao diện mobile để có thể khởi tạo VPS giá rẻ 3.5 USD/tháng của VULTR. Chúc các bạn lựa chọn cho mình được nhà cung cấp VPS giá rẻ và chất lượng tốt nhất :)