阿里云系列二机器测评

阿里云在 2015 年末推出了系列二 ECS,因为学习原因我也没有及时贴出测评内容,所以今天也写一篇。官方对系列二的介绍是:

系列 II 较系列 I 进行了硬件升级,采用 Haswell CPU、DDR4 内存,并默认为 I/O
优化实例,同时增加了一些新的指令集,使整数和浮点运算的性能翻倍,整体计算能力更强。

其实,主要就是 CPU 从 E5 V1/V2 升级到了 E5 v3 (Haswell 22nm 架构)并且支持 DDR4 内存(频率更高,对内存指向性计算更有利。)不过还有的就是,系列二默认都是 KVM 虚拟化架构,且都是 I/O 优化实例,磁盘性能更好。

内容

实例信息

杭州 B 区, 1核2G,Centos7,80G 高效磁盘(非SSD)

值得说明的是,由于使用 DDR4 内存性能肯定是有进步,但是以我的水平还无法查看虚拟化环境下的内存频率等性能,所以这里就不能贴出了。

系统信息

System Info
-----------
Processor   : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
CPU Cores   : 1
Frequency   : 2494.224 MHz
Memory      : 1841 MB
Swap        : 0 MB
Uptime      : 16 min,

OS      : S
Arch        : x86_64 (64 Bit)
Kernel      : 3.10.0-123.9.3.el7.x86_64
Hostname    : MF8.BIZ

查看虚拟化

[root@MF8.BIZ ~]# virt-what
    kvm

磁盘信息

[root@MF8.BIZ ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        84G  1.6G   78G   2% /
devtmpfs        913M     0  913M   0% /dev
tmpfs           921M     0  921M   0% /dev/shm
tmpfs           921M  8.3M  913M   1% /run
tmpfs           921M     0  921M   0% /sys/fs/cgroup

CPU信息

[root@MF8.BIZ ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Stepping:              2
CPU MHz:               2494.224
BogoMIPS:              4988.44
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0

磁盘性能

均测试 5 次,这里显示平均数。

[root@MF8.BIZ ~]# dd bs=64k count=4k if=/dev/zero of=test 
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 2.91641 s, 92.0 MB/s

[root@MF8.BIZ ~]# dd bs=64k count=4k if=/dev/zero of=test conv=fdatasync 
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 4.39297 s, 61.1 MB/s

[root@MF8.BIZ ~]# 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, 20.5172 s, 13.1 MB/s

[root@MF8.BIZ ~]# hdparm -t /dev/vda1

/dev/vda1:
 Timing buffered disk reads: 194 MB in  3.01 seconds =  64.53 MB/sec

Unix Benchmark 跑分

由于实例只有 1核心,因此跑分也只有单核心的分数。

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

   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: MF8.BIZ: GNU/Linux
   OS: GNU/Linux -- 3.10.0-123.9.3.el7.x86_64 -- #1 SMP Thu Nov 6 15:06:03 UTC 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (4988.4 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   20:34:19 up 26 min,  1 user,  load average: 0.21, 0.23, 0.15; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Sat Jan 23 2016 20:34:19 - 21:02:28
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       29013404.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3665.3 MWIPS (9.9 s, 7 samples)
Execl Throughput                               3821.5 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        998972.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          273828.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2402552.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1877731.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 340432.0 lps   (10.0 s, 7 samples)
Process Creation                              12130.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5336.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    719.7 lpm   (60.1 s, 2 samples)
System Call Overhead                        3803522.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   29013404.5   2486.2
Double-Precision Whetstone                       55.0       3665.3    666.4
Execl Throughput                                 43.0       3821.5    888.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     998972.1   2522.7
File Copy 256 bufsize 500 maxblocks            1655.0     273828.3   1654.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    2402552.4   4142.3
Pipe Throughput                               12440.0    1877731.1   1509.4
Pipe-based Context Switching                   4000.0     340432.0    851.1
Process Creation                                126.0      12130.8    962.8
Shell Scripts (1 concurrent)                     42.4       5336.9   1258.7
Shell Scripts (8 concurrent)                      6.0        719.7   1199.5
System Call Overhead                          15000.0    3803522.8   2535.7
                                                                   ========
System Benchmarks Index Score                                        1490.8

2 条评论

发表评论