分类目录归档: VPS

中国电信天翼云试用

构架 xen

cpu Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz 单核

mem 1.5G

disk 100G

os CentOS release 5.4

机房 四川电信

入口带宽 5.07 MB/s左右

出口带宽 2.70 MB/s左右

编译lnmp 27分钟

dd if=/dev/zero of=test bs=128k count=10k conv=fdatasync
154 MB/s
147 MB/s
174 MB/s

天翼云

价格 https://service.ctyun.cn/cloudportal/doc/priceVmCloud.html

这只是测试账号只开了ssh端口,其他的需要备案才给开。

又一台VPS悲剧了

hostitek台湾的vps,SSD硬盘出问题,商家已换新的硬盘,我的数据估计全丢了,还好自己有备份。以前有人说过hostitek的vps丢过数据,我只喜欢他们的网速特好,主机性能也很好,想不到悲剧发生了,他们也没有备份,如果他们有备份,不超售,那就是非常好的vps。如果openVZ的VPS不超售,性能肯定比XEN的强。为什么linux主机的硬盘这么容易坏呢???

博客只好搬到diahosting的美国主机,diahosting很久以前用过,硅谷机房延迟低,网速不错,且RAID10。

wordprees的优化有两篇文章非常好,本人就在用。

WordPress 内存缓存终极加速插件:Batcache

WordPress 如何启用 Memcached 内存缓存

北京电信通云主机试用

凌云1型云主机配置详情
操作系统: Windows2003 
CentOS 5.6 Ubuntu12.4  
CPU: Intel XEON E5620 2.40GHz 四核至强 x 四核
内存配额: 2GB DDRIII 
硬盘容量: 160G SAS(系统盘15G) + 160G SATA 备份 
独立IP地址: 1
个(可增值)
带宽: 5MB独享(BGP多线 千兆光纤)

[root@localhost ~]# cat /proc/cpuinfo
Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
bogomips : 4800.17
分配四核

[root@localhost ~]# free -m
Mem:          2010        762       1247          0        172        464
Swap:         3039          0       3039

[root@localhost ~]# dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
268435456 bytes (268 MB) copied, 6.08845 seconds, 44.1 MB/s
268435456 bytes (268 MB) copied, 5.01624 seconds, 53.5 MB/s
268435456 bytes (268 MB) copied, 8.13692 seconds, 33.0 MB/s
三次结果

[root@localhost ~]# wget http://cachefly.cachefly.net/100mb.test
2012-07-12 15:44:25 (5.55 MB/s) - `100mb.test' saved [104857600/104857600]
下载没有限死5M

安装lnmp
real 43m38.374s
user 30m43.729s
sys 5m5.279s

==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
                      17171932   4009788  12275772  25% /

Start Benchmark Run: Thu Jul 12 21:55:32 CST 2012
 21:55:32 up 12 min,  1 user,  load average: 0.00, 0.12, 0.19

End Benchmark Run: Thu Jul 12 22:06:01 CST 2012
 22:06:01 up 22 min,  1 user,  load average: 16.32, 6.74, 3.02
                     INDEX VALUES           
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        376783.7  9483854.6      251.7
Double-Precision Whetstone                      83.1      984.6      118.5
Execl Throughput                               188.3     4854.7      257.8
File Copy 1024 bufsize 2000 maxblocks         2672.0   128499.0      480.9
File Copy 256 bufsize 500 maxblocks           1077.0    37479.0      348.0
File Read 4096 bufsize 8000 maxblocks        15382.0   803257.0      522.2
Pipe-based Context Switching                 15448.6   398829.5      258.2
Pipe Throughput                             111814.6  1579872.6      141.3
Process Creation                               569.3    15029.2      264.0
Shell Scripts (8 concurrent)                    44.8     1023.7      228.5
System Call Overhead                        114433.5  1387549.9      121.3
                                                                 =========
     FINAL SCORE                                                     243.6

盛大云的华北节点试用

华北节点其实就是北京的BGP五线(电信、联通、铁通、移动、教育网)机房。试用的是 小型主机 CPU独享型 计算能力: 4 ECU 单核: 4 ECU/核 内存: 2G 硬盘: 30G 带宽5M。

[root@SNDA-172-17-10-133 ~]# 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, 3.35783 s, 79.9 MB/s
[root@SNDA-172-17-10-133 ~]# 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, 3.36813 s, 79.7 MB/s

上传下载限死5M

2012-06-08 19:01:05 (574 KB/s) - ?.00mb.test?.saved [104857600/104857600]

Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz

安装LNMP 50分钟

ping

http://www.17ce.com/site/ping/25bd22c594d36f1bd2d91d36cb173907.html

Get

http://www.17ce.com/site/http/5397b3ed72556375f6b30439c69bec47.html

YUNVM的VPS试用

YUNVM VPS的提供试用一天。我选的是VM2048    2G内存 双核 80G 3M 上海电信。个人估计是KVM技术的。

[root@localhost ~]# 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, 12.8157 s, 20.9 MB/s
[root@localhost ~]# 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, 12.6073 s, 21.3 MB/s

上传下载都限制在3M左右

[root@localhost ~]# wget http://cachefly.cachefly.net/100mb.test
--2012-06-07 23:47:16--  http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net... 204.93.150.150
Connecting to cachefly.cachefly.net|204.93.150.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: ?.00mb.test?

100%[====================================================================================================================>] 104,857,600  361K/s   in 4m 46s 

2012-06-07 23:52:02 (359 KB/s) - ?.00mb.test?.saved [104857600/104857600]

BYTE UNIX Benchmarks (Version 4.1-wht.2)的跑分

INDEX VALUES           
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        376783.7 16810439.2      446.2
Double-Precision Whetstone                      83.1     1881.7      226.4
Execl Throughput                               188.3     5729.0      304.2
File Copy 1024 bufsize 2000 maxblocks         2672.0   245679.0      919.5
File Copy 256 bufsize 500 maxblocks           1077.0    77435.0      719.0
File Read 4096 bufsize 8000 maxblocks        15382.0  1914439.0     1244.6
Pipe-based Context Switching                 15448.6   402481.2      260.5
Pipe Throughput                             111814.6  2609051.3      233.3
Process Creation                               569.3    14290.3      251.0
Shell Scripts (8 concurrent)                    44.8      801.7      179.0
System Call Overhead                        114433.5  3145555.2      274.9
                                                                 =========
     FINAL SCORE                                                     372.2

cpu

model name : Intel(R) Xeon(R) CPU           E5649  @ 2.53GHz