各大厂商云服务器性能评测对比
阿里云、腾讯云、华为云、Ucloud(优刻得)、天翼云 的云服务器性能测试和价格对比。
测试项目有:CPU性能,内存读写速度、硬盘IO速度
测试用的脚本和软件有:lemonbench、Geekbench5、CPU-Z、Unixbench、宝塔面板、phoronix-test-suite
本次测评对比的云服务器配置统一为 2核4G 5兆,系统统一为Centos7(CPU-Z测试时用Windows server),地区全部选择乌兰察布(天翼云选的西安2,腾讯云选的北京),全部云服务器都是自费购买。
要购买天翼云的记得避开内蒙和贵州地区的,这两个地区的服务器我买过测试过性能比其他地区的低很多。
这篇文章目的是为大家提供一个参考,方便大家选择适合自己的服务器。
高性价比和便宜的VPS/云服务器推荐:https://blog.zeruns.tech/archives/383.html
其他服务器评测文章:/
天翼云8折优惠购买地址:https://blog.zeruns.tech/archives/659.html
价格对比
各家云服务商选择的规格型号和价格对比,下面价格的括号里的是5兆带宽占的价格。
系统盘是默认大小没调整,没有加数据盘。
价格是常规价格,非活动价,如果是新用户或活动时买会便宜很多。
优刻得618,2核4G,仅需166元/年:/site/active/kuaijie.html?invitation_code=C1x5E3EE29AA7B9#wulanchabu
华为云618,2核4G 5兆,仅需209元/年:https://url.zeruns.tech/n3RdK
腾讯云618,4核8G 10兆,仅需366元/年:/XJxLJI22
天翼云618,2核4G 5兆,仅需256.5元/年:https://blog.zeruns.tech/archives/659.html
阿里云,2核4G,仅需678元/年:/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
测试结果,分数越高越好:
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
测试结果,分数越高越好:
详细测试结果信息:
阿里云: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
CPU-Z
CPU-Z版本:2.01.0.x64
测试基准:17.01.64
测试结果,分数越高越好:
Unixbench
测试脚本:
wget --no-check-certificate https://jsdelivr.zeruns.tech/gh/teddysun/across@master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
测试结果,分数越高越好:
宝塔跑分
宝塔官网:/?invite_code=MV91a2pjZnQ=
测试结果,分数越高越好:
phoronix-test-suite
测试脚本:
wget /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-shyum install php-cli php-xmlphoronix-test-suite benchmark smallpt
测试结果(数值越小越好):
阿里云: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
内存速度
这个环节使用的测试脚本是:lemonbench,测的是内存的读取和写入速度。
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full
测试结果(数字越大越好):
硬盘速度
这个环节使用的测试脚本是:lemonbench,测的是硬盘的读取和写入速度。
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full
测试结果(数字越大越好):
总结
Ucloud(优刻得)在各项性能测试中都是最强的,价格也是最低的。
然后华为云和天翼云性能比较相近,控制台和购买页面也很像,天翼云应该是用的华为云的系统,这两家的价格也不贵,性价比还行,天翼云找代理商还可以更便宜。
阿里云的性能也不错,但价格是这几家中最贵的,但也是这几家里最早做云计算的,稳定性应该也是最好的。
腾讯云的性能相对其他几家差了点,但价格相对还算便宜,特别是活动时特别便宜。