一般来说,Linux VPS的服务器都是比较高端的机器。一般配置为8G-24G内存,Q6600的CPU,多块硬盘做RAID阵列确保数据安全。服务器如果仅仅开通512MB内存的VPS,那么一台服务器的VPS数目在10-20个左右,内存有保障。 每个VPS的配置都一样吗? 一般来说,高配的VPS会放在更好的服务器上。
这里是一个VPS客户的信息,以供参考:
查看CPU信息:cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 2400.143
cache size : 4096 KB
查看内存信息:free
total used free shared buffers cached
Mem: 2621440 233560 2387880 0 0 0
-/+ buffers/cache: 233560 2387880
查看操作系统版本:cat /etc/redhat-release
CentOS release 5.3 (Final)
uname -a
Linux vpsXX.ctohome.com 2.6.18-164.2.1.el5.028stab066.10 #1 SMP Sat Dec 12 18:52:53 MSK 2009 i686 i686 i386 GNU/Linux
VPS测试 CPU浮点运算测试---SUPER π 性能测试:
End of calculation. Time= 18.946 Sec.
End of data output. Time= 0.154 Sec.
Total calculation(I/O) time= 19.100( 0.815) Sec. 仅仅19秒就完成了100万计算!
参考对比结果:http://tieba.baidu.com/f?kz=176960277
UnixBench:测试Linux VPS性能
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux vps59.ctohome.com 2.6.18-164.2.1.el5.028stab066.10 #1 SMP Sat Dec 12 18:52:53 MSK 2009 i686 i686 i386 GNU/Linux
/dev/simfs 157286400 1112188 156174212 1% /
Start Benchmark Run: Tue Dec 22 00:46:05 MSK 2009
00:46:05 up 5:51, 1 user, load average: 0.07, 0.03, 0.01
End Benchmark Run: Tue Dec 22 00:58:44 MSK 2009
00:58:44 up 6:04, 2 users, load average: 14.37, 6.12, 2.80
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 16303866.8 432.7
Double-Precision Whetstone 83.1 1299.8 156.4
Execl Throughput 188.3 7725.8 410.3
File Copy 1024 bufsize 2000 maxblocks 2672.0 165150.0 618.1
File Copy 256 bufsize 500 maxblocks 1077.0 55402.0 514.4
File Read 4096 bufsize 8000 maxblocks 15382.0 1577261.0 1025.4
Pipe-based Context Switching 15448.6 600615.4 388.8
Pipe Throughput 111814.6 2184246.1 195.3
Process Creation 569.3 22116.2 388.5
Shell Scripts (8 concurrent) 44.8 1213.8 270.9
System Call Overhead 114433.5 1758851.2 153.7
=========
FINAL SCORE 354.5