prometeus-50m内存VPS/DAL/简单评测

prometeus最近优惠很多,先后在一个月时间内发布了几款大内存、大硬盘的VPS,基本都是基于XEN虚拟的,这里我换个样儿买了个openvz的VPS,闲来蛋疼给大家发个prometeus家的DAL的50M内存的VPS的简单测试数据【如果有兴趣的可以围观这里购买:购买链接 】

top - 14:08:14 up 22:45, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 9 total, 1 running, 8 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: 51200k total, 11900k used, 39300k free, 0k buffers Swap: 51200k total, 496k used, 50704k free, 8644k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 2028 408 380 S 0.0 0.8 0:00.34 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/3459 3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/3459 292 root 20 0 33440 992 792 S 0.0 1.9 0:00.12 rsyslogd 342 root 20 0 5488 532 432 S 0.0 1.0 0:00.19 sshd 361 root 20 0 2288 440 384 S 0.0 0.9 0:00.02 cron 6157 root 20 0 8252 2836 2316 S 0.0 5.5 0:00.05 sshd 6160 root 20 0 2976 1632 1292 S 0.0 3.2 0:00.00 bash 6166 root 20 0 2328 1076 880 R 0.0 2.1 0:00.00 top

50M内存,50Mswap: root@gongyi:~# free -m total used free shared buffers cached Mem: 50 11 38 0 0 8 -/+ buffers/cache: 3 46 Swap: 50 0 49

CPU还是挺好的E3-1270 v3 @ 3.50GHz root@gongyi:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz stepping : 3 cpu MHz : 3499.882 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 moni"不可描述" ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dts tpr_"不可描述" vnmi flexpriority ept vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm bogomips : 6999.76 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

硬盘情况: root@gongyi:~# df -lh Filesystem Size Used Avail Use% Mounted on /dev/simfs 2.0G 300M 1.8G 15% / tmpfs 25M 0 25M 0% /lib/init/rw tmpfs 25M 0 25M 0% /dev/shm

测试下端口: [这标准的G口吧] root@gongyi:~# wget http://cachefly.cachefly.net/100mb.test --2014-01-20 14:09:21-- http://cachefly.cachefly.net/100mb.test Resolving cachefly.cachefly.net... 205.234.175.175 Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 104857600 (100M) [application/octet-stream] Saving to: `100mb.test'

100%[================================================>] 104,857,600 109M/s in 0.9s

2014-01-20 14:09:22 (109 MB/s) - `100mb.test' saved [104857600/104857600]

硬盘的I/O还行? root@gongyi:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync 16384+0 records in 16384+0 records out 1073741824 bytes (1.1 GB) copied, 2.65248 s, 405 MB/s

下面简单跑个代码,大家看看这网络条件还是很不错了吧?顺带I/O也跑了下: root@gongyi:~# wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash CPU model : Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz Number of cores : 1 CPU frequency : 3499.882 MHz Total amount of ram : 50 MB Total amount of swap : 50 MB System uptime : 22:47, Download speed from CacheFly: 103MB/s Download speed from Coloat, Atlanta GA: 58.2MB/s Download speed from Softlayer, Dallas, TX: 103MB/s Download speed from Linode, Tokyo, JP: 14.8MB/s Download speed from i3d.net, Rotterdam, NL: 14.1MB/s Download speed from Leaseweb, Haarlem, NL: 20.8MB/s Download speed from Softlayer, Singapore: 15.1MB/s Download speed from Softlayer, 西雅图, WA: 59.8MB/s Download speed from Softlayer, 圣何塞, CA: 62.6MB/s Download speed from Softlayer, Washington, DC: 65.9MB/s I/O speed : 880 MB/s

来看看unix bench mark:

# # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # #

Version 5.1.3 Based on the Byte Magazine Unix Benchmark

Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com

1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput 1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3

1 x File Copy 256 bufsize 500 maxblocks 1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3

1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10

1 x Process Creation 1 2 3

1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent) 1 2 3

1 x Shell Scripts (8 concurrent) 1 2 3

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

System: gongyi.info: GNU/Linux OS: GNU/Linux -- 2.6.32-042stab079.6 -- #1 SMP Mon Aug 26 19:47:50 MSK 2013 Machine: i686 (i386) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz (6999.8 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization 18:08:49 up 1 min, 1 user, load average: 0.30, 0.07, 0.02; runlevel 3

------------------------------------------------------------------------ Benchmark Run: Mon Jan 20 2014 18:08:49 - 18:36:58 1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 23094359.8 lps (10.0 s, 7 samples) Double-Precision Whetstone 3248.9 MWIPS (10.1 s, 7 samples) Execl Throughput 6060.8 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 781350.3 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 212367.9 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2134660.8 KBps (30.0 s, 2 samples) Pipe Throughput 1550588.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 295460.3 lps (10.0 s, 7 samples) Process Creation 16030.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 5460.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 622.4 lpm (60.1 s, 2 samples) System Call Overhead 1919460.6 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 23094359.8 1979.0 Double-Precision Whetstone 55.0 3248.9 590.7 Execl Throughput 43.0 6060.8 1409.5 File Copy 1024 bufsize 2000 maxblocks 3960.0 781350.3 1973.1 File Copy 256 bufsize 500 maxblocks 1655.0 212367.9 1283.2 File Copy 4096 bufsize 8000 maxblocks 5800.0 2134660.8 3680.4 Pipe Throughput 12440.0 1550588.0 1246.5 Pipe-based Context Switching 4000.0 295460.3 738.7 Process Creation 126.0 16030.8 1272.3 Shell Scripts (1 concurrent) 42.4 5460.6 1287.9 Shell Scripts (8 concurrent) 6.0 622.4 1037.4 System Call Overhead 15000.0 1919460.6 1279.6 ======== System Benchmarks Index Score 1330.4