V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
yesono
V2EX  ›  云计算

天翼云主机1G版(基础 I 型)评测

  •  
  •   yesono · 2013-08-15 10:53:05 +08:00 · 4609 次点击
    这是一个创建于 4147 天前的主题,其中的信息可能已经有所发展或是发生改变。
    测试型号:基础 I 型 vCPU(1个)、内存(1G)、存储(80G)、IP(1个)、独享带宽2M — 价格:129元
    更多型号参考:http://www.ctyun.cn/product/cloud
    1. 系统版本

    [root@i-488-27138-VM ~]# cat /etc/issue
    CentOS release 6.3 (Final)
    Kernel \r on an \m

    [root@i-488-27138-VM ~]# uname -a
    Linux i-488-27138-VM 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

    中国电信天翼云主机(貌似用的是Vmware)提供一些操作系统(Windows收费):

    Ubuntu 12.04 (64-bit)
    CentOS 5.8 (64-bit)
    CentOS 6.3 (64-bit)
    CentOS 6.4 (32-bit)
    Debian 7 (64-bit)

    Windows除了基础 I 型,其他型号Windows都要收费,大家还是用Linux吧,哈哈!
    2. 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
    power management:

    3. 内存

    [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

    4. 硬盘

    [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


    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. 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

    6. 网速测试
    本地ping(上海移动)

    C:\Users\root>ping 101.227.253.14

    Pinging 101.227.253.14 with 32 bytes of data:
    Reply from 101.227.253.14: bytes=32 time=58ms TTL=47
    Reply from 101.227.253.14: bytes=32 time=68ms TTL=47
    Reply from 101.227.253.14: bytes=32 time=73ms TTL=47
    Reply from 101.227.253.14: bytes=32 time=72ms TTL=47

    Ping statistics for 101.227.253.14:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 58ms, Maximum = 73ms, Average = 67ms

    ping.chinaz.com

    服务器wget速度

    [root@i-488-27138-VM ~]# wget http://cachefly.cachefly.net/100mb.test
    --2013-08-14 17:55:41-- http://cachefly.cachefly.net/100mb.test
    Resolving 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]

    aliyun里面wget

    [root@AY1304101837xxxxxdd ~]# wget http://101.227.253.14:8000/100mb.test
    --2013-08-15 10:04:33-- http://101.227.253.14:8000/100mb.test
    Connecting to 101.227.253.14:8000... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 104857600 (100M) [application/octet-stream]
    Saving to: `100mb.test'

    100%[======================================>] 104,857,600 512K/s in 3m 12s

    2013-08-15 10:07:46 (532 KB/s) - `100mb.test' saved [104857600/104857600]

    7. 用unixbench测试VPS性能(详细步骤)

    取得root权限,然后随便找个目录,比如可以cd ~或者cd /tmp
    yum -y install gcc
    wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
    tar -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

    总结:
    可能是刚刚开放测试,后台功能不全,bug多(重装系统后,密码登陆进不去,提示密码错误,重置很多次后才成功),重装次数限制8小时/次。价格没有优势。中国特色网络(无语),对联通、教育网来说有点慢,2M带宽平均500k左右,dd磁盘速度50+M/s,还算可以,比aliyun好多了(ps:aliyun测试25M/s),从Benchmarks得分来看1000+,分数不错。

    原文:http://blog.linuxeye.com/353.html
    8 条回复    2014-05-18 22:59:38 +08:00
    kelvinli
        1
    kelvinli  
       2013-08-15 10:56:06 +08:00
    国外好多VPS都开始用SSD了 50M/s的io速度 太慢了.
    yesono
        2
    yesono  
    OP
       2013-08-15 10:57:22 +08:00
    @kelvinli 是啊,不过比aliyun 要好一些点
    maoyipeng
        3
    maoyipeng  
       2013-08-15 11:48:55 +08:00 via iPad
    我两月以前发过了。。。。
    kelvinli
        4
    kelvinli  
       2013-08-15 13:47:17 +08:00
    @yesono ali确实挺贵的
    cattyhouse
        5
    cattyhouse  
       2013-08-23 09:38:33 +08:00 via iPhone
    这么贵?还是国内网络,翻墙无力了。
    yesono
        6
    yesono  
    OP
       2013-08-28 22:51:00 +08:00
    @cattyhouse 是啊 没啥优势
    Showfom
        7
    Showfom  
       2013-08-29 01:26:46 +08:00
    默认都没开放 80 端口,得域名备案了才行。

    顺便吐槽下,8080 和 443 都没开放。。。
    chackc
        8
    chackc  
       2014-05-18 22:59:38 +08:00
    目前貌似服务器有升级,不知现在跑分如何?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1402 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 16:49 · PVG 00:49 · LAX 08:49 · JFK 11:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.