On Wed, Nov 18, 2026 at 12:51:21PM -0700, Jens Axboe wrote:
> On 11/18/26 11:56 AM, Stefan Hajnoczi wrote:
> > On Wed, Nov 18, 2026 at 08:58:11AM -0700, Jens Axboe wrote:
> >> On 11/15/26 4:05 PM, John Maguire wrote:
> >>> On Tue, Jun 02, 2026, Stefan Hajnoczi wrote:
> > Pushing the responsibility of deciding what counts as iowait to
> > userspace via IORING_FEAT_NO_IOWAIT means the decision is duplicated in
> > every application that uses io_uring. That only makes sense to me if
> > accounting should work differently on a per-application basis and
> > applications therefore need full control. I'm not aware of applications
> > actually wanting to do that? Or is iowait fundamentally incompatible
> > with io_uring so that applications are the only ones who can decide?
> 
> iowait is fundamentally incompatible with sane accounting in the first
> place, that is the problem. It really tells you nothing, and was
> deprecated since the days of uniprocessor systems. The problem here is
> not how iowait is done in the kernel, it's that people are using this
> metric in the first place. Which is why you just want to NOT do that,
> and do sane accounting on your disk drives, if you care about that kind
> of thing.
> 
> Which is why I refuse to cater to any kind of iowait accounting metrics,
> it's just adding overhead to support a metric that is largely
> nonsensical in the first place. It doesn't answer any questions that an
> application/tier owner would want to know. Those questions might be
> things like "am I I/O bound?" or "is the device I'm using being slow?".
> I wish people would realize that, rather than continue to place value in
> iowait as a metric for ANYTHING, and stop trying to work around it.

Okay.

Stefan


Reply via email to