IO-less dirty throttling v11
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 55 repliesIn review
Changes since v10 from the cover letter
- complete the renames
- add protections for IO queue underrun
- pause time reduction
- bdi reserve area
- bdi underrun flag
- more accurate task dirty accounting for
- sub-page writes
- FS re-dirties
- short lived tasks
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | writeback: account per-bdi accumulated dirtied pagesinclude/ mm/ mm/ | +4 | 0 replies | |
| 2/18 | writeback: dirty position controlfs/ include/ mm/ | +210 | 7 replies | |
| 3/18 | writeback: dirty rate controlinclude/ mm/ mm/ | +88 | 1 reply | |
| 4/18 | writeback: stabilize bdi->dirty_ratelimitmm/ | +63 | 0 replies | |
| 5/18 | writeback: per task dirty rate limitinclude/ kernel/ mm/ | +60 | 7 replies | |
| 6/18 | writeback: IO-less balance_dirty_pages()include/ mm/ | +56 | 2 replies | |
| 7/18 | writeback: dirty ratelimit - think time compensationinclude/ kernel/ mm/ | +33 | 0 replies | |
| 8/18 | writeback: trace dirty_ratelimitinclude/ mm/ | +49 | 0 replies | |
| 9/18 | writeback: trace balance_dirty_pagesinclude/ mm/ | +105 | 0 replies | |
| 10/18 | writeback: dirty position control - bdi reserve areamm/ | +26 | 12 replies | |
| 11/18 | block: add bdi flag to indicate risk of io queue underrunblock/ include/ include/ +1 more | +40 | 3 replies | |
| 12/18 | writeback: balanced_rate cannot exceed write bandwidthmm/ | +5 | 0 replies | |
| 13/18 | writeback: limit max dirty pause timemm/ | +42 | 4 replies | |
| 14/18 | writeback: control dirty pause timemm/ | +14 | 3 replies | |
| 15/18 | writeback: charge leaked page dirties to active tasksinclude/ kernel/ mm/ | +16 | 4 replies | |
| 16/18 | writeback: fix dirtied pages accounting on sub-page writesmm/ | +1 | 0 replies | |
| 17/18 | writeback: fix dirtied pages accounting on redirtyinclude/ mm/ | +14 | 8 replies | |
| 18/18 | btrfs: fix dirtied pages accounting on sub-page writesfs/ | +2 | 0 replies |
Reviews trailers per patch
2 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara | Andrea Righi |
|---|---|---|
| 1/18 | ||
| 2/18 | A-b | |
| 3/18 | ||
| 4/18 | ||
| 5/18 | R-b | |
| 6/18 | ||
| 7/18 | ||
| 8/18 | ||
| 9/18 | ||
| 10/18 | ||
| 11/18 | ||
| 12/18 | ||
| 13/18 | ||
| 14/18 | ||
| 15/18 | ||
| 16/18 | ||
| 17/18 | ||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] IO-less dirty throttling v11
Hi,
Finally, the complete IO-less balance_dirty_pages(). NFS is observed to perform better or worse depending on the memory size. Otherwise the added patches can address all known regressions.
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback.git dirty-throttling-v11 (to be updated; currently it contains a pre-release v11)
Changes since v10:
- complete the renames
- add protections for IO queue underrun
- pause time reduction
- bdi reserve area
- bdi underrun flag
- more accurate task dirty accounting for
- sub-page writes
- FS re-dirties
- short lived tasks
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, Andrea and Jan for the careful reviews!
shortlog:
Wu Fengguang (18):
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 dirty_ratelimit
writeback: trace balance_dirty_pages
writeback: dirty position control - bdi reserve area
block: add bdi flag to indicate risk of io queue underrun
writeback: balanced_rate cannot exceed write bandwidth
writeback: limit max dirty pause time
writeback: control dirty pause time
writeback: charge leaked page dirties to active tasks
writeback: fix dirtied pages accounting on sub-page writes
writeback: fix dirtied pages accounting on redirty
btrfs: fix dirtied pages accounting on sub-page writes
diffstat:
block/blk-core.c | 7 fs/btrfs/file.c | 3 fs/fs-writeback.c | 2 include/linux/backing-dev.h | 26 include/linux/blkdev.h | 12 include/linux/sched.h | 8 include/linux/writeback.h | 5 include/trace/events/writeback.h | 151 ++++- kernel/exit.c | 2 kernel/fork.c | 4 mm/backing-dev.c | 3 mm/page-writeback.c | 768 +++++++++++++++++++++++------ 12 files changed, 816 insertions(+), 175 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>