Kars CS Notes

Engineering notes on Linux networking, storage engines, and distributed systems.

Write-Ahead Logging & Group Commit Latency on NVMe

Published 2026-12-03 · Storage

Comparing fsync group commit latency across NVMe namespaces with ext4 and XFS mount options.

Benchmarking 4KiB synchronous random writes with fio (direct=1, fsync=1) across consumer and enterprise NVMe drives shows a 6x gap in p99 commit time when volatile write caches are flushed. Grouping transactions inside a 250us batching window recovers over 80% of peak throughput with minimal tail-latency penalty.

← Back to Home