From: Ming Lei <ming.lei@redhat.com>
To: John Garry <john.garry@huawei.com>
Cc: Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org,
Kashyap Desai <kashyap.desai@broadcom.com>
Subject: Re: [PATCH] blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
Date: Wed, 6 Jan 2021 09:28:39 +0800 [thread overview]
Message-ID: <20210106012839.GA3821988@T590> (raw)
In-Reply-To: <c4aa932f-6ede-ab58-0d66-a7d4a61010ff@huawei.com>
On Tue, Jan 05, 2021 at 11:38:48AM +0000, John Garry wrote:
> On 05/01/2021 11:18, Ming Lei wrote:
> > > > > ot set normally..
> > > > It always return true, and might just take a bit more CPU especially the tag queue
> > > > depth of magsas_raid and hisi_sas_v3 is quite high.
> > > Hi Ming,
> > >
> > > Right, but we actually tested by hacking the host tag queue depth to be
> > > lower such that we should have tag contention, here is an extract from the
> > > original series cover letter for my results:
> > >
> > > Tag depth 4000 (default) 260**
> > >
> > > Baseline (v5.9-rc1):
> > > none sched: 2094K IOPS 513K
> > > mq-deadline sched: 2145K IOPS 1336K
> > >
> > > Final, host_tagset=0 in LLDD *, ***:
> > > none sched: 2120K IOPS 550K
> > > mq-deadline sched: 2121K IOPS 1309K
> > >
> > > Final ***:
> > > none sched: 2132K IOPS 1185
> > > mq-deadline sched: 2145K IOPS 2097
> > >
> > > Maybe my test did not expose the issue. Kashyap also tested this and
> > > reported the original issue such that we needed this feature, so I'm
> > > confused.
>
> Hi Ming,
>
> > How many LUNs are involved in above test with 260 depth?
>
> For me, there was 12 SAS SSDs; for convenience here is the cover letter with
> details:
> https://lore.kernel.org/linux-block/1597850436-116171-1-git-send-email-john.garry@huawei.com/
>
> IIRC, for megaraid sas, Kashyap used many more LUNs for testing (64) and
> high fio depth (128) but did not reduce .can_queue, topic originally raised
> here:
> https://lore.kernel.org/linux-block/29f8062c1fccace73c45252073232917@mail.gmail.com/
OK, in both tests, nr_luns are big enough wrt. 260 depth. Maybe that is
why very low IOPS is observed in 'Final(hosttag=1)' with 260 depth.
I'd suggest to run your previous test again after applying this patch,
and see if difference can be observed.
--
Ming
next prev parent reply other threads:[~2021-01-06 1:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 11:34 [PATCH] blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue Ming Lei
2021-01-04 10:41 ` John Garry
2021-01-05 2:20 ` Ming Lei
2021-01-05 10:04 ` John Garry
2021-01-05 11:18 ` Ming Lei
2021-01-05 11:38 ` John Garry
2021-01-06 1:28 ` Ming Lei [this message]
2021-01-06 11:38 ` John Garry
2021-01-25 2:29 ` Ming Lei
2021-01-25 4:25 ` Jens Axboe
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=20210106012839.GA3821988@T590 \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=john.garry@huawei.com \
--cc=kashyap.desai@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.