This commit is contained in:
2026-03-16 22:30:52 +00:00
parent c292cd994f
commit 04e8039a20

View File

@@ -1,4 +1,4 @@
# mtu_test.sh
# HorizonBench.sh
MTU diagnostic and load test tool for Linux servers. Detects the machine role automatically, tests path MTU both idle and under real TCP load, and gives role-aware verdicts — so a VPS behind a WireGuard tunnel does not get the same warnings as a WireGuard router.
@@ -23,8 +23,8 @@ MTU diagnostic and load test tool for Linux servers. Detects the machine role au
## Usage
```bash
chmod +x mtu_test.sh
sudo ./mtu_test.sh [TARGET_IP] [INTERFACE] [OPTIONS]
chmod +x HorizonBench.sh
sudo ./HorizonBench.sh [TARGET_IP] [INTERFACE] [OPTIONS]
```
### Arguments
@@ -45,19 +45,19 @@ sudo ./mtu_test.sh [TARGET_IP] [INTERFACE] [OPTIONS]
```bash
# Interactive TUI interface picker, probe 8.8.8.8
sudo ./mtu_test.sh
sudo ./HorizonBench.sh
# Specify target and interface directly
sudo ./mtu_test.sh 1.2.3.4 eth0
sudo ./HorizonBench.sh 1.2.3.4 eth0
# VPS behind a WireGuard tunnel with path MTU 1370
sudo ./mtu_test.sh --expected-mtu 1370
sudo ./HorizonBench.sh --expected-mtu 1370
# WireGuard router, skip load test
sudo ./mtu_test.sh 8.8.8.8 wg0 --no-load
sudo ./HorizonBench.sh 8.8.8.8 wg0 --no-load
# Full explicit invocation
sudo ./mtu_test.sh 1.2.3.4 ens18 --expected-mtu 1420
sudo ./HorizonBench.sh 1.2.3.4 ens18 --expected-mtu 1420
```
---
@@ -214,7 +214,7 @@ Check `ethtool -g <iface>` for ring buffer size, and `ethtool -S <iface>` for dr
## Log file
Every run writes a full timestamped log to `/tmp/mtu_test_YYYYMMDD_HHMMSS.log`. The path is shown at the start and end of every run.
Every run writes a full timestamped log to `/tmp/horizonbench_YYYYMMDD_HHMMSS.log`. The path is shown at the start and end of every run.
---