One-click test script for bricklayer's VPS performance
Today, we mainly share several VPS performance one-click test scripts, you can quickly test the performance of the bricklayer VPS, buy a VPS to understand the performance of VPS?
First, preparation before testing: install wget
CentOS:yum-y install wget
Ubuntu / Debian:apt install-y wget
2. Start testing
1 、 Bench.sh
Test command: wget-qO- bench.sh | bash
2 、 Superbench.sh
Test command: wget-qO- git.io/superbench.sh | bash
Third, VPS routing test of bricklayer
Test command: wget-qO- git.io/besttrace | bash
4. Click to install and open Google BBR script (kvm)
Log in to VPS using root and enter the following command:
Wget-- no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
Chmod + x bbr.sh
. / bbr.sh
When finished, prompt to restart, type y and restart VPS. After reboot, verify that the installation is successful, enter:
Uname-r
Check the kernel version. 4.10 means OK.
Sysctl net.ipv4.tcp_available_congestion_control
The return value is generally:
1. Net.ipv4.tcp_available_congestion_control = bbr cubic reno
Sysctl net.ipv4.tcp_congestion_control
2. Net.ipv4.tcp_congestion_control = bbr
Sysctl net.core.default_qdisc
3. Net.core.default_qdisc = fq
Lsmod | grep bbr
If the tcp_bbr module is returned, it means that bbr has been started.
Students who do not know the English version of the bricklayer can go to the Chinese website bwh.idcspy.com for details.