各大云服务器厂商 云服务器 和 轻量应用服务器 性能评测和价格对比。云服务器和轻量服务器的区别。

本文章参与测试的云服务器厂商有:阿里云腾讯云华为云Ucloud(优刻得)天翼云

测试项目有:CPU性能,内存读写速度、硬盘IO速度

测试用的脚本和软件有:lemonbench、Geekbench5、CPU-Z、Unixbench、宝塔面板、phoronix-test-suite

本次测评对比的云服务器轻量应用服务器配置统一为 2核4G,系统统一为Centos7(CPU-Z测试时用Windows server2019),华为云因为没有轻量选的是HECS云耀云服务器,应该跟轻量差不多,Ucloud也是没有轻量所以选的是共享型云服务器,全部服务器都是自费购买。

这篇文章目的是为大家提供一个参考,方便大家选择适合自己的服务器。

测试结果总的来说云服务器是比轻量应用服务器略强的,而且云服务器扩展性更好。

高性价比和便宜的VPS/云服务器推荐:https://blog.zeruns.tech/archives/383.html

其他服务器评测文章:https://blog.vpszj.cn/

天翼云8折优惠购买地址:https://blog.zeruns.tech/archives/659.html

价格对比

各家云服务商选择的规格型号和价格对比。

价格是常规价格,非活动价,如果是新用户或活动时买会便宜很多。

云服务器

系统盘是默认大小没调整,没有加数据盘。

下面价格的括号里的是5兆带宽占的价格。

阿里云腾讯云华为云Ucloud天翼云
规格型号AMD 计算型 c7a(ecs.c7a.large)标准型SA2(SA2.MEDIUM4)通用计算型(s6.large.2)快杰O型(AMD)通用型(s6.large.2)
CPUAMD EPYC 7T83AMD EPYC 7K62Intel Xeon Gold 6278CAMD EPYC2 7543Intel Xeon Gold 6278C
价格272元/月(带宽125元)255元/月(带宽115元)266元/月(带宽115元)236元/月(带宽125元)266元/月(带宽100元)

轻量应用服务器

阿里云腾讯云华为云Ucloud
规格型号轻量应用服务器(2核4G)轻量应用服务器(2核4G)HECS(2核4G)快杰共享型(2核4G)
CPUIntel(R) Xeon(R) Platinum 8269CYIntel(R) Xeon(R) Gold 6133Intel(R) Xeon(R) Gold 6278CAMD EPYC™ ROME 7H12
带宽5Mbps6Mbps5Mbps5Mbps
流量1100GB/月1000GB/月不限不限
系统盘60GB60GB40GB40GB
地区广州广州贵阳一华北二(乌兰察布)
价格130元/月100元/月224.96元/月216元

优刻得双十一,2核4G,仅需311元/年:https://www.ucloud.cn/site/active/kuaijie.html?invitation_code=C1x5E3EE29AA7B9#wulanchabu

华为云,2核4G 5兆,仅需116元/年:https://url.zeruns.tech/n3RdK

腾讯云双十一,4核8G 10兆,仅需300元/年:https://curl.qcloud.com/pvpzEIzN

天翼云双十一,4核8G 5兆,仅需386元/年:https://blog.zeruns.tech/archives/659.html

阿里云,2核4G,仅需678元/年:https://www.aliyun.com/daily-act/ecs/activity_selection?userCode=jdjc69nf

CPU性能测试

这个环节使用的测试软件和脚本有:lemonbench、Geekbench5、CPU-Z、Unixbench、宝塔面板、phoronix-test-suite。

Linux服务器/VPS性能和带宽测试脚本汇总:https://blog.zeruns.tech/archives/533.html

lemonbench

测试脚本:

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full

测试结果,分数越高越好:

云服务器

阿里云腾讯云华为云Ucloud天翼云
单核37041633111540561120
多核41221720222780832235

轻量应用服务器

阿里云腾讯云华为云Ucloud
单核108494911171620
多核2145158522313239

Geekbench 5

测试脚本:

wget --no-check-certificate https://img.zeruns.tech/down/Geekbench-5.4.3-Linux.tar.gz && tar xf Geekbench-5.4.3-Linux.tar.gz && cd Geekbench-5.4.3-Linux

./geekbench_x86_64

测试结果,分数越高越好:

云服务器

阿里云腾讯云华为云Ucloud天翼云
单核10969999091263906
多核14851317178824601777

