SEO 网站优化推广 SEO 网站优化推广

尝试 DigitalOcean AMD VPS 并测试其性能

作者:


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


过去那些年的 VPS 服务商一直是用的 Intel 的 CPU,所以我用的也只能是 Intel 的,测试性能也只有这个。现在可以用 AMD 的 EPYC 的CPU了。于是今天就来开一台 DigitalOcean 的 Premium Droplet,用的是 AMD CPU。
官方的说明是
AMD Premium Droplets 目前运行基于 "Zen 2 "架构的第二代 AMD EPYC™ 处理器,其特点是通常所说的罗马架构。这些 AMD EPYC CPU 的基本频率为2.0 GHz,最大Turbo 频率为3.35 GHz。

----------------------------------------------------------------------
 CPU Model             : DO-Premium-AMD
 CPU Cores             : 1
 CPU Frequency         : 1996.248 MHz
 CPU Cache             : 512 KB
 Total Disk            : 49.3 GB (1.7 GB Used)
 Total Mem             : 1987 MB (142 MB Used)
 Total Swap            : 0 MB (0 MB Used)
 System uptime         : 0 days, 0 hour 1 min
 Load average          : 0.84, 0.31, 0.11
 OS                    : Ubuntu 20.04.1 LTS
 Arch                  : x86_64 (64 Bit)
 Kernel                : 5.4.0-51-generic
 TCP CC                : cubic
 Virtualization        : KVM
 Organization          : AS14061 DigitalOcean, LLC
 Location              : Atlantic City / US
 Region                : New Jersey
----------------------------------------------------------------------
 I/O Speed(1st run)    : 1.3 GB/s
 I/O Speed(2nd run)    : 1.6 GB/s
 I/O Speed(3rd run)    : 1.6 GB/s
 Average I/O speed     : 1536.0 MB/s
----------------------------------------------------------------------
 Node Name        Upload Speed      Download Speed      Latency
 Speedtest.net    363.30 Mbps       836.01 Mbps         39.83 ms
 Beijing    CU    49.50 Mbps        779.54 Mbps         245.43 ms
 Shanghai   CT    18.97 Mbps        4445.13 Mbps        216.16 ms
 Shanghai   CU    558.76 Mbps       4066.14 Mbps        151.33 ms
 Guangzhou  CT    1.64 Mbps         3402.88 Mbps        172.16 ms
 Guangzhou  CU    470.46 Mbps       3950.56 Mbps        187.16 ms
 Shenzhen   CU    417.58 Mbps       2848.28 Mbps        212.47 ms
 Hongkong   CN    616.16 Mbps       4664.98 Mbps        170.85 ms
 Singapore  SG    495.77 Mbps       4339.71 Mbps        186.44 ms
 Tokyo      JP    14.57 Mbps        5.79 Mbps           110.86 ms
----------------------------------------------------------------------

以上是新建 VPS 登录后,直接做的测试,接下来,第二次做测试之前,先更新系统,在修改 TCP CC 为 BBR,在重启之后,做的测试。

----------------------------------------------------------------------
 CPU Model             : DO-Premium-AMD
 CPU Cores             : 1
 CPU Frequency         : 1996.248 MHz
 CPU Cache             : 512 KB
 Total Disk            : 49.3 GB (1.9 GB Used)
 Total Mem             : 1987 MB (120 MB Used)
 Total Swap            : 0 MB (0 MB Used)
 System uptime         : 0 days, 0 hour 3 min
 Load average          : 0.01, 0.04, 0.01
 OS                    : Ubuntu 20.04.2 LTS
 Arch                  : x86_64 (64 Bit)
 Kernel                : 5.4.0-66-generic
 TCP CC                : bbr
 Virtualization        : KVM
 Organization          : AS14061 DigitalOcean, LLC
 Location              : Atlantic City / US
 Region                : New Jersey
----------------------------------------------------------------------
 I/O Speed(1st run)    : 1.4 GB/s
 I/O Speed(2nd run)    : 1.5 GB/s
 I/O Speed(3rd run)    : 1.5 GB/s
 Average I/O speed     : 1501.9 MB/s
----------------------------------------------------------------------
 Node Name        Upload Speed      Download Speed      Latency
 Speedtest.net    614.56 Mbps       880.98 Mbps         40.12 ms
 Beijing    CU    162.93 Mbps       68.46 Mbps          209.38 ms
 Shanghai   CT    97.11 Mbps        3573.52 Mbps        145.88 ms
 Shanghai   CU    477.62 Mbps       4334.38 Mbps        207.15 ms
 Guangzhou  CT    51.48 Mbps        3022.62 Mbps        178.84 ms
 Guangzhou  CU    253.42 Mbps       3548.51 Mbps        197.91 ms
 Shenzhen   CU    225.60 Mbps       276.20 Mbps         190.76 ms
 Hongkong   CN    471.13 Mbps       4664.52 Mbps        167.41 ms
 Singapore  SG    422.35 Mbps       4302.55 Mbps        186.75 ms
 Tokyo      JP    161.85 Mbps       6.33 Mbps           107.60 ms
----------------------------------------------------------------------
截图的结果:
amd-premium-droplet-bench.jpg
跟我之前新建的 Intel 的 Droplet 比起来,好像IO性能更好。

虽然在系统里面看不到实际的 CPU 型号,但可以从 Digital Ocean 透露的信息,我猜测的 AMD CPU 是 AMD EPYC 7702。 Intel CPU 是 Intel Xeon Gold 6248

在使用另外一个测试工具做了测试。
Yet Another Benchmark Script (YABS)
curl -s https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash

root@daisy:~# curl -s https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2020-12-29                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Tue Mar  2 05:04:08 UTC 2021

Basic System Information:
---------------------------------
Processor  : DO-Premium-AMD
CPU cores  : 1 @ 1996.248 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 1.9 GiB
Swap       : 0.0 KiB
Disk       : 48.4 GiB

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 166.88 MB/s  (41.7k) | 725.25 MB/s  (11.3k)
Write      | 167.32 MB/s  (41.8k) | 729.07 MB/s  (11.3k)
Total      | 334.20 MB/s  (83.5k) | 1.45 GB/s    (22.7k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 1.11 GB/s     (2.1k) | 1.09 GB/s     (1.0k)
Write      | 1.17 GB/s     (2.2k) | 1.17 GB/s     (1.1k)
Total      | 2.28 GB/s     (4.4k) | 2.26 GB/s     (2.2k)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 1.21 Gbits/sec  | 1.17 Gbits/sec
Online.net      | Paris, FR (10G)           | 1.32 Gbits/sec  | 1.20 Gbits/sec
WorldStream     | The Netherlands (10G)     | 1.14 Gbits/sec  | 1.20 Gbits/sec
Biznet          | Jakarta, Indonesia (1G)   | busy            | busy
Clouvider       | NYC, NY, US (10G)         | 1.91 Gbits/sec  | 2.45 Gbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 267 Mbits/sec   | 2.43 Gbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 1.99 Gbits/sec  | 20.8 Mbits/sec
Iveloz Telecom  | Sao Paulo, BR (2G)        | 766 Mbits/sec   | 954 Mbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 1.23 Gbits/sec  | 1.20 Gbits/sec
Online.net      | Paris, FR (10G)           | 1.31 Gbits/sec  | 1.20 Gbits/sec
WorldStream     | The Netherlands (10G)     | 1.22 Gbits/sec  | 1.25 Gbits/sec
Clouvider       | NYC, NY, US (10G)         | 1.90 Gbits/sec  | 2.48 Gbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 1.98 Gbits/sec  | 17.7 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 861
Multi Core      | 854
Full Test       | https://browser.geekbench.com/v5/cpu/6754972
可以看一下 Geekbench 5 性能比较,同当前我在用的 DigitalOcean 普通的SSD VPS 比较,稍微好一点。https://browser.geekbench.com/v5/cpu/compare/6736921?baseline=6754972

接下来,就打算把原来我用的普通 DigitalOcean VPS 换成这个 AMD Premium Droplet。


分享:
Share on Facebook Share on Twitter

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