Working scratchpad for Linux kernel tuning, transport benchmarks, SQLite operations, and systemd housekeeping.
Linux / TCP
Pairing BBR with FQ qdisc on Debian 13
TCP BBR relies on pacing frames accurately to avoid micro-bursts across high-BDP WAN links. Setting fq as the default queuing discipline ensures per-flow pacing works out of the box without extra tc rules.
Default Linux rmem_max and wmem_max sit near 208 KB, which caps user-space QUIC congestion windows under packet reordering. Bumping both to 8 MB eliminates premature receive-buffer drops during throughput bursts.
Switching single-writer services to WAL mode with NORMAL sync and a short busy timeout prevents transient SQLITE_BUSY errors while keeping crash safety intact.
Before trusting a background renewal or maintenance timer, inspect both its next scheduled trigger and run a non-destructive dry check against the active service unit.