Re: [RFC PATCH V2 04/17] blk-mq: don't reserve tags for admin queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ming

On 08/11/2018 03:12 PM, Ming Lei wrote:
> Not necessary to reserve tags for admin queue since there isn't
> many inflight commands in admin queue usually.
> 
> This change won't starve admin queue too because each blocked queue
> has equal priority to get one new tag when one driver tag is released,
> no matter it is freed from any queue.
> 

We don't count the adminq into tags->active_queues, there maybe following side-effect following:
 - if send a admin request for the LUN_a, it may cause LUN_b cannot get request even though its
   budget is allowed. And when the admin request for LUN_a is completed, LUN_b may not be in the
   first batch to be waked up.

 - all the LUNs still have to share a limited budget of tags

Certainly, I'm not sure whether the performance will be affected, all of above comments are
just concern in theory. ;)

Thanks
Jianchao



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux