diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:10:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:10:47 -0400 |
commit | 07db59bd6b0f279c31044cba6787344f63be87ea (patch) | |
tree | 692c90c6cc45de055bc59b12c2c953d462319831 | |
parent | de46c33745f5e2ad594c72f2cf5f490861b16ce1 (diff) |
Change default dirty-writeback limits
Do this really early in the 2.6.22-rc series, so that we'll get
feedback. And don't change by half measures. Just cut the default
dirty limit to a quarter of what it was, and see if anybody even
notices.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/page-writeback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index f469e3cd08e8..a794945fd194 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -67,12 +67,12 @@ static inline long sync_writeback_pages(void) | |||
67 | /* | 67 | /* |
68 | * Start background writeback (via pdflush) at this percentage | 68 | * Start background writeback (via pdflush) at this percentage |
69 | */ | 69 | */ |
70 | int dirty_background_ratio = 10; | 70 | int dirty_background_ratio = 5; |
71 | 71 | ||
72 | /* | 72 | /* |
73 | * The generator of dirty data starts writeback at this percentage | 73 | * The generator of dirty data starts writeback at this percentage |
74 | */ | 74 | */ |
75 | int vm_dirty_ratio = 40; | 75 | int vm_dirty_ratio = 10; |
76 | 76 | ||
77 | /* | 77 | /* |
78 | * The interval between `kupdate'-style writebacks, in jiffies | 78 | * The interval between `kupdate'-style writebacks, in jiffies |