Hitting Peak File IO Performance with Zig
Intro This post goes through how to maximize file IO performance on linux using zig with io_uring. All code related to this post can be found in this repo. a) Benchmark We are comparing fio and the zig code which can be found here. test system We are using a machine with: ubuntu 24.04 (6.14 kernel, HWE). kernel parameter nvme.poll_queues=16 . . "datacenter" NVMe SSD without any RAID. 756 GB of RAM. This amount of RAM should be irrelevant for this test. Since we are using direct_io henc