Hacker News new | ask | show | jobs
by kijin 12 days ago
Actual utilization rates and latency for each device.

Even the grandparent bug report says that iowait is high while utilization is low. They know full well that utilization is the figure that reflects reality.

2 comments

In this case "iowait is high while utilization is low" is a deliberate design choice made by the io_uring maintainers, though.

It used to under-report - but that led the the kernel wrongly downclocking the system as it believed it was idle when it wasn't.

It doesn't want to do somewhat-accurate reporting, as that would have a small per-operation performance penalty they are not willing to pay.

It now over-reports as that both avoids downclocking and is cheap to do, but the drawback is that it makes the iowait metric completely useless to any potential consumers. Which they don't care about because they believe it is inherently flawed and shouldn't be used.

Its really wonderful having such devoted and caring maintainers. Open source users are truly blessed.
Utilisation rate is also arguably a bad metric either. For an NVMe with deep queue buffers you can see 96% utilisation and think it's near its peak capacity, but in fact if you keep increasing the queue depth you can get like 5x more performance with only moderate increase in latency if at all :)