Field Notes

Personal engineering scratchpad & systems reading log

Linux Block Layer & Virtio-SCSI Trim Latency

On virtualized storage backends where synchronous UNMAP commands share the primary I/O queue, mounting ext4 with continuous discard can stall journal commits under burst writes. Switching to periodic batch trim or nodiscard stabilizes tail latency.

QUIC Receive Window Sizing on High-BDP Paths

For round-trip times around 180 ms, default socket buffer ceilings cap single-connection throughput well below link capacity. Raising net.core.rmem_max above 16 MiB prevents premature flow-control stalls during loss recovery.