Skip to content

IO-less dirty throttling v10

Wu Fengguang linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Changes since v9 from the cover letter

- a lot of renames and comment/changelog rework, again
- seperate out the dirty_ratelimit update policy (as patch 04)
- add think time compensation
- add 3 trace events

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10writeback: account per-bdi accumulated dirtied pagesinclude/linux/backing-dev.h mm/backing-dev.c mm/page-writeback.c+4 -00 replies
2/10writeback: dirty position controlfs/fs-writeback.c include/linux/writeback.h mm/page-writeback.c+210 -60 replies
3/10writeback: dirty rate controlinclude/linux/backing-dev.h mm/backing-dev.c mm/page-writeback.c+88 -20 replies
4/10writeback: stabilize bdi->dirty_ratelimitmm/page-writeback.c+63 -10 replies
5/10writeback: per task dirty rate limitinclude/linux/sched.h kernel/fork.c mm/page-writeback.c+60 -392 replies
6/10writeback: IO-less balance_dirty_pages()include/trace/events/writeback.h mm/page-writeback.c+54 -1310 replies
7/10writeback: dirty ratelimit - think time compensationinclude/linux/sched.h kernel/fork.c mm/page-writeback.c+33 -31 reply
8/10writeback: trace balance_dirty_pagesinclude/trace/events/writeback.h mm/page-writeback.c+103 -01 reply
9/10writeback: trace dirty_ratelimitinclude/trace/events/writeback.h mm/page-writeback.c+49 -00 replies
10/10trace task_ioinclude/trace/events/writeback.h mm/page-writeback.c+33 -00 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchJan KaraAndrea Righi
1/10
2/10A-b
3/10
4/10
5/10R-b
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] IO-less dirty throttling v10

Hi,

The core algorithms for IO-less balance_dirty_pages().

git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback.git dirty-throttling-v10

Changes since v9:

- a lot of renames and comment/changelog rework, again
- seperate out the dirty_ratelimit update policy (as patch 04)
- add think time compensation
- add 3 trace events

Changes since v8:

- a lot of renames and comment/changelog rework
- use 3rd order polynomial as the global control line (Peter)
- stabilize dirty_ratelimit by decreasing update step size on small errors
- limit per-CPU dirtied pages to avoid dirty pages run away on 1k+ tasks (Peter)

Thanks a lot to Peter, Vivek and Andrea for the careful reviews!

shortlog:

Wu Fengguang (10):
writeback: account per-bdi accumulated dirtied pages
writeback: dirty position control
writeback: dirty rate control
writeback: stabilize bdi->dirty_ratelimit
writeback: per task dirty rate limit
writeback: IO-less balance_dirty_pages()
writeback: dirty ratelimit - think time compensation
writeback: trace balance_dirty_pages
writeback: trace dirty_ratelimit
trace task_io (RFC)

diffstat:

	 fs/fs-writeback.c                |    2 +-
	 include/linux/backing-dev.h      |    8 +
	 include/linux/sched.h            |    8 +
	 include/linux/writeback.h        |    1 +
	 include/trace/events/writeback.h |  181 +++++++++--
	 kernel/fork.c                    |    4 +
	 mm/backing-dev.c                 |    3 +
	 mm/page-writeback.c              |  664 +++++++++++++++++++++++++++++---------
	 8 files changed, 693 insertions(+), 178 deletions(-)

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>