
上图为日本樱花VPS1G,SSD磁盘(50G),VPS面板。

上图为重装Centos5截图,顺便说一句,樱花VPS1G(SSD硬盘)重装centos非常快,或许是SSD硬盘比较强悍的原因,我只花了8分钟就图形安装完毕了Centos。
日本SAKURA樱花VPS出SSD硬盘的VPS,也有一段时间了,一直没有时间测试。今天专门开了个北海道的SSD樱花VPS,测试了下传说中的ssd硬盘,看看是否有惊喜,希望以下测试数据对爱好ssd硬盘的朋友有所帮助。
•VPS的linux版本查看命令:cat /etc/issue
•VPS的资源消耗查看命令:top
•VPS的内存使用情况查看命令:free -m
•VPS的CPU信息查看命令:cat /proc/cpuinfo
•使用DD对VPS硬盘I/O进行读写性能测试
•VPS出口、入口网络性能测试
•使用UB软件对LinuxVPS性能综合跑分测试
•国内、国外以及VPS网站访问速度测试
一、VPS的linux版本查看
[root@www2248gi ~]# cat /etc/issue
CentOS release 5.9 (Final)
Kernel \r on an \m
二、VPS的资源消耗命令查看
top – 16:37:06 up 2 min, 1 user, load average: 0.09, 0.10, 0.04
Tasks: 52 total, 1 running, 51 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9%us, 0.6%sy, 0.0%ni, 98.1%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1034656k total, 178992k used, 855664k free, 10924k buffers
Swap: 2097144k total, 0k used, 2097144k free, 148616k cached
以上可以查看服务器运行时间,负载情况,cpu占用情况,内存使用情况,等。
三、VPS的内存使用情况查看
[root@www2248gi ~]# free -m
total used free shared buffers cached
Mem: 1010 174 835 0 10 145
-/+ buffers/cache: 18 991
Swap: 2047 0 2047
四、VPS的CPU信息查看命令:cat /proc/cpuinfo
[root@www2248gi ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Xeon(R) CPU E5-2640
stepping : 1
cpu MHz : 2499.998
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse3 6 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt
bogomips : 4999.99
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Xeon(R) CPU E5-2640
stepping : 1
cpu MHz : 2499.998
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse3 6 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt
bogomips : 4999.87
附:CPU查询:www.anandtech.com/Bench – www.cpubenchmark.net
你可以在这个网站上,查到你使用VPS的CPU怎么样,综合评分如何等。然后,你要观察一下,一共给你几核,每核的频率是多少。总体来讲,单核高频不限,比多核低频的性能要好一些。
五、硬盘IO性能测试
测试硬盘IO性能,对硬盘的损害很大,不建议多次或长时间尝试,命令如下:
dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
测试结果,如果超过10M,对正常建站就无影响。超过50M,就是非常给力状态。从测试结果来看,ssd硬盘在硬盘速度方面还是有很大优势的。
[root@www2248gi ~]# dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 2.39109 seconds, 112 MB/s
Read more…
最新评论