Re: [RFC] blk-mq: clean up the hctx restart

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

 



On Thu, Aug 02, 2018 at 05:08:55PM +0000, Bart Van Assche wrote:
> On Fri, 2018-08-03 at 00:58 +0800, Ming Lei wrote:
> > And about the situations you mentioned, no any special as normal cases
> > or thousands of LUNs. Just a batch of queues are waken up from one
> > single wait queue(sbq_wait_state), and inside each wait queue, queues
> > are handled actually in FIFO order.
> > 
> > Or what is your expected ideal behaviour about fairness?
> 
> Hello Ming,
> 
> What I expect is if the number of LUNs is really large that all LUNs are treated
> equally. Unless someone can set up a test that demonstrates that this is still

Some of idle LUNs shouldn't be treated equally as other LUNs which need
to serve.  

Also as I mentioned, the original RR style isn't better than the new
way actually, since now we handle queues in sort of FIFO style, thanks
wait queue.

Not mentioning big CPU utilization is consumed unnecessarily for iterating
over all queues even though there is only one active queue, is this fair from
system view?

Thanks,
Ming



[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