linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Block device congestion
@ 2021-05-10 17:48 Matthew Wilcox
  2021-05-11  2:57 ` Ming Lei
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2021-05-10 17:48 UTC (permalink / raw)
  To: lsf-pc, linux-mm, linux-fsdevel, linux-block


I wish to re-nominate this topic from last year:

https://lore.kernel.org/linux-mm/20191231125908.GD6788@bombadil.infradead.org/

I don't think we've made any progress on it, and likely won't until
everybody is forced into a room and the doors are locked.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LSF/MM/BPF TOPIC] Block device congestion
  2021-05-10 17:48 [LSF/MM/BPF TOPIC] Block device congestion Matthew Wilcox
@ 2021-05-11  2:57 ` Ming Lei
  0 siblings, 0 replies; 2+ messages in thread
From: Ming Lei @ 2021-05-11  2:57 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: lsf-pc, linux-mm, linux-fsdevel, linux-block, Josh Hunt

On Mon, May 10, 2021 at 06:48:39PM +0100, Matthew Wilcox wrote:
> 
> I wish to re-nominate this topic from last year:
> 
> https://lore.kernel.org/linux-mm/20191231125908.GD6788@bombadil.infradead.org/
> 
> I don't think we've made any progress on it, and likely won't until
> everybody is forced into a room and the doors are locked.
> 

> >> Jens, is something supposed to be calling clear_bdi_congested() in the
> >> block layer?  blk_clear_congested() used to exist until October 29th
> >> last year.  Or is something else supposed to be waking up tasks that
> >> are sleeping on congestion?
> 
> Congestion isn't there anymore. It was always broken as a concept imho,
> since it was inherently racy. We used the old batching mechanism in the
> legacy stack to signal it, and it only worked for some devices.

The old batching and congestion was helpful for some slow devices, since
batching can avoid to submit IOs from different tasks concurrently to
same queue when queue is busy, so IO order in same task is maintained.

I believe Josh is struggling with this issue, and we had one offline
talk about this issue.

And there was another such old discussion too:

https://lore.kernel.org/linux-scsi/20191203022337.GE25002@ming.t460p/



Thanks,
Ming


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-11  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 17:48 [LSF/MM/BPF TOPIC] Block device congestion Matthew Wilcox
2021-05-11  2:57 ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).