How can we test the performance of Vps hosts? Although VPS is a virtual independent server, it also determines the performance by cpu and memory, therefore, the performance of a vps host determines the speed at which website programs exist on the host. Some host providers provide you with test hosts. Of course, even if you do not have a test, you can buy it by yourself. Generally, you will be offered a full refund period of one month. You can use the performance testing software of the vps host to check the performance.
UnixBench is a good Linux-based VPS performance testing software. Unix00004.10: http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz
Run the following command to start over SSH:
Root@vsp3.cn ~ # Wget http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz
[Root @ vsp3.cn ~] # Tar xzf unixbench-4.1.0-wht.tar.gz
[Root @ vsp3.cn ~] # Ls
Unixbench-4.1.0-wht-2 unixbench-4.1.0-wht.tar.gz
[Root @ vsp3.cn ~] # Cd unixbench-4.1.0-wht-2/
[Root @ vsp3.cn unixbench-4.1.0-wht-2] # make
[Root @ vsp3.cn unixbench-4.1.0-wht-2] #./Run
We can obtain the vps host performance value of linux according to the method shown above. A larger value indicates better performance.
For example, the following host performance table:
Byte unix Benchmarks (Version 4.1-wht.2)
System-Linux www.vps3.cn 2.6.18-92.1.13.el5.028stab059.6 #1 SMP Fri Nov 14 16:01:01 MSK 2008 i686 i686 i386 GNU/Linux
Simfs 5120000 1581972 3538028 31%/
Start Benchmark Run: Wed Feb 4 05:11:25 PST 2009
05:11:25 up 20 days, 1 user, load average: 0.00, 0.00, 0.00
End Benchmark Run: Wed Feb 4 05:21:40 PST 2009
05:21:40 up 20 days, 1 user, load average: 15.46, 6.32, 2.72
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 23797779.3 631.6
Double-Precision Whetstone 83.1 1407.7 169.4
Execl Throughput 188.3 10095.2 536.1
File Copy 1024 bufsize 2000 maxblocks 2672.0 204163.0 764.1
File Copy 256 bufsize 500 maxblocks 1077.0 74664.0 693.3
File Read 4096 bufsize 8000 maxblocks 15382.0 1629641.0 1059.4
Pipe Throughput 111814.6 3058960.1 273.6
Pipe-based Context Switching 15448.6 887966.3 574.8
Process Creation 569.3 26803.0 470.8
Shell Scripts (8 concurrent) 44.8 2503.6 558.8
System Call Overhead 114433.5 2409758.4 210.6
==========
Final score 475.4
Its performance value is 475.4, indicating that its capability is very good. Generally, the vps value of 256 of memory is about 200. Of course, this value is for reference. You need to take time to test stability and compatibility.