27 lines
799 B
Diff
27 lines
799 B
Diff
From: Jan Kara <jack@suse.cz>
|
|
Subject: Increase limits for starting writeback of dirty data
|
|
References: bnc#449662
|
|
Patch-mainline: ?
|
|
|
|
Return limits for dirty pages writeback to the numbers from SLES10. This dramatically
|
|
improves performance of workloads dirtying a lot of memory (e.g. simple databases not
|
|
using direct IO) and we're not aware it would harm anything.
|
|
|
|
Signed-off-by: Jan Kara <jack@suse.cz>
|
|
|
|
---
|
|
mm/page-writeback.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/mm/page-writeback.c
|
|
+++ b/mm/page-writeback.c
|
|
@@ -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 = 40;
|
|
|
|
/*
|
|
* vm_dirty_bytes starts at 0 (disabled) so that it is a function of
|