News for hackers. Stuff that matters.
Re:uv: An extremely fast Python package and project manager,... by the8472 on Monday June 23, 2025 @03:05PM (#44358971)
NVMe hungers, keeping it fed is hard work. Doing some serial read, decompress, checksum, write loop will leave if starved (QD<1) whenever you're doing anything but the last step. Disk IO isn't async unless you use io_uring. So threads are almost a must to keep NVMe busy. Conversely, waiting for blocking IO (e.g. directory enumeration) will keep your CPU starved. Here too the answer is more threads.

There are no comments on this comment yet.