Skip to content

per device dirty throttling -v8

Peter Zijlstra linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 157 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23nfs: remove congestion_end()fs/nfs/write.c include/linux/backing-dev.h mm/backing-dev.c+1 -170 replies
2/23lib: percpu_counter_addfs/ext2/balloc.c fs/ext2/ialloc.c fs/ext3/balloc.c +5 more+17 -170 replies
3/23lib: percpu_counter variable batchinclude/linux/percpu_counter.h lib/percpu_counter.c+12 -40 replies
4/23lib: make percpu_counter_add take s64include/linux/percpu_counter.h lib/percpu_counter.c+5 -50 replies
5/23lib: percpu_counter_setinclude/linux/percpu_counter.h lib/percpu_counter.c+20 -00 replies
6/23lib: percpu_counter_sum_positivefs/ext3/super.c fs/ext4/super.c fs/file_table.c +2 more+9 -90 replies
7/23lib: percpu_count_sum()include/linux/percpu_counter.h lib/percpu_counter.c+20 -40 replies
8/23lib: percpu_counter_init error handlingfs/ext2/super.c fs/ext3/super.c fs/ext4/super.c +2 more+34 -120 replies
9/23lib: percpu_counter_init_irqinclude/linux/percpu_counter.h lib/percpu_counter.c+15 -00 replies
10/23mm: bdi init hooksblock/ll_rw_blk.c drivers/block/rd.c drivers/char/mem.c +16 more+130 -70 replies
11/23containers: bdi init hookskernel/container.c+11 -30 replies
12/23mtd: bdi init hooksdrivers/mtd/mtdcore.c+9 -00 replies
13/23mtd: clean up the backing_dev_info usagedrivers/mtd/mtdcore.c include/linux/mtd/mtd.h+7 -30 replies
14/23mtd: give mtdconcat devices their own backing_dev_infodrivers/mtd/mtdconcat.c+18 -100 replies
15/23mm: scalable bdi statistics counters.include/linux/backing-dev.h mm/backing-dev.c+109 -30 replies
16/23mm: count reclaimable pages per BDIfs/buffer.c fs/nfs/write.c include/linux/backing-dev.h +2 more+16 -00 replies
17/23mm: count writeback pages per BDIinclude/linux/backing-dev.h mm/page-writeback.c+11 -24 replies
18/23mm: expose BDI statistics in sysfs.block/ll_rw_blk.c+29 -00 replies
19/23lib: floating proportionsinclude/linux/proportions.h lib/Makefile lib/proportions.c+347 -10 replies
20/23lib: floating proportions _singleinclude/linux/proportions.h lib/proportions.c+220 -180 replies
21/23mm: per device dirty thresholdinclude/linux/backing-dev.h kernel/sysctl.c mm/backing-dev.c +1 more+199 -350 replies
22/23mm: dirty balancing for tasksinclude/linux/sched.h kernel/exit.c kernel/fork.c +1 more+66 -10 replies
23/23debug: sysfs files for the current ratio/size/totalblock/ll_rw_blk.c mm/page-writeback.c+82 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/23] per device dirty throttling -v8

Per device dirty throttling patches

These patches aim to improve balance_dirty_pages() and directly address three issues:
1) inter device starvation
2) stacked device deadlocks
3) inter process starvation

1 and 2 are a direct result from removing the global dirty limit and using per device dirty limits. By giving each device its own dirty limit is will no longer starve another device, and the cyclic dependancy on the dirty limit is broken.

In order to efficiently distribute the dirty limit across the independant devices a floating proportion is used, this will allocate a share of the total limit proportional to the device's recent activity.

3 is done by also scaling the dirty limit proportional to the current task's recent dirty rate.

Changes since -v7:
- perpcu_counter renames (partially suggested by Linus)
- percpu_counter error handling
- bdi_init error handling
- fwd port to .23-rc1-mm

---
#

# cleanups
#
nfs_congestion_fixup.patch
#
# percpu_counter rework
#
percpu_counter_add.patch
percpu_counter_batch.patch
percpu_counter_add64.patch
percpu_counter_set.patch
percpu_counter_sum_positive.patch
percpu_counter_sum.patch
percpu_counter_init.patch
percpu_counter_init_irq.patch
#
# per BDI dirty pages
#
bdi_init.patch
bdi_init_container.patch
bdi_init_mtd.patch
mtd-bdi-fixups.patch
bdi_mtdconcat.patch
bdi_stat.patch
bdi_stat_reclaimable.patch
bdi_stat_writeback.patch
bdi_stat_sysfs.patch
#
# floating proportions
#
proportions.patch
proportions_single.patch
#
# per BDI dirty
#
writeback-balance-per-backing_dev.patch
dirty_pages2.patch
#
# debug foo
#
bdi_stat_debug.patch

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>