Re: [PATCH 6/6] vmscan: Kick flusher threads to clean pages when reclaim is encountering dirty pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Sunday, August 1, 2010 - 4:56 am

> Sigh.  We have sooo many problems with writeback and latency.  Read

I'm sweeping bug 12309. Most people reports some data writes, though
relative few explicitly stated memory pressure is another necessary
condition.

One interesting report is #3. Thomas reported the same slowdown
_without_ any IO. He was able to narrow down the bug to somewhere
between 2.6.20.21 and 2.6.22.19. I searched through the git and found
a congestion_wait() in commit 232ea4d69d (throttle_vm_writeout():
don't loop on GFP_NOFS and GFP_NOIO allocations) which was later
removed by commit 369f2389e7 (writeback: remove unnecessary wait in
throttle_vm_writeout()).

How can the congestion_wait(HZ/10) be a problem? Because it
unconditionally enters wait loop. So if no IO is underway, it
virtually becomes a schedule_timeout(HZ/10) because there are
no IO completion events to wake it up.

Thanks,
Fengguang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/6] vmscan: tracing: Roll up of patches curren ..., Frederic Weisbecker, (Fri Jul 30, 7:04 am)
Re: [PATCH 1/6] vmscan: tracing: Roll up of patches curren ..., Frederic Weisbecker, (Fri Jul 30, 7:15 am)
Re: [PATCH 6/6] vmscan: Kick flusher threads to clean page ..., Wu Fengguang, (Sun Aug 1, 4:56 am)
perf scripting, Christoph Hellwig, (Sat Aug 14, 1:04 pm)
Re: perf scripting, Frederic Weisbecker, (Thu Sep 16, 5:08 am)
Re: perf scripting, Masami Hiramatsu, (Fri Sep 17, 3:32 am)
Re: perf scripting, Tom Zanussi, (Fri Sep 17, 10:04 pm)