Skip to content

Commit

Permalink
Change default dirty-writeback limits
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Linus Torvalds committed Apr 27, 2007
1 parent de46c33 commit 07db59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ static inline long sync_writeback_pages(void)
/*
* Start background writeback (via pdflush) at this percentage
*/
int dirty_background_ratio = 10;
int dirty_background_ratio = 5;

/*
* The generator of dirty data starts writeback at this percentage
*/
int vm_dirty_ratio = 40;
int vm_dirty_ratio = 10;

/*
* The interval between `kupdate'-style writebacks, in jiffies
Expand Down

0 comments on commit 07db59b

Please sign in to comment.