Messages in this thread | | | Date | Thu, 30 Jul 2009 12:55:44 -0700 | Subject | Re: Bug in kernel 2.6.31, Slow wb_kupdate writeout | From | Martin Bligh <> |
| |
> Note that this is a simple fix that may have suboptimal write performance. > Here is an old reasoning: > > http://lkml.org/lkml/2009/3/28/235
The other thing I've been experimenting with is to disable the per-page check in write_cache_pages, ie:
if (wbc->nonblocking && bdi_write_congested(bdi)) { wb_stats_inc(WB_STATS_WCP_SECTION_CONG); wbc->encountered_congestion = 1; /* done = 1; */
This treats the congestion limits as soft, but encourages us to write back in larger, more efficient chunks. If that's not going to scare people unduly, I can submit that as well. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |