From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>,
"kundan.kumar" <kundan.kumar@samsung.com>
Cc: kbusch@kernel.org, linux-block@vger.kernel.org,
Kanchan Joshi <joshi.k@samsung.com>
Subject: Re: [PATCH] block: skip QUEUE_FLAG_STATS and rq-qos for passthrough io
Date: Thu, 23 Nov 2023 13:07:17 -0700 [thread overview]
Message-ID: <9184cfff-0b2a-4b74-a5aa-4a1357003a41@kernel.dk> (raw)
In-Reply-To: <20231123153007.GA3853@lst.de>
On 11/23/23 8:30 AM, Christoph Hellwig wrote:
> On Thu, Nov 23, 2023 at 03:54:31PM +0530, kundan.kumar wrote:
>> - if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)) {
>> + if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)
>> + && !blk_rq_is_passthrough(rq)) {
>
> && goes on the starting line in the kernel code style.
>
> The rest looks good, but that stats overhead seems pretty horrible..
It is, but at least it's better than what it used to be. Here's an
example from my box, you can pretty easily tell when iostats got enabled
while it was running:
[...]
submitter=22, tid=645761, file=/dev/nvme22n1, node=6
submitter=23, tid=645762, file=/dev/nvme23n1, node=6
polled=1, fixedbufs=1/0, register_files=1, buffered=0, QD=128
Engine=io_uring, sq_ring=128, cq_ring=128
IOPS=119.09M, BW=58.15GiB/s, IOS/call=31/31
IOPS=122.03M, BW=59.59GiB/s, IOS/call=31/31
IOPS=122.01M, BW=59.58GiB/s, IOS/call=31/32
IOPS=122.02M, BW=59.58GiB/s, IOS/call=31/32
IOPS=122.02M, BW=59.58GiB/s, IOS/call=31/31
IOPS=112.72M, BW=55.04GiB/s, IOS/call=31/31
IOPS=108.43M, BW=52.94GiB/s, IOS/call=31/32
IOPS=108.46M, BW=52.96GiB/s, IOS/call=32/31
IOPS=108.58M, BW=53.02GiB/s, IOS/call=31/31
--
Jens Axboe
prev parent reply other threads:[~2023-11-23 20:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20231123103102epcas5p2aee268735dc9e0c357e6d3b98d16fe21@epcas5p2.samsung.com>
2023-11-23 10:24 ` [PATCH] block: skip QUEUE_FLAG_STATS and rq-qos for passthrough io kundan.kumar
2023-11-23 15:30 ` Christoph Hellwig
2023-11-23 18:12 ` Kanchan Joshi
2023-11-23 20:19 ` Jens Axboe
2023-11-23 20:37 ` Jens Axboe
2023-11-24 11:28 ` Kundan Kumar
2023-12-01 12:11 ` Kundan Kumar
2023-12-01 14:31 ` Jens Axboe
2023-11-23 20:07 ` Jens Axboe [this message]
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=9184cfff-0b2a-4b74-a5aa-4a1357003a41@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=joshi.k@samsung.com \
--cc=kbusch@kernel.org \
--cc=kundan.kumar@samsung.com \
--cc=linux-block@vger.kernel.org \
/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