K.V. Engineering Notes

Field notes on Debian systems, Go runtime tuning, and TCP stack diagnostics.

Tuning Go GOMEMLIMIT on Small Cloud Instances

November 2026 · Systems

Setting GOMEMLIMIT alongside systemd MemoryHigh keeps garbage collection predictable under bursty workloads without triggering sudden OOM kills on 1 GB VMs.

Enabling zram with zstd on Debian 12

October 2026 · Linux Kernel

Using systemd-zram-generator with zstd compression and swap priority 100 eliminates disk I/O stalls during transient memory spikes.

Measuring TCP Congestion Control with BBR and FQ

September 2026 · Networking

Pairing net.ipv4.tcp_congestion_control=bbr with fq qdisc reduces tail latency across high-BDP paths compared to cubic.