更新:2023年12月12日,UnixBench测试分数值大幅降低。(1 CPU index score: 1300, 2 CPU index score: 2000)
经济性e实例简介
经济型e实例是阿里云面向个人开发者、学生、小微企业,在中小型网站建设、开发测试、轻量级应用等场景推出的全新入门级云服务器,采用Intel® Xeon® Platinum架构处理器,支持1:1、1:2、1:4多种处理器内存配比,具备多重产品优势。
e实例上手测试
本次上手测试的e实例规格为ecs.e-c1m1.large,具备2个vCPU,2GB内存,网络带宽基础0.2Gbit/s,突发带宽2Gbit/s,外网3M固定带宽,40GB ESSD Entry云盘,实测云盘IOPS稳定2120,云盘吞吐量稳定106MB/s。
实例配置系统为 Alibaba Cloud Linux 3,内核版本5.10.134-15.2,/etc/default/grub文件GRUB_CMDLINE_LINUX添加mitigations=off关闭漏洞缓解措施提升系统性能(生产力环境请评估安全性再执行此配置)。
执行 lscpu 命令,结果如下。
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: Alibaba Cloud
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Platinum
BIOS Model name: pc-i440fx-2.1
Stepping: 4
CPU MHz: 2500.000
BogoMIPS: 5000.00
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 33792K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat
从指令集看是Intel ® Xeon ® Platinum二代以下产品,根据CPU family, model, step初步判断是2.5 GHz主频的Intel ® Xeon ® Platinum 8163(Skylake),即是阿里云第五代ECS g5,c5,r5底层CPU。
运行UnixBench进行理论测试。
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: iZ7xvix7hp0239luj0o2o2Z: GNU/Linux
OS: GNU/Linux -- 5.10.134-15.2.al8.x86_64 -- #1 SMP Thu Sep 14 03:42:13 UTC 2023
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) Platinum (5000.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) Platinum (5000.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
22:11:37 up 25 min, 1 user, load average: 0.10, 0.14, 0.25; runlevel 2023-10-31
------------------------------------------------------------------------
Benchmark Run: Tue Oct 31 2023 22:11:37 - 22:39:38
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 41575067.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 6557.7 MWIPS (9.8 s, 7 samples)
Execl Throughput 5018.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1575214.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 450687.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3119525.3 KBps (30.0 s, 2 samples)
Pipe Throughput 2632301.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 53014.0 lps (10.0 s, 7 samples)
Process Creation 9700.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 8189.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1833.6 lpm (60.0 s, 2 samples)
System Call Overhead 2887987.5 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 41575067.1 3562.6
Double-Precision Whetstone 55.0 6557.7 1192.3
Execl Throughput 43.0 5018.4 1167.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 1575214.0 3977.8
File Copy 256 bufsize 500 maxblocks 1655.0 450687.5 2723.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 3119525.3 5378.5
Pipe Throughput 12440.0 2632301.9 2116.0
Pipe-based Context Switching 4000.0 53014.0 132.5
Process Creation 126.0 9700.7 769.9
Shell Scripts (1 concurrent) 42.4 8189.5 1931.5
Shell Scripts (8 concurrent) 6.0 1833.6 3056.1
System Call Overhead 15000.0 2887987.5 1925.3
========
System Benchmarks Index Score 1728.0
------------------------------------------------------------------------
Benchmark Run: Tue Oct 31 2023 22:39:38 - 23:07:42
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 81862503.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 13084.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 8253.0 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 2913529.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 893296.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 5077736.8 KBps (30.0 s, 2 samples)
Pipe Throughput 5160241.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 660864.5 lps (10.0 s, 7 samples)
Process Creation 25571.2 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 13852.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1849.2 lpm (60.0 s, 2 samples)
System Call Overhead 5783125.4 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 81862503.2 7014.8
Double-Precision Whetstone 55.0 13084.9 2379.1
Execl Throughput 43.0 8253.0 1919.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 2913529.0 7357.4
File Copy 256 bufsize 500 maxblocks 1655.0 893296.5 5397.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 5077736.8 8754.7
Pipe Throughput 12440.0 5160241.2 4148.1
Pipe-based Context Switching 4000.0 660864.5 1652.2
Process Creation 126.0 25571.2 2029.5
Shell Scripts (1 concurrent) 42.4 13852.1 3267.0
Shell Scripts (8 concurrent) 6.0 1849.2 3082.0
System Call Overhead 15000.0 5783125.4 3855.4
========
System Benchmarks Index Score 3672.2
可以看到单个vCPU成绩在1700分左右,2个vCPU成绩在3600左右,CPU理论测试成绩与第五代ECS基本持平,考虑到e实例属于共享性实例,实际实例性能可能会有波动。
最后附上Geekbench 6性能测试结果链接 https://browser.geekbench.com/v6/cpu/3332405 ,毫无疑问e实例就是处理第五代ECS的产物,不过包年价格99元对于个人开发者来讲还是很不错的。
阿里云e实例详情链接 https://www.aliyun.com/
发表评论须遵守中华人民共和国相关法律法规。违规评论将会被删除。
Comments must subject to the relevant laws and regulations of the People’s Republic of China. Offending comments will be deleted.