Skip to content

Commit

Permalink
Tune dirty_background_ratio and vm_dirty_ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyAtall committed Jun 13, 2012
1 parent 5240c1d commit 42d050f
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 @@ -66,7 +66,7 @@ static inline long sync_writeback_pages(void)
/*
* Start background writeback (via pdflush) at this percentage
*/
int dirty_background_ratio = 5;
int dirty_background_ratio = 70;

/*
* dirty_background_bytes starts at 0 (disabled) so that it is a function of
Expand All @@ -83,7 +83,7 @@ int vm_highmem_is_dirtyable;
/*
* The generator of dirty data starts writeback at this percentage
*/
int vm_dirty_ratio = 10;
int vm_dirty_ratio = 90;

/*
* vm_dirty_bytes starts at 0 (disabled) so that it is a function of
Expand Down

0 comments on commit 42d050f

Please sign in to comment.