From: Nilay Shroff <nilay@linux.ibm.com>
To: John Garry <john.g.garry@oracle.com>, linux-nvme@lists.infradead.org
Cc: hare@suse.de, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me,
dwagner@suse.de, kanie@linux.alibaba.com, jmeneghi@redhat.com,
randyj@purestorage.com, martin.petersen@oracle.com,
gjoyce@linux.ibm.com
Subject: Re: [PATCH v7 4/9] nvme-multipath: add support for latency I/O policy
Date: Wed, 12 Aug 2026 13:31:51 +0530 [thread overview]
Message-ID: <c4ed646b-b6a4-4312-8a1e-797cd336901d@linux.ibm.com> (raw)
In-Reply-To: <a9d2c427-4360-402b-bdc7-136f85fd4d9f@oracle.com>
On 8/11/26 3:56 PM, John Garry wrote:
> On 10/08/2026 18:25, Nilay Shroff wrote:
>>>
>>> iops: (groupid=0, jobs=10): err= 0: pid=821: Mon Aug 10 08:08:28 2026
>>> read: IOPS=9239, BW=36.1MiB/s (37.8MB/s)(1434MiB/39744msec)
>>> slat (usec): min=25, max=110836, avg=129.22, stdev=537.18
>>>
>>> Note that I do have many heavy kernel debug options enabled, like kasan and kmemleak, which may influence this.
>>>
>>
>> Thanks for testing. Given that you're running with KASAN, kmemleak, and other
>> heavy debug options enabled, I think this is expected. Those configurations
>> can significantly increase I/O completion latency, causing some samples to
>> exceed the 1-second threshold. The warning is also rate-limited to avoid
>> flooding the log. That said, still if it's causing a lot of noise in the logs
>> then we could change it to dev_dbg_ratelimited() from dev_warn_ratelimited().
>
> Note they these warnings go away when I turn off those debug options, as expected.
>
> The max latency I was seeing was ~1.2 seconds. Maybe you can just increase this limit for ignoring the sample. Or make it a dev_warn_once(). Or control the warn print rate with DEFINE_RATELIMIT_STATE.
I think we could make it dev_warn_once() as we also increment the stat
counter nr_ignored when we hit this case. So user could always interrogate
the stat counter to find num of samples those were ignored.
Thanks,
--Nilay
next prev parent reply other threads:[~2026-08-12 8:02 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-09 10:07 [PATCH v7 0/9] nvme-multipath: introduce latency I/O policy Nilay Shroff
2026-08-09 10:07 ` [PATCH v7 1/9] block: expose blk_stat_{enable,disable}_accounting() to drivers Nilay Shroff
2026-08-10 8:18 ` John Garry
2026-08-09 10:07 ` [PATCH v7 2/9] block: record I/O request start time for passthru request Nilay Shroff
2026-08-10 6:44 ` Hannes Reinecke
2026-08-09 10:07 ` [PATCH v7 3/9] nvme-multipath: pass I/O type to nvme_find_path() Nilay Shroff
2026-08-10 8:57 ` John Garry
2026-08-10 17:19 ` Nilay Shroff
2026-08-11 10:36 ` John Garry
2026-08-12 8:05 ` Nilay Shroff
2026-08-09 10:07 ` [PATCH v7 4/9] nvme-multipath: add support for latency I/O policy Nilay Shroff
2026-08-10 8:12 ` John Garry
2026-08-10 17:25 ` Nilay Shroff
2026-08-11 10:26 ` John Garry
2026-08-12 8:01 ` Nilay Shroff [this message]
2026-08-10 10:46 ` John Garry
2026-08-10 15:25 ` Nilay Shroff
2026-08-11 10:03 ` John Garry
2026-08-12 7:55 ` Nilay Shroff
2026-08-09 10:08 ` [PATCH v7 5/9] nvme: add generic debugfs support Nilay Shroff
2026-08-09 10:08 ` [PATCH v7 6/9] nvme-multipath: add debugfs attribute latency_ewma_shift Nilay Shroff
2026-08-09 10:08 ` [PATCH v7 7/9] nvme-multipath: add debugfs attribute latency_batch_timeout Nilay Shroff
2026-08-09 10:08 ` [PATCH v7 8/9] nvme-multipath: add debugfs attribute latency_stat Nilay Shroff
2026-08-09 10:08 ` [PATCH v7 9/9] nvme-multipath: add documentation for latency I/O policy Nilay Shroff
2026-08-10 6:45 ` Hannes Reinecke
2026-08-10 7:50 ` [PATCH v7 0/9] nvme-multipath: introduce " John Garry
2026-08-10 17:27 ` Nilay Shroff
2026-08-11 9:37 ` John Garry
2026-08-12 8:07 ` Nilay Shroff
2026-08-10 9:43 ` Guixin Liu
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=c4ed646b-b6a4-4312-8a1e-797cd336901d@linux.ibm.com \
--to=nilay@linux.ibm.com \
--cc=dwagner@suse.de \
--cc=gjoyce@linux.ibm.com \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=jmeneghi@redhat.com \
--cc=john.g.garry@oracle.com \
--cc=kanie@linux.alibaba.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=martin.petersen@oracle.com \
--cc=randyj@purestorage.com \
--cc=sagi@grimberg.me \
/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