| Submitter | Wu Fengguang |
|---|---|
| Date | March 23, 2009, 12:57 a.m. |
| Message ID | <20090323005738.GB6003@localhost> |
| Download | mbox | patch |
| Permalink | /patch/24905/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
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 netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
--- 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