Home > SAKURA樱花VPS > 日本(sakura)樱花VPS体验SSD1G测试报告

日本(sakura)樱花VPS体验SSD1G测试报告

ssd-centos1

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

ssd-centos

上图为重装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版本查看

[[email protected] ~]# 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的内存使用情况查看

[[email protected] ~]# 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

[[email protected] ~]# 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硬盘在硬盘速度方面还是有很大优势的。

[[email protected] ~]# 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

六、网络性能测试

VPS的网络性能,主要分出口和入口二个指标,入口可以用wget文件得到:

wget http://cachefly.cachefly.net/100mb.test

看下载速度,如果是11M/s,大概就是百兆口。70M/S,大概就是G口。您的VPS搭建好网站环境后,可以用其它的VPS去拽这个文件,得到出口的带宽。以下我专门下载QQ官方软件,得到入口带宽,推测是百兆口。

[[email protected] ~]# wget http://cachefly.cachefly.net/100mb.test
–2013-01-31 16:41:17– http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net… 204.93.150.151
Connecting to cachefly.cachefly.net|204.93.150.151|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.test’

100%[======================================>] 104,857,600 9.57M/s in 10s

2013-01-31 16:41:28 (9.62 MB/s) – `100mb.test’ saved [104857600/104857600]

[[email protected] ~]# wget -c http://dldir1.qq.com/qqfile/qq/QQ2013/2013Beta2/6692/QQ2013Beta2.exe
–2013-01-31 16:43:10– http://dldir1.qq.com/qqfile/qq/QQ2013/2013Beta2/6692/QQ2013Beta2.exe
Resolving dldir1.qq.com… 205.177.133.137, 205.177.133.130, 205.177.133.131, …
Connecting to dldir1.qq.com|205.177.133.137|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 54651032 (52M) [application/octet-stream]
Saving to: `QQ2013Beta2.exe’

100%[======================================>] 54,651,032 3.48M/s in 18s

2013-01-31 16:43:32 (2.88 MB/s) – `QQ2013Beta2.exe’ saved [54651032/54651032]

七、UB跑分得到综合性能

一款国外提供的linux性能专用软件,可以跑出分数来让你做对比:

wget -c http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz

tar zxvf UnixBench5.1.3.tgz

cd UnixBench

make

./Run

总分情况,低于400的就算性能低下;600-800是属于正常VPS水准;超过1000分性能就算给力。

========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)

System: www2248gi.sakura.ne.jp: GNU/Linux
OS: GNU/Linux — 2.6.18-348.1.1.el5 — #1 SMP Tue Jan 22 16:24:03 EST 2013
Machine: i686 (i386)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Xeon(R) CPU E5-2640 (5000.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) CPU E5-2640 (4999.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
16:52:42 up 18 min, 1 user, load average: 0.00, 0.00, 0.00; runlevel 3

————————————————————————
Benchmark Run: Thu Jan 31 2013 16:52:42 – 17:20:34
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 12325997.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2121.0 MWIPS (10.2 s, 7 samples)
Execl Throughput 5610.6 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 499390.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 139848.4 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1273704.6 KBps (30.0 s, 2 samples)
Pipe Throughput 974756.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 26813.0 lps (10.0 s, 7 samples)
Process Creation 20022.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 6429.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1440.2 lpm (60.0 s, 2 samples)
System Call Overhead 914008.3 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 12325997.0 1056.2
Double-Precision Whetstone 55.0 2121.0 385.6
Execl Throughput 43.0 5610.6 1304.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 499390.5 1261.1
File Copy 256 bufsize 500 maxblocks 1655.0 139848.4 845.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 1273704.6 2196.0
Pipe Throughput 12440.0 974756.5 783.6
Pipe-based Context Switching 4000.0 26813.0 67.0
Process Creation 126.0 20022.9 1589.1
Shell Scripts (1 concurrent) 42.4 6429.2 1516.3
Shell Scripts (8 concurrent) 6.0 1440.2 2400.3
System Call Overhead 15000.0 914008.3 609.3
========
System Benchmarks Index Score 884.8

————————————————————————
Benchmark Run: Thu Jan 31 2013 17:20:34 – 17:48:26
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables 24463241.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4218.8 MWIPS (10.2 s, 7 samples)
Execl Throughput 9665.9 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 226259.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 61360.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 621776.2 KBps (30.0 s, 2 samples)
Pipe Throughput 1943160.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 497586.2 lps (10.0 s, 7 samples)
Process Creation 34930.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 12196.9 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1666.9 lpm (60.0 s, 2 samples)
System Call Overhead 1589124.7 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 24463241.7 2096.3
Double-Precision Whetstone 55.0 4218.8 767.1
Execl Throughput 43.0 9665.9 2247.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 226259.9 571.4
File Copy 256 bufsize 500 maxblocks 1655.0 61360.3 370.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 621776.2 1072.0
Pipe Throughput 12440.0 1943160.7 1562.0
Pipe-based Context Switching 4000.0 497586.2 1244.0
Process Creation 126.0 34930.7 2772.3
Shell Scripts (1 concurrent) 42.4 12196.9 2876.6
Shell Scripts (8 concurrent) 6.0 1666.9 2778.1
System Call Overhead 15000.0 1589124.7 1059.4
========
System Benchmarks Index Score 1352.4

八、VPS的访问速度测试

这个主要测试是PING值,和观看TRACERT值,来判断速度。大概这几个网站:

站长站:ping.chinaz.com – ping.chinaz.com/tracert
卡卡网:www.webkaka.com/ping.aspx – www.webkaka.com/Tracert.aspx
国外的:www.just-ping.com 软件:speedtest.net/mini.php
国内的:www.17ce.com

Pinging 133.242.xxxx with 32 bytes of data:

Reply from 133.242.xx.22: bytes=32 time=118ms TTL=50
Reply from 133.242.xx.22: bytes=32 time=114ms TTL=50
Reply from 133.242.xx.22: bytes=32 time=118ms TTL=50
Reply from 133.242.xx.22: bytes=32 time=115ms TTL=50

Ping statistics for 133.242.xx.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 114ms, Maximum = 118ms, Average = 116ms


若非注明,本博客内容均为原创或翻译自Linode Library,教程默认Centos为linux发行版,转载请注明转自linode中文教程www.linode.im。linode中文教程QQ群:185393826,一起讨论linode及linux,linode中文教程、linode代购、linode合租、linode推介、linode返佣、linode优惠。日本VPS、美国VPS、海外独立服务器代购均在linode.im。

  1. 小樱
    July 30th, 2013 at 20:24 | #1

    centos5咋装不上

    • August 8th, 2013 at 09:28 | #2

      仔细看看教程吧。去www.rbvps.com看看。

  2. August 17th, 2013 at 16:04 | #3

    一看数据就知道是完美好鸡,超级Ping一把后发现还是Linode的速度更占优势。

  1. No trackbacks yet.