All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5 v3] writeback: Fix bandwidth estimates
@ 2021-07-13 10:36 Jan Kara
  2021-07-13 10:36 ` [PATCH 1/5] writeback: Track number of inodes under writeback Jan Kara
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Jan Kara @ 2021-07-13 10:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, Michael Stapelberg, Wu Fengguang, Jan Kara

Hello,

Here is the third revision of the patch series to fix estimate of writeback
throughput when device is not fully busy doing writeback. Michael Stapelberg
has reported that such workload (e.g. generated by linking) tends to push
estimated throughput down to 0 and as a result writeback on the device is
practically stalled.

The first three patches fix the reported issue, the remaining two patches
are unrelated cleanups of problems I've noticed when reading the code.

Andrew, can you please pick up the series? Thanks!

								Honza
Changes since v2:
* Rebased on top of 5.14-rc1
* Fixed compilation failure introduced by patch 5/5

Changes since v1:
* Added comments to better explain the logic
* Added Tested-by tag
* Added WRITE_ONCE calls matching READ_ONCE in patch 5/5


Previous versions:
Link: http://lore.kernel.org/r/20210705161610.19406-1-jack@suse.cz # v1
Link: http://lore.kernel.org/r/20210712165811.13163-1-jack@suse.cz # v2


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/5 v4] writeback: Fix bandwidth estimates
@ 2021-07-13 10:47 Jan Kara
  2021-07-13 10:47 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Kara @ 2021-07-13 10:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, Michael Stapelberg, Wu Fengguang, Jan Kara

Hello,

Here is the fourth revision of the patch series to fix estimate of writeback
throughput when device is not fully busy doing writeback. Michael Stapelberg
has reported that such workload (e.g. generated by linking) tends to push
estimated throughput down to 0 and as a result writeback on the device is
practically stalled.

The first three patches fix the reported issue, the remaining two patches
are unrelated cleanups of problems I've noticed when reading the code.

Andrew, can you please pick up the series? Thanks!

								Honza

Changes since v3:
* Now really send updated patches and not previous version :-|

Changes since v2:
* Rebased on top of 5.14-rc1
* Fixed compilation failure introduced by patch 5/5

Changes since v1:
* Added comments to better explain the logic
* Added Tested-by tag
* Added WRITE_ONCE calls matching READ_ONCE in patch 5/5


Previous versions:
Link: http://lore.kernel.org/r/20210705161610.19406-1-jack@suse.cz # v1
Link: http://lore.kernel.org/r/20210712165811.13163-1-jack@suse.cz # v2
Link: http://lore.kernel.org/r/20210713103347.8364-1-jack@suse.cz # v3


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/5 v2] writeback: Fix bandwidth estimates
@ 2021-07-13 10:24 Jan Kara
  2021-07-13 10:24 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Kara @ 2021-07-13 10:24 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, Michael Stapelberg, Wu Fengguang, Jan Kara

Hello,

Here is a second revision of the patch series to fix estimate of writeback
throughput when device is not fully busy doing writeback. Michael Stapelberg
has reported that such workload (e.g. generated by linking) tends to push
estimated throughput down to 0 and as a result writeback on the device is
practically stalled.

The first three patches fix the reported issue, the remaining two patches
are unrelated cleanups of problems I've noticed when reading the code.

Andrew, can you please pick up the series? Thanks!

								Honza
Changes since v1:
* Added comments to better explain the logic
* Added Tested-by tag


Previous versions:
Link: http://lore.kernel.org/r/20210705161610.19406-1-jack@suse.cz # v1


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/5] writeback: Fix bandwidth estimates
@ 2021-07-05 16:23 Jan Kara
  2021-07-05 16:23 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Kara @ 2021-07-05 16:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, Michael Stapelberg, linux-mm, Jan Kara

Hello,

this patch series fixes estimate of writeback throughput when device is not
fully busy doing writeback. Michael Stapelberg has reported that such
workload (e.g. generated by linking) tends to push estimated throughput down
to 0 and as a result writeback on the device is practically stalled.

The first three patches fix the reported issue, the remaining two patches
are unrelated cleanups of problems I've noticed when reading the code.

Michael, can you try whether these patches fix the problems you've observed?
I cannot trigger the "bandwidth going down" spiral with them anymore.

								Honza

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

end of thread, other threads:[~2021-07-13 10:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 10:36 [PATCH 0/5 v3] writeback: Fix bandwidth estimates Jan Kara
2021-07-13 10:36 ` [PATCH 1/5] writeback: Track number of inodes under writeback Jan Kara
2021-07-13 10:36 ` [PATCH 2/5] writeback: Reliably update bandwidth estimation Jan Kara
2021-07-13 10:36 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
2021-07-13 10:36 ` [PATCH 4/5] writeback: Rename domain_update_bandwidth() Jan Kara
2021-07-13 10:36 ` [PATCH 5/5] writeback: Use READ_ONCE for unlocked reads of writeback stats Jan Kara
2021-07-13 10:46 ` [PATCH 0/5 v3] writeback: Fix bandwidth estimates Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2021-07-13 10:47 [PATCH 0/5 v4] " Jan Kara
2021-07-13 10:47 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
2021-07-13 10:24 [PATCH 0/5 v2] writeback: Fix bandwidth estimates Jan Kara
2021-07-13 10:24 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
2021-07-05 16:23 [PATCH 0/5] writeback: Fix bandwidth estimates Jan Kara
2021-07-05 16:23 ` [PATCH 3/5] writeback: Fix bandwidth estimate for spiky workload Jan Kara
2021-07-07  7:40   ` Hillf Danton
2021-07-07  9:51     ` Jan Kara
2021-07-08 12:17       ` Hillf Danton
2021-07-08 16:43         ` Jan Kara
2021-07-09  8:01           ` Hillf Danton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.