来一发ping测试,下面不带Telecom的就是Unicom的,看来现在线路优化地不错了?
Beijing, China 180.153.28.70 37 ms 37 ms 37 ms optimal traceroute
Chengdou, China 180.153.28.70 35 ms 35 ms 35 ms optimal traceroute
Hunan, China ( Telecom ) 180.153.28.70 27 ms 28 ms 27 ms optimal traceroute
Jiangxi, China 180.153.28.70 18 ms 18 ms 18 ms optimal traceroute
Shangdong, China 180.153.28.70 54 ms 54 ms 54 ms optimal traceroute
Xiamen, China 180.153.28.70 17 ms 18 ms 17 ms optimal traceroute
接下来是硬件测评:
1.cpu型号
[root@i-488-27138-VM ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 47
model name : Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
stepping : 2
cpu MHz : 2131.022
cache size : 24576 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm ida arat epb dts
bogomips : 4262.04
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
2.内存
[root@i-488-27138-VM ~]# free -m
total used free shared buffers cached
Mem: 996 925 71 0 2 831
-/+ buffers/cache: 90 905
Swap: 2015 0 2015
3.硬盘
[root@i-488-27138-VM ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
47G 2.1G 43G 5% /
tmpfs 499M 0 499M 0% /dev/shm
/dev/sda1 485M 33M 427M 8% /boot
[root@i-488-27138-VM ~]# fdisk -l
Disk /dev/sda: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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: 0x000bc40e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 6528 51915776 8e Linux LVM
Disk /dev/sdb: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 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: 0x00000000
4. dd测试下磁盘性能
[root@i-488-27138-VM ~]# dd if=/dev/zero of=test bs=1M count=2048 oflag=dsync
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 40.0946 s, 53.6 MB/s
Disk /dev/mapper/VolGroup-lv_root: 51.0 GB, 51044679680 bytes
255 heads, 63 sectors/track, 6205 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: 0x00000000
Disk /dev/mapper/VolGroup-lv_swap: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 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: 0x00000000
5.wget速度
[root@i-488-27138-VM ~]# wget
http://cachefly.cachefly.net/100mb.test--2013-08-14 17:55:41--
http://cachefly.cachefly.net/100mb.testResolving
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 10.1M/s in 11s
2013-08-14 17:55:55 (9.37 MB/s) - “100mb.test” saved [104857600/104857600]
6.用unixbench测试VPS性能(详细步骤)
取得root权限,然后随便找个目录,比如可以cd ~或者cd /tmp
yum -y install gcc
wget
http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gztar -zxvf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
vi Makefile 找到GRAPHIC_TESTS = defined,在前面加个“#”,然后保存退出
make
./Run
Benchmarks报告如下:
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)
System: i-488-27138-VM: GNU/Linux
OS: GNU/Linux -- 2.6.32-279.el6.x86_64 -- #1 SMP Fri Jun 22 12:19:21 UTC 2012
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz (4262.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
17:24:55 up 41 min, 1 user, load average: 0.41, 0.43, 0.21; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Wed Aug 14 2013 17:24:55 - 17:52:49
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 20341976.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2528.5 MWIPS (9.8 s, 7 samples)
Execl Throughput 3277.7 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 674255.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 192608.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1853774.9 KBps (30.0 s, 2 samples)
Pipe Throughput 1280960.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 208093.2 lps (10.0 s, 7 samples)
Process Creation 8273.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3985.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 529.8 lpm (60.1 s, 2 samples)
System Call Overhead 1515850.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 20341976.9 1743.1
Double-Precision Whetstone 55.0 2528.5 459.7
Execl Throughput 43.0 3277.7 762.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 674255.1 1702.7
File Copy 256 bufsize 500 maxblocks 1655.0 192608.0 1163.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 1853774.9 3196.2
Pipe Throughput 12440.0 1280960.8 1029.7
Pipe-based Context Switching 4000.0 208093.2 520.2
Process Creation 126.0 8273.4 656.6
Shell Scripts (1 concurrent) 42.4 3985.7 940.0
Shell Scripts (8 concurrent) 6.0 529.8 883.0
System Call Overhead 15000.0 1515850.7 1010.6
========
System Benchmarks Index Score 1011.1