|
|
本帖最后由 flydon 于 2013-12-4 23:37 编辑
原帖入口:http://rffan.info/4329
Hostshare的成立是为公益事业,由论坛里的例如单手摘JJ,菜花大盗等担任CTO 由组长担任秘书长。。好吧,其实他们是测试到底能够做到有多低的价钱。好吧,也的确。9.9元这个对于国外来说能很轻松的超售做到的,Hostshare正在准备OpenVZ项目,于是乎
配置:
CPU:1核心
内存:512M
硬盘:10G
流量:300G
IPs:1IPv4
架构:OpenVZ
可选系统:Linux
官方网址:http://my.hostshare.cn
测试项目一:
CPU信息:
CPU核心数量的多少代表着你多线程运行的程序的快慢。当然性能不是绝对有优势的,看卖家把U平分到多少个人头上。不过一般来说U核心越多,性能越好。
CPU Info
[root@hostshare ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz
stepping : 9
cpu MHz : 3392.290
cache size : 8192 KB
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good unfair_spinlock pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes avx f16c rdrand hypervisor lahf_lm
bogomips : 6784.58
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
测试项目三:
硬盘IO测试:
DD测试硬盘
[root@hostshare ~]# dd if=/dev/zero of=test bs=128k count=4k oflag=dsync
4096+0 records in
4096+0 records out
536870912 bytes (537 MB) copied, 7.83761 seconds, 68.5 MB/s
[root@hostshare ~]# dd if=/dev/zero of=test bs=128k count=4k oflag=dsync
4096+0 records in
4096+0 records out
536870912 bytes (537 MB) copied, 6.39292 seconds, 84.0 MB/s
[root@hostshare ~]# dd if=/dev/zero of=test bs=128k count=4k oflag=dsync
4096+0 records in
4096+0 records out
536870912 bytes (537 MB) copied, 6.43246 seconds, 83.5 MB/s
测试项目四:
端口速率:
Port Speed
IN速率:
[root@hostshare ~]# wget http://cachefly.cachefly.net/100mb.test
–2013-12-04 09:45:18– 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 110M/s in 0.9s
2013-12-04 09:45:19 (110 MB/s) – `100mb.test’ saved [104857600/104857600]
G 口,我X
OUT 速率
采用MYHOST123(官网:http://www.myhost123.com )的凤凰城数据中心测试下载速度。
[root@myhost123 ~]#wget http://198.148.115.110/100mb.test
–2013-12-04 01:59:55– http://198.148.115.110/100mb.test
Connecting to 198.148.115.110:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 104857600 (100M) [application/x-tar]
Saving to: `100mb.test.2′
100%[=================================================>] 104,857,600 4.17M/s in 22s
2013-12-04 02:00:17 (4.57 MB/s) – `100mb.test.2′ saved [104857600/104857600]
采用GetVM洛杉矶ENZU数据中心(官网:http://www.getvm.net)测试下载速度。
wget http://198.148.115.110/100mb.test
–2013-12-04 15:01:48– http://198.148.115.110/100mb.test
Connecting to 198.148.115.110:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 104857600 (100M) [application/x-tar]
Saving to: `100mb.test.6′
100%[=================================================>] 104,857,600 10.2M/s in 9.7s
2013-12-04 15:01:57 (10.3 MB/s) – `100mb.test.6′ saved [104857600/104857600]
采用XsVPS的洛杉矶数据中心(官网:http://xsvps.com)测试下载速度
[root@xsvps ~]# wget http://198.148.115.110/100mb.test
–2013-12-03 18:02:32– http://198.148.115.110/100mb.test
Connecting to 198.148.115.110:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 104857600 (100M) [application/x-tar]
Saving to: `100mb.test.3′
100%[=================================================>] 104,857,600 10.9M/s in 9.1s
2013-12-03 18:02:41 (11.0 MB/s) – `100mb.test.3′ saved [104857600/104857600
出口的速度也非常不错,1台50M的凤凰城,以及2台100M的小鸡都能跑满。
测试项目五:
UnixBench Score
Unixbench跑分:400以下为性能低下400-600正常水平,高于1K性能优异。如果朋友们遇到Unixbench跑分出错的问题,欢迎查找:Unixbench 测试脚本错误集锦
wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
tar zxvf unixbench-5.1.3.tgz
cd unixbench-5.1.3
make
./Run
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.2 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
December 22, 2007 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.2)
System: hostshare.rffan.com: GNU/Linux
OS: GNU/Linux -- 2.6.32-042stab083.2 -- #1 SMP Fri Nov 8 18:08:40 MSK 2013
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
10:10:55 up 2 days, 14:50, 1 user, load average: 0.26, 0.07, 0.02; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Wed Dec 04 2013 10:10:55 - 10:39:05
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 18777423.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2960.5 MWIPS (10.0 s, 7 samples)
Execl Throughput 2246.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 268224.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 67453.1 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 796420.7 KBps (30.0 s, 2 samples)
Pipe Throughput 478302.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 73866.4 lps (10.0 s, 7 samples)
Process Creation 4241.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3230.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 446.5 lpm (60.1 s, 2 samples)
System Call Overhead 449674.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 18777423.5 1609.0
Double-Precision Whetstone 55.0 2960.5 538.3
Execl Throughput 43.0 2246.4 522.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 268224.6 677.3
File Copy 256 bufsize 500 maxblocks 1655.0 67453.1 407.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 796420.7 1373.1
Pipe Throughput 12440.0 478302.9 384.5
Pipe-based Context Switching 4000.0 73866.4 184.7
Process Creation 126.0 4241.8 336.6
Shell Scripts (1 concurrent) 42.4 3230.5 761.9
Shell Scripts (8 concurrent) 6.0 446.5 744.2
System Call Overhead 15000.0 449674.8 299.8
========
System Benchmarks Index Score 545.7
性能决定了一半剩下的就是网络稳定性了。当然由于组长是计划弄100人进去的。。。现在已经进去差不多50人了。性能如此。大家看看把。预计100人进去只能达到200的跑分。。那时候。。
PING 请去我博客看。
白天测试ping一般都很好~
总结
总的来说,目前性能OK,做站无碍。不支持ppp/tun 所以不能装扶墙。可以装Open扶墙所以还行。性能一般。 |
|