Systems & Infrastructure Notes
Personal notebook covering Linux administration, storage, backups, and practical debugging.
Recent Entries
Understanding TCP Window Scaling & BBR in Practice
2026-09-14 · Networking
On high-BDP (bandwidth-delay product) links, default socket buffer limits often cap single-stream throughput well below the physical line rate.
Combining Fair Queueing (fq) with bbr congestion control and adequate tcp_rmem / tcp_wmem bounds helps stabilize latency under load:
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
net.ipv4.tcp_slow_start_after_idle = 0
Always benchmark with iperf3 before and after tuning to confirm bufferbloat does not raise tail latency.
Automated Offsite Backups with Restic and Systemd Timers
2026-07-02 · Storage
Deduplicated, client-side encrypted snapshots keep offsite storage small while making point-in-time restores straightforward.
restic backup /etc /var/lib/app --exclude-caches
restic forget --keep-daily 7 --keep-weekly 4 --prune
Pair with restic check --read-data-subset=5% on a weekly timer so repository corruption is caught early.
Keeping Systemd Journal Disk Usage Under Control
2026-05-11 · Linux
On small-disk virtual machines, unbounded journald logs can quietly eat gigabytes over a few months. Setting an explicit cap in /etc/systemd/journald.conf avoids surprises:
[Journal]
SystemMaxUse=200M
MaxRetentionSec=1month
About
A lightweight static scratchpad for reproducible configuration snippets, sysctl defaults, and operational checklists. Plain HTML and CSS with zero external scripts or tracking.