|
|
本帖最后由 loveminds 于 2012-6-29 15:32 编辑
Special Offer - CN-Beta
vCPU:2核心
内存:512MB
SWAP:512MB
硬盘:25GB Raid10+BBU
IP地址:61.147.121.231
http://61.147.121.231:82/p.php
内存,和描述一样- [root@vpsio ~]# free -m
- total used free shared buffers cached
- Mem: 512 46 465 0 3 19
- -/+ buffers/cache: 22 489
- Swap: 511 0 511
复制代码 CPU,E5系列在国内实在不算多见(处理器相当于VPS的引擎)- [root@vpsio ~]# cat /proc/cpuinfo
- processor : 0
- vendor_id : GenuineIntel
- cpu family : 6
- model : 45
- model name : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
- stepping : 7
- cpu MHz : 1999.999
- cache size : 15360 KB
- fdiv_bug : no
- hlt_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 10
- wp : yes
- flags : fpu tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ss nx constant_tsc pni vmx ssse3 sse4_1 sse4_2 popcnt
- bogomips : 5003.82
- processor : 1
- vendor_id : GenuineIntel
- cpu family : 6
- model : 45
- model name : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
- stepping : 7
- cpu MHz : 1999.999
- cache size : 15360 KB
- fdiv_bug : no
- hlt_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 10
- wp : yes
- flags : fpu tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ss nx constant_tsc up pni vmx ssse3 sse4_1 sse4_2 popcnt
- bogomips : 5003.82
复制代码 既然是VPSIO,那IO必然是其一大卖点- [root@vpsio ~]# 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.19544 seconds, 122 MB/s
- [root@vpsio ~]# 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.11159 seconds, 127 MB/s
- [root@vpsio ~]# 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.14507 seconds, 125 MB/s
- [root@vpsio ~]# 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.31151 seconds, 116 MB/s
复制代码 再测下IOPS吧
[root@vpsio dev]# fio -filename=/dev/sda1 -direct=1 -iodepth 1 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bs=16k -size=256M -numjobs=30 -runtime=100 -group_reporting -name=mytest -ioscheduler=noop
mytest: (g=0): rw=randrw, bs=16K-16K/16K-16K, ioengine=psync, iodepth=1
...
mytest: (g=0): rw=randrw, bs=16K-16K/16K-16K, ioengine=psync, iodepth=1
2.0.8
Starting 30 threads
Jobs: 30 (f=30): [mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm] [100.0% done] [42015K/18253K /s] [2625 /1140 iops] [eta 00m:00s]
mytest: (groupid=0, jobs=30): err= 0: pid=1427
read : io=3766.0MB, bw=38541KB/s, iops=2408 , runt=100060msec
clat (usec): min=79 , max=1121.9K, avg=11141.05, stdev=27428.98
lat (usec): min=80 , max=1121.9K, avg=11142.07, stdev=27428.98
clat percentiles (usec):
| 1.00th=[ 155], 5.00th=[ 374], 10.00th=[ 470], 20.00th=[ 564],
| 30.00th=[ 636], 40.00th=[ 708], 50.00th=[ 780], 60.00th=[ 892],
| 70.00th=[ 2192], 80.00th=[11584], 90.00th=[40192], 95.00th=[63744],
| 99.00th=[122368], 99.50th=[146432], 99.90th=[248832], 99.95th=[301056],
| 99.99th=[501760]
bw (KB/s) : min= 29, max= 2842, per=3.36%, avg=1296.74, stdev=388.12
write: io=1611.4MB, bw=16490KB/s, iops=1030 , runt=100060msec
clat (usec): min=77 , max=228343 , avg=3038.10, stdev=10806.17
lat (usec): min=79 , max=228344 , avg=3040.02, stdev=10806.15
clat percentiles (usec):
| 1.00th=[ 131], 5.00th=[ 179], 10.00th=[ 243], 20.00th=[ 338],
| 30.00th=[ 398], 40.00th=[ 450], 50.00th=[ 502], 60.00th=[ 556],
| 70.00th=[ 612], 80.00th=[ 980], 90.00th=[ 4448], 95.00th=[14656],
| 99.00th=[60160], 99.50th=[83456], 99.90th=[115200], 99.95th=[126464],
| 99.99th=[148480]
bw (KB/s) : min= 26, max= 1472, per=3.37%, avg=555.02, stdev=203.58
lat (usec) : 100=0.02%, 250=4.82%, 500=18.94%, 750=31.78%, 1000=13.84%
lat (msec) : 2=4.52%, 4=4.91%, 10=4.51%, 20=4.44%, 50=6.65%
lat (msec) : 100=4.05%, 250=1.44%, 500=0.06%, 750=0.01%, 1000=0.01%
lat (msec) : 2000=0.01%
cpu : usr=0.30%, sys=0.96%, ctx=10619371, majf=0, minf=0
IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
issued : total=r=241024/w=0/d=103124, short=r=0/w=0/d=0
Run status group 0 (all jobs):
READ: io=3766.0MB, aggrb=38540KB/s, minb=38540KB/s, maxb=38540KB/s, mint=100060msec, maxt=100060msec
WRITE: io=1611.4MB, aggrb=16489KB/s, minb=16489KB/s, maxb=16489KB/s, mint=100060msec, maxt=100060msec
Disk stats (read/write):
sda1: ios=240766/103022, merge=0/144, ticks=2666548/301528, in_queue=2968664, util=99.94% |
|