Seedbox setup.One command.

qBittorrent, BBRx and full system tuning for Debian and Ubuntu, on x86_64 and ARM64.

v1.0
  1. SSH in as root
  2. Paste the command
  3. Pick a build, reboot if you chose BBRx

qBittorrent builds

Copy a command with the build already chosen. Replace USER and PASS before running.

Flags

With no flags the installer asks for everything. With flags it runs unattended.

-uUsername for qBittorrent
-pPassword
-cqBittorrent cache size in MiB
-qqBittorrent version, with -l to pick the build
-llibtorrent version
-xInstall BBRx
-oAsk for the WebUI and incoming ports
-hShow help and the build list

What gets tuned

Applied on every run and re-applied after each reboot.

tuned
Installs the tuned daemon.
Network
txqueuelen 10000, initial congestion window 25, ring buffer rx 1024 and tx 2048 on bare metal.
Disk
kyber on SSDs, mq-deadline on HDDs, bare metal only.
Virtual machines
TSO, GSO and GRO off. Disk and ring buffer tuning skipped.
Open files
Limit of 1048576 for the qBittorrent user.
Kernel
sysctl settings sized to the machine's memory.
BBRx
Optional tweaked BBR built with DKMS. Reboot to activate.