Get the App
SLTechnology News&Howtos  ›  Servers  › 

One-click test script for bricklayer's VPS performance

Shulou Source: shulou.com Published: 2022-06-02 06:01:16 09月30日 Update

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.

Tags: Test bricklayer command performance input script one button success Chinese net kernel classmate module version English version details routing Chinese English preparation prompt Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS Shulou Technology MySQL Docker