Re: [PATCH 1/3] blk-mq: allow hardware queue to get more tag while sharing a tag set

From: yukuai (C)
Date: Mon Dec 28 2020 - 04:06:21 EST


Hi

On 2020/12/28 16:28, Ming Lei wrote:
Another candidate solution may be to always return true from hctx_may_queue()
for this kind of queue because queue_depth has provided fair allocation for
each LUN, and looks not necessary to do that again.

If always return true from hctx_may_queue() in this case, for example,
we set queue_depth to 128(if can't, the biggger, the better) for all
disks, and test with numjobs=64. The result should be one disk with high
iops, and the rest very low. So I think it's better to ensure the max
tags a disk can get in this case.

Thanks!
Yu Kuai