详细测试结果信息:

阿里云:https://url.zeruns.tech/8QXeR

腾讯云:https://url.zeruns.tech/7ik84

华为云:https://url.zeruns.tech/Psxw1

Ucloud:https://url.zeruns.tech/aUHaq

天翼云:https://url.zeruns.tech/n4w77

轻量应用服务器

阿里云腾讯云华为云Ucloud
单核888803916919
多核175496018001712

详细测试结果信息:

阿里云:https://url.zeruns.tech/ss773

腾讯云:https://url.zeruns.tech/Utrkq

华为云:https://url.zeruns.tech/ETSTA

Ucloud:https://url.zeruns.tech/WTG3t

CPU-Z

CPU-Z版本:2.01.0.x64

测试基准:17.01.64

测试结果,分数越高越好:

云服务器

阿里云腾讯云华为云Ucloud天翼云
单核319.1268.9353.7450.5347.8
多核572.7511.9726.5904.4711
多线程倍率1.791.92.052.012.04

轻量应用服务器

阿里云腾讯云华为云Ucloud
单核359.7205.9357.1366.9
多核717.1390.5736.8747.6
多线程倍率1.991.902.062.04

Unixbench

测试脚本:

wget --no-check-certificate https://jsdelivr.zeruns.tech/gh/teddysun/across@master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh

测试结果,分数越高越好:

云服务器

阿里云腾讯云华为云Ucloud天翼云
单核1814.41547.11190.32310.81434.4
多核2665.02530.82229.73094.72506.9

轻量应用服务器

阿里云腾讯云华为云Ucloud
单核891.1872.51297.11766.3
多核1747.41307.32368.92615.4

宝塔跑分

宝塔官网:https://www.bt.cn/?invite_code=MV91a2pjZnQ=

测试结果,分数越高越好:

云服务器

阿里云腾讯云华为云Ucloud天翼云
单核30083031203047722055
多核60166063406195454110

轻量应用服务器

阿里云腾讯云华为云Ucloud
单核2077207120714165
多核4154414241438330

phoronix-test-suite

测试脚本:

wget http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-7.4.0.tar.gz && tar -xzvf phoronix-test-suite-7.4.0.tar.gz && cd phoronix-test-suite/ && ./install-sh
yum install php-cli php-xml
phoronix-test-suite benchmark smallpt

测试结果(数值越小越好):

云服务器

阿里云腾讯云华为云Ucloud天翼云
用时(秒)116.54118.2394.9579.2693.83

阿里云:https://url.zeruns.tech/tW09f

腾讯云:https://url.zeruns.tech/sQ9Zm

华为云:https://url.zeruns.tech/8LM5o

Ucloud:https://url.zeruns.tech/H6yZ9

天翼云:https://url.zeruns.tech/1hoji

轻量应用服务器

阿里云腾讯云华为云Ucloud
用时(秒)96.61 93.8191.55

内存速度

这个环节使用的测试脚本是:lemonbench,测的是内存的读取和写入速度。

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full

测试结果(数字越大越好):

云服务器

阿里云腾讯云华为云Ucloud天翼云
读取(GB/s)38.2244.2521.9751.1921.72
写入(GB/s)14.2519.5514.4325.2915.59

轻量应用服务器

阿里云腾讯云华为云Ucloud
读取(GB/s)20.9818.4721.9842.49
写入(GB/s)14.8613.0814.4418.82

硬盘速度

这个环节使用的测试脚本是:lemonbench,测的是硬盘的读取和写入速度。

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full

测试结果(数字越大越好):

云服务器

阿里云腾讯云华为云Ucloud天翼云
100MB-4K Block 读取(MB/s)9.79.416.016.814.8
100MB-4K Block 写入(MB/s)10.34.310.616.86.7
100MB-1M Block 读取(MB/s)83728666848571.9
100MB-1M Block 写入(MB/s)71111926548371.2

轻量应用服务器

阿里云腾讯云华为云Ucloud
100MB-4K Block 读取(MB/s)11.211.017.315.9
100MB-4K Block 写入(MB/s)11.14.89.316.8
100MB-1M Block 读取(MB/s)587154312483
100MB-1M Block 写入(MB/s)57898.9281479

推荐阅读

最后修改:2024 年 03 月 07 日
如果您觉得我的文章有帮助,请随意赞赏,赞赏有助于激发博主的热情,感谢!