After several versions of iterations, the one-key test script bench.sh is almost applicable to the network and IO tests of various Linux distributions.
And display the test results in a more beautiful way.
Summarize the features of bench.sh:
1. Display various system information;
2. Test points taken from Speedtest data centers in many parts of the world, and the network test is relatively comprehensive;3. Support IPv6 download speed measurement;
4. IO test (write 1GB data sequentially) three times, and display the average value.
Combined with the unixbench.sh script test, you can fully test the performance of the VPS.
How to use:
Command 1:
or
Command 2:
or
Note:
bench.sh is both the script name and the domain name. So don't suspect that I wrote it wrong or you read it wrong.
Download address:
https://github.com/teddysun/across/blob/master/bench.sh
update log
Updated on February 22, 2022:
1. Added the judgment of whether the CPU supports AES-NI and VM-x/AMD-V;
2. Improved the algorithm for calculating hard disk space;
3. Improved the algorithm for calculating RAM and Swap;
4. Improve the time stamp display method and add time zone display;
Updated on January 1, 2022:
1. Optimized the script logic and beautified the display;
2. Upgraded the version of speedtest-cli to 1.1.1;
3. Supported arm64 (aarch64) and armv7l (armhf) architectures, as shown in the figure below;
・arm64 (aarch64)
・armv7l (armhf)
4. Optimize the speed test server list provided by Speedtest. Among them, the node information of Shanghai, Nanjing and Guangzhou in China is as follows
・x86_64
Updated on July 29, 2020:
1. Modification: Speedtest is provided by Speedtest, which distinguishes between upload and download, which is more practical;
2. Added: TCP Congestion Control; virtualization method; IP information, etc.
The figure below shows my Vultr evaluation data:
Update on January 07, 2018:
Modification: The color of the displayed information is divided into categories to make it easier to distinguish.
The figure below shows the evaluation data of my KS3C 100M dedicated server:
Updated on November 24, 2016:
Added: display hard disk information; advance the location of the IO speed test, and put the network download speed test at the end.
As follows:
Put some test pictures at the end.
Bandwagon Host Los Angel
DigitalOcean Singapore
Ramnode Seattle
Xvmlabs Los Angel
Reprinted: Qiushui Yibing » One-click test script bench.sh