public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Jialin Wang <wjl.linux@gmail.com>
To: wjl.linux@gmail.com
Cc: axboe@kernel.dk, lenohou@gmail.com, lianux.mm@gmail.com,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
	yukuai@fnnas.com
Subject: Re: [PATCH] block: fix race in update_io_ticks causing inflated disk statistics
Date: Wed,  4 Mar 2026 14:24:26 +0000	[thread overview]
Message-ID: <20260304142426.446360-1-wjl.linux@gmail.com> (raw)
In-Reply-To: <20260228100144.254436-1-wjl.linux@gmail.com>

On Sat, Feb 28, 2026 at 06:01:44PM +0800, Jialin Wang wrote:
> When multiple threads issue I/O requests concurrently after a period of
> disk idle time, iostat can report abnormal %util spikes (100%+) even
> when the actual I/O load is extremely light.
> 
> This issue can be reproduced using fio. By binding 8 fio threads to
> different CPUs, and having them issue 4KB I/Os every 1 second:
> 
>   fio --name=test --ioengine=sync --rw=randwrite --direct=1 --bs=4k \
>     --numjobs=8 --cpus_allowed=0-7 --cpus_allowed_policy=split \
>     --thinktime=1s --time_based --runtime=60 --group_reporting \
>     --filename=/mnt/sdb/test
> 
> The iostat -d sda 1 output will show a false 100%+ %util randomly:

Sorry, I made a typo. It should be 'iostat -d sdb -x 1'.

[...]

-- 
Regards,
Jialin

  reply	other threads:[~2026-03-04 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28 10:01 [PATCH] block: fix race in update_io_ticks causing inflated disk statistics Jialin Wang
2026-03-04 14:24 ` Jialin Wang [this message]
2026-03-05 17:16 ` Yu Kuai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260304142426.446360-1-wjl.linux@gmail.com \
    --to=wjl.linux@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=lenohou@gmail.com \
    --cc=lianux.mm@gmail.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yukuai@fnnas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox