提交 07db59bd 编写于 作者: L Linus Torvalds

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: NLinus Torvalds <torvalds@linux-foundation.org>
上级 de46c337
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册