Why you need VPS Benchmark Scripts
The performance and network speed of a VPS are topics of great concern to everyone. How to quickly and easily test the performance, stability, and network speed of a VPS is a topic that everyone is very interested in.
Fortunately, many experts have prepared some one-click VPS detection scripts for us, which help us to fully understand the network status and system performance of the VPS, and thus help us to better choose the cloud service provider.
Recommended VPS Benchmark Scripts
This article will introduce as many as 15 commonly used VPS Benchmark Scripts, including graphical test tools and open source tools.
Common VPS speed test scripts
Depending on the test purpose and the performance indicators targeted, the commonly used VPS speed test scripts can be divided into the following categories:
I. Network performance test scripts:
This type of script is aimed at comprehensively evaluating the network connectivity and bandwidth performance of the VPS. Typical representatives include bench.sh, SuperBench.sh, etc.
They will test the download speed of the VPS to multiple nodes around the world, and also test the actual upload and download speeds. They also cover the testing of indicators such as packet loss rate and latency.
1.Bench.sh
Written by the big guy Teddysun, it is a one-click evaluation of the network benchmark performance of the VPS, including download speed test, IPv6 support, I/O test, etc., and directly displays the system configuration information.
Usage example: wget -qO- bench.sh | bash
2.SuperBench.sh
Improved display method based on Bench.sh, added multi-line speed test, and distinguishes file size during I/O test.
Usage example: wget -qO- git.io/superbench.sh | bash
3.Speedtest-Cli
A multi-threaded parallel test tool for upload/download network speed developed by Sivel, supporting Python 2.4-3.4 environment.
Usage example: wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py && chmod a+rx speedtest.py && python speedtest.py
II. Comprehensive system performance test scripts:
Comprehensive system performance test scripts focus on the overall hardware configuration performance of the VPS, such as UnixBench.sh, LemonBench.sh, etc. These tools usually include multiple test modules such as CPU, memory, disk I/O, and process scheduling, and comprehensively characterize the computing power and response speed of the system.
4.UnixBench.sh
This script can test the performance indicators of multiple modules of the host’s Linux system, including system calls, read and write, processes, and arithmetic main tests, providing test data to comprehensively examine the system’s capabilities.
Usage example: wget –no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
5.LemonBench.sh
A comprehensive Linux performance test tool, including network speed, disk I/O, route tracing, and performance of multiple hosts, and can generate HTML report documents.
Usage example: wget -qO- https://git.io/lemonbench.sh | bash
6.GeekBench
A cross-platform benchmark testing program, focusing on CPU single-core and multi-core performance scoring, and can also test GPU and computer vision indicators.
Usage example: curl -sL yabs.sh | bash
III. Backhaul route test scripts:
For VPS users, understanding the backhaul route situation from the server’s machine room to different ISP networks is also very important. Scripts like SuperTrace.sh and Besttrace4Linux can provide detailed route visualization information to help analyze the connectivity quality.
7.SuperTrace.sh
Also from the same author as the SuperBench.sh script, it is mainly used to test the backhaul route link conditions of all VPS connections to China’s telecom, unicom, mobile, and education networks.
Usage example: wget -qO- oldking.net/supertrace.sh | bash
8.Besttrace4Linux
Initiates a traceroute request for the backhaul route on Linux/Mac/BSD systems, supporting link visualization and JSON format output.
Usage example: wget http://cdn.ipip.net/17mon/besttrace4linux.zip && unzip besttrace4linux.zip && chmod +x besttrace && ./besttrace -q1 target IP
9.mPing.sh
This is also a commonly used speed test software in China. The main purpose is to test the backhaul Ping value of the VPS connecting to multiple operator nodes in China, supporting the selection of multiple regions.
Usage example: wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh && bash mping.sh
IV. Ping test scripts:
Ping test scripts like PrettyPing.sh and mPing.sh are aimed at detecting the latency and packet loss of the VPS to various networks, which is very useful for selecting low-latency nodes for service deployment.
10.PrettyPing.sh
A high-quality ping test tool, with an animated interface that displays the results beautifully, showing geographic location and route information.
Usage example: wget https://raw.githubusercontent.com/denilsonsa/prettyping/master/prettyping && mv prettyping /usr/local/bin && chmod +x /usr/local/bin/prettyping && prettyping target IP
11.Ping.pe
A practical packet loss VPS speed test website tool from bandwagonhost, which can view the packet loss data and outbound route of the VPS to different ISPs.
VPS speed test website: directly access https://ping.pe to use online
V. Other VPS speed test scripts:
12. google benchmark
Mainly used for performance benchmark testing of functions in C++ programs, developed and open-sourced by Google.
Usage example: git clone https://github.com/google/benchmark.git
13.Linux-SpeedTest
A custom script tool that combines system configuration information and network speed testing modules to comprehensively evaluate Linux server performance.
Usage example: bash <(curl -Lso-Â https://git.io/superbench)
14.nench
Focuses on CPU and disk I/O testing based on ioping, providing reference data for Linux server performance testing.
Usage example: (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1 | tee nench.log
15.datacenter-speed-tests
A data center network speed test tool that can be used to check the actual speed to different geographic location nodes.
VPS speed test usage, refer to project documentation:Â https://github.com/jakejarvis/datacenter-speed-tests