Message ID | 20090323005738.GB6003@localhost (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Mon, 23 Mar 2009, Wu Fengguang wrote: > > > > I think this was tracked back to the effective halving of > > dirty_ratio by 1cf6e7d83 ("mm: task dirty accounting fix") and > > doubling the ratio fixed the iozone regression. > > Yes, exactly. The patch for fixing this regression is trivial. I was planning on applying that patch only after 2.6.29 is out, and then if there are no surprising side effects and nobody complains, we'd then back-port it into stable. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- mm.orig/mm/page-writeback.c +++ mm/mm/page-writeback.c @@ -66,7 +66,7 @@ static inline long sync_writeback_pages( /* * Start background writeback (via pdflush) at this percentage */ -int dirty_background_ratio = 5; +int dirty_background_ratio = 10; /* * dirty_background_bytes starts at 0 (disabled) so that it is a function of @@ -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 = 20; /* * vm_dirty_bytes starts at 0 (disabled) so that it is a function of