Google / VPN技术 / 互联网技术 · 2024年2月26日 0

如何评估VPS的性能和网速?全面介绍VPS测试脚本

使用VPS性能测试脚本可以对VPS进行测试,提供参考。以下是一些常用的VPS测试脚本:

测试脚本使用方法

通过ssh登录vps后,选取想要运行的测试脚本,脚本会自动对服务器VPS的硬件性能和网速进行测试。

VPS性能网速测试脚本大全

vps测试性能网速的脚本有很多,下面是常见的,你可以随便选择一个使用。

UnixBench性能跑分脚本

UnixBench是一个类unix系统下的性能测试工具,被广泛用于测试linux系统主机的性能。

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh chmod +x unixbench.sh ./unixbench.sh

部分机器测试结果参考:

pacificrack的3核、2GB KVM VPS得分:1025.8

teddysun大佬512MB,2核,OpenVZ的VPS得分:1058.3

ion的2核4G KVM VPS得分:1620.4

ZBench

ZBench是一个VPS性能测试脚本,集合了Superspeed.sh和bench.sh两个脚本的功能。

开源地址:https://github.com/Hidove/ZBench

中文版:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

英文版:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench.sh

Superspeed

Superspeed主要是测试VPS网速的一个脚本,结合了Superspeed.sh的部分内容。

开源地址:https://github.com/oooldking/script

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh

bench.sh

bench.sh是一个VPS测试脚本,适用于各种Linux发行版的网络和IO测试。

使用方法:

wget -qO- bench.sh | bash

或者

curl -Lso- bench.sh | bash

以上是常用的VPS性能测试脚本,其他脚本功能类似。

SuperBench.sh

SuperBench.sh是整合了bench脚本的一个VPS测速脚本。

开源地址:https://github.com/oooldking/script/blob/master/superbench.sh

wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

Aniverse

输入其中一条命令即可测试VPS性能。

github地址:https://github.com/Aniverse/A

bash -c "$(wget -qO- https://github.com/Aniverse/A/raw/i/a)" bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a) bash <(curl -s https://raw.githubusercontent.com/Aniverse/A/i/a) wget -q https://github.com/Aniverse/A/raw/i/a && bash a

手动测试VPS网速

国外网络环境复杂,VPS测试脚本结果不够完善,最好自己ping一下服务器IP,查看丢包率。

如果不会手动ping测试服务器网速,可以参考下面的方法。

VPS回程路由测试

一些VPS的网络去程和回程线路可能不同,可以在VPS上测试回程路由。

wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh bash testrace.sh

You may also like...

发表评论

电子邮件地址不会被公开。 必填项已用*标注

openmagic_ai_banner