DigitalOcean Premium Intel Droplets 实测 CPU

作者:


最后更新于 | 最初发布于 | 分类:


这是我做的另外一个测试,新开了 SFO3 区域的 Intel Premium Droplet。
测试的结果是这样的。

root@tulip:~# curl -s https://raw.githubusercontent.com/masonr/yet-another-bench
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2020-12-29 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Thu Mar 11 04:53:29 UTC 2021

Basic System Information:
---------------------------------
Processor : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
CPU cores : 1 @ 2494.140 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 981.3 MiB
Swap : 0.0 KiB
Disk : 24.2 GiB

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 178.27 MB/s (44.5k) | 1.56 GB/s (24.4k)
Write | 178.74 MB/s (44.6k) | 1.57 GB/s (24.5k)
Total | 357.02 MB/s (89.2k) | 3.13 GB/s (48.9k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 2.50 GB/s (4.9k) | 2.72 GB/s (2.6k)
Write | 2.64 GB/s (5.1k) | 2.90 GB/s (2.8k)
Total | 5.15 GB/s (10.0k) | 5.62 GB/s (5.4k)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.23 Gbits/sec | 1.18 Gbits/sec
Online.net | Paris, FR (10G) | 1.34 Gbits/sec | 1.22 Gbits/sec
WorldStream | The Netherlands (10G) | 1.12 Gbits/sec | 1.21 Gbits/sec
Biznet | Jakarta, Indonesia (1G) | 552 Mbits/sec | 66.0 Mbits/sec
Clouvider | NYC, NY, US (10G) | 1.88 Gbits/sec | 2.52 Gbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 1.79 Gbits/sec | 2.16 Gbits/sec
Clouvider | Los Angeles, CA, US (10G) | 2.00 Gbits/sec | 9.11 Gbits/sec
Iveloz Telecom | Sao Paulo, BR (2G) | 809 Mbits/sec | 954 Mbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.24 Gbits/sec | 1.21 Gbits/sec
Online.net | Paris, FR (10G) | 1.25 Gbits/sec | 1.12 Gbits/sec
WorldStream | The Netherlands (10G) | 1.15 Gbits/sec | 1.21 Gbits/sec
Clouvider | NYC, NY, US (10G) | 1.90 Gbits/sec | 2.51 Gbits/sec
Clouvider | Los Angeles, CA, US (10G) | 2.00 Gbits/sec | 7.83 Gbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test | Value
|
Single Core | 779
Multi Core | 771
Full Test | https://browser.geekbench.com/v5/cpu/6892628

在测试过程中,可以看到当前的 intel Premium Droplet 的得分比 AMD CPU 类型的好很多。
比如 Bubble.php
AMD 0.075434923171997
Intel 0.03570294380188
差不多快一倍

micro_bench.php
AMD CPU 的得分 2.094,详细如下:
empty_loop 0.018
func() 0.055 0.037
undef_func() 0.061 0.043
int_func() 0.051 0.033
$x = self::$x 0.114 0.095
self::$x = 0 0.072 0.054
isset(self::$x) 0.076 0.058
empty(self::$x) 0.080 0.061
$x = Foo::$x 0.040 0.022
Foo::$x = 0 0.033 0.015
isset(Foo::$x) 0.038 0.020
empty(Foo::$x) 0.042 0.023
self::f() 0.083 0.064
Foo::f() 0.069 0.051
$x = $this->x 0.035 0.017
$this->x = 0 0.033 0.015
$this->x += 2 0.055 0.037
++$this->x 0.049 0.031
--$this->x 0.050 0.032
$this->x++ 0.049 0.031
$this->x-- 0.048 0.030
isset($this->x) 0.052 0.034
empty($this->x) 0.061 0.043
$this->f() 0.070 0.052
$x = Foo::TEST 0.060 0.041
new Foo() 0.192 0.173
$x = TEST 0.029 0.011
$x = $_GET 0.056 0.038
$x = $GLOBALS['v'] 0.102 0.084
$x = $hash['v'] 0.065 0.047
$x = $str[0] 0.048 0.030
$x = $a ?: null 0.047 0.028
$x = $f ?: tmp 0.047 0.029
$x = $f ? $f : $a 0.054 0.036
$x = $f ? $f : tmp 0.056 0.038
------------------------
Total 2.094

Intel 的得分是 1.013。详细如下:
empty_loop 0.003
func() 0.005 0.003
undef_func() 0.003 0.000
int_func() 0.005 0.002
$x = self::$x 0.074 0.072
self::$x = 0 0.075 0.072
isset(self::$x) 0.082 0.080
empty(self::$x) 0.079 0.076
$x = Foo::$x 0.033 0.030
Foo::$x = 0 0.028 0.026
isset(Foo::$x) 0.029 0.027
empty(Foo::$x) 0.034 0.032
self::f() 0.002 0.000
Foo::f() 0.005 0.002
$x = $this->x 0.011 0.008
$this->x = 0 0.015 0.013
$this->x += 2 0.013 0.010
++$this->x 0.012 0.009
--$this->x 0.013 0.010
$this->x++ 0.012 0.009
$this->x-- 0.012 0.010
isset($this->x) 0.047 0.044
empty($this->x) 0.052 0.049
$this->f() 0.028 0.026
$x = Foo::TEST 0.041 0.039
new Foo() 0.160 0.157
$x = TEST 0.011 0.009
$x = $_GET 0.045 0.043
$x = $GLOBALS['v'] 0.064 0.061
$x = $hash['v'] 0.002 0.000
$x = $str[0] 0.005 0.002
$x = $a ?: null 0.002 0.000
$x = $f ?: tmp 0.005 0.002
$x = $f ? $f : $a 0.002 0.000
$x = $f ? $f : tmp 0.005 0.002
------------------------
Total 1.013

Bench.php 的评测
AMD 的得分是 0.409,详细结果:
simple 0.008
simplecall 0.004
simpleucall 0.014
simpleudcall 0.015
mandel 0.088
mandel2 0.090
ackermann(7) 0.015
ary(50000) 0.004
ary2(50000) 0.003
ary3(2000) 0.032
fibo(30) 0.056
hash1(50000) 0.006
hash2(500) 0.007
heapsort(20000) 0.020
matrix(20) 0.019
nestedloop(12) 0.015
sieve(30) 0.011
strcat(200000) 0.003
------------------------
Total 0.409

Intel 的得分是0.101。详细的如下:
simple 0.002
simplecall 0.001
simpleucall 0.001
simpleudcall 0.001
mandel 0.007
mandel2 0.009
ackermann(7) 0.007
ary(50000) 0.006
ary2(50000) 0.005
ary3(2000) 0.009
fibo(30) 0.019
hash1(50000) 0.007
hash2(500) 0.004
heapsort(20000) 0.007
matrix(20) 0.006
nestedloop(12) 0.003
sieve(30) 0.003
strcat(200000) 0.003
------------------------
Total 0.101


根据最开始的测试检查中,可以看到 CPU 类型显示的是 Processor : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz。
这并不是原先 DigitalOcean 说的第二代英特尔 Xeon 可扩展处理器,但是在 CPU 频率这部分显示的却是正确的,2.5GHz。这就有点儿困惑了,于是开了 Support Ticket,寻求技术支持,最后的得到的确认答复是,CPU 标识错误,实际使用的 CPU 就是 Xeon Gold 6248。目前如果新建普通的 Droplet ,获得的 CPU 则是 6140。看看比较,单线程的分数是 2326 vs 1840,性能好25%以上。我一般也就是开一个 vCPU 的,有必要就多开几个 droplets。所以对我而言单线程的分数比较重要。
gold-6248.jpg

https://www.intel.com/content/www/us/en/products/sku/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz/specifications.html



搜索
关于
David Yin
研究(SEO)搜索引擎优化排名和(PPC)竞价排名技术,总结搜索营销学的各种方法和趋势。专业SEO优化研究,致力于搜索引擎优化技术的普及和推广。
David Yin
Email:seo[AT]g2soft.net
版权说明
如果想转载,而又不明白转载的条件,请看本站的详细版权说明
推荐
Dreamhost Hosting
使用优惠码“save252015”,节省更多,每月只要 $2.59。
归档
标签云
热门标签