|
我安装的是Debian系统,uname输出如下:
uname -a
Linux kvm 2.6.32-5-686 #1 SMP Wed Jan 11 12:29:30 UTC 2012 i686 GNU/Linux
CPU信息,同其他KVM产品一样,依旧不能给出有用的内容:
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 0.9.1
stepping : 3
cpu MHz : 3192.912
cache size : 32 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni hypervisor
bogomips : 6385.82
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 0.9.1
stepping : 3
cpu MHz : 3192.912
cache size : 32 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni hypervisor
bogomips : 6385.82
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
free输出:
free -m
total used free shared buffers cached
Mem: 247 63 184 0 2 45
-/+ buffers/cache: 15 232
Swap: 476 0 476
top输出:
top
top – 17:02:00 up 13:12, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 73 total, 1 running, 72 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 253928k total, 65116k used, 188812k free, 2516k buffers
Swap: 488440k total, 0k used, 488440k free, 46596k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2106 root 20 0 2332 1120 892 R 0 0.4 0:00.01 top
1 root 20 0 2032 732 640 S 0 0.3 0:00.81 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/0
4 root 20 0 0 0 0 S 0 0.0 0:00.03 ksoftirqd/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1
7 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root 20 0 0 0 0 S 0 0.0 0:00.08 events/0
10 root 20 0 0 0 0 S 0 0.0 0:00.26 events/1
11 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset
12 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper
13 root 20 0 0 0 0 S 0 0.0 0:00.00 netns
14 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr
15 root 20 0 0 0 0 S 0 0.0 0:00.00 pm
16 root 20 0 0 0 0 S 0 0.0 0:00.04 sync_supers
磁盘及分区信息,其中有两个分区我给了Windows,我安装的是双系统:
df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sda4 7.0G 592M 6.1G 9% /
tmpfs 124M 0 124M 0% /lib/init/rw
udev 123M 116K 123M 1% /dev
tmpfs 124M 0 124M 0% /dev/shm
df -i
文件系统 Inode 已用(I) 可用(I) 已用(I)%% 挂载点
/dev/sda4 464208 19565 444643 5% /
tmpfs 31741 4 31737 1% /lib/init/rw
udev 31424 561 30863 2% /dev
tmpfs 31741 1 31740 1% /dev/shm
fdisk -l
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd744d744
Device Boot Start End Blocks Id System
/dev/sda1 * 1 608 4881408 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 608 973 2929664 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 973 1034 488448 82 Linux swap / Solaris
/dev/sda4 1034 1958 7427072 83 Linux
vmstat和uptime输出:
vmstat
procs ———–memory———- —swap– —–io—- -system– —-cpu—-
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 188888 2548 46696 0 0 1 0 95 2 0 0 100 0
uptime
17:02:46 up 13:13, 1 user, load average: 0.00, 0.00, 0.00
磁盘IO信息:
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
记录了16384+0 的读入
记录了16384+0 的写出
1073741824字节(1.1 GB)已复制,8.63295 秒,124 MB/秒
rm test
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
记录了16384+0 的读入
记录了16384+0 的写出
1073741824字节(1.1 GB)已复制,7.72042 秒,139 MB/秒
网络信息:
wget cachefly.cachefly.net/100mb.test -O /dev/null
–2012-01-28 17:03:56– http://cachefly.cachefly.net/100mb.test
正在解析主机 cachefly.cachefly.net… 205.234.175.175
正在连接 cachefly.cachefly.net|205.234.175.175|:80… 已连接。
已发出 HTTP 请求,正在等待回应… 200 OK
长度:104857600 (100M) [application/octet-stream]
正在保存至: “/dev/null”
100%[======================================>] 104,857,600 11.1M/s 花时 9.3s
2012-01-28 17:04:05 (10.7 MB/s) – 已保存 “/dev/null” [104857600/104857600])
wget cachefly.cachefly.net/100mb.test -O /dev/null
–2012-01-28 17:04:17– http://cachefly.cachefly.net/100mb.test
正在解析主机 cachefly.cachefly.net… 205.234.175.175
正在连接 cachefly.cachefly.net|205.234.175.175|:80… 已连接。
已发出 HTTP 请求,正在等待回应… 200 OK
长度:104857600 (100M) [application/octet-stream]
正在保存至: “/dev/null”
100%[======================================>] 104,857,600 11.1M/s 花时 9.1s
2012-01-28 17:04:26 (11.0 MB/s) – 已保存 “/dev/null” [104857600/104857600])
网络不错,标准的100M口。
unixbench跑分信息:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System — Linux kvm 2.6.32-5-686 #1 SMP Wed Jan 11 12:29:30 UTC 2012 i686 GNU/Linux
/dev/sda4 7310492 678248 6260892 10% /
Start Benchmark Run: 2012年 01月 28日 星期六 17:09:26 CST
17:09:26 up 13:19, 1 user, load average: 0.02, 0.01, 0.00
End Benchmark Run: 2012年 01月 28日 星期六 17:19:56 CST
17:19:56 up 13:30, 1 user, load average: 16.46, 6.35, 2.70
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 19732828.7 523.7
Double-Precision Whetstone 83.1 1824.1 219.5
Execl Throughput 188.3 12818.7 680.8
File Copy 1024 bufsize 2000 maxblocks 2672.0 350257.0 1310.8
File Copy 256 bufsize 500 maxblocks 1077.0 107057.0 994.0
File Read 4096 bufsize 8000 maxblocks 15382.0 2854895.0 1856.0
Pipe-based Context Switching 15448.6 722368.9 467.6
Pipe Throughput 111814.6 3767376.0 336.9
Process Creation 569.3 39976.5 702.2
Shell Scripts (8 concurrent) 44.8 2280.0 508.9
System Call Overhead 114433.5 7047515.9 615.9
=========
FINAL SCORE 633.2
ping值见 http://ivps.me/wp-content/uploads/2012/01/kvm-ping.jpg |
|