linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] block: Fix IO priority mess
@ 2022-06-01 14:51 Jan Kara
  2022-06-01 14:51 ` [PATCH 1/3] block: Fix handling of tasks without ioprio in ioprio_get(2) Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Jan Kara @ 2022-06-01 14:51 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Damien Le Moal, Jan Kara

Hello,

recently I've been looking into 10% regression reported by our performance
measurement infrastructure in reaim benchmark that was bisected down to
5a9d041ba2f6 ("block: move io_context creation into where it's needed"). This
didn't really make much sense and it took me a while to understand this but the
culprit is actually in even older commit e70344c05995 ("block: fix default IO
priority handling") and 5a9d041ba2f6 just made the breakage visible.
Essentially the problem was that after these commits some IO was queued with IO
priority class IOPRIO_CLASS_BE while other IO was queued with IOPRIO_CLASS_NONE
and as a result they could not be merged together resulting in performance
regression. I think what commit e70344c05995 ("block: fix default IO
priority handling") did is actually broken not only because of this performance
regression but because of other reasons as well (see changelog of patch 3/3
for details) so this patch set aims at fixing it.

								Honza

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

end of thread, other threads:[~2022-06-07 12:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-01 14:51 [PATCH 0/3] block: Fix IO priority mess Jan Kara
2022-06-01 14:51 ` [PATCH 1/3] block: Fix handling of tasks without ioprio in ioprio_get(2) Jan Kara
2022-06-01 15:11   ` Damien Le Moal
2022-06-01 15:23     ` Jan Kara
2022-06-02  0:56       ` Damien Le Moal
2022-06-01 14:51 ` [PATCH 2/3] block: Make ioprio_best() static Jan Kara
2022-06-01 14:51 ` [PATCH 3/3] block: fix default IO priority handling again Jan Kara
2022-06-01 15:08   ` Damien Le Moal
2022-06-01 16:04     ` Jan Kara
2022-06-02  1:53       ` Damien Le Moal
2022-06-06 10:42         ` Jan Kara
2022-06-06 14:21           ` Jan Kara
2022-06-07 12:13             ` Niklas Cassel
2022-06-07 12:59               ` Jan Kara

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).