Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Wednesday, April 14, 2010 - 9:19 pm

On Thu, Apr 15, 2010 at 11:31:52AM +0800, KOSAKI Motohiro wrote:

No I'm not talking OOM. Nor lumpy reclaim.

I mean the direct reclaim can get stuck for long time, when we do
wait_on_page_writeback() on lumpy_reclaim=1.


Sure. But we can wait for IO a bit later -- after scanning 1/64 LRU
(the below patch) instead of the current 1/1024.

In Andreas' case, 512MB/1024 = 512KB, this is way too low comparing to
the 22MB writeback pages. There can easily be a continuous range of
512KB dirty/writeback pages in the LRU, which will trigger the wait
logic.

Thanks,
Fengguang

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), Andreas Mohr, (Sun Apr 4, 3:13 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), =?iso-8859-1?B?R+Fib ..., (Sun Apr 4, 4:31 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), KOSAKI Motohiro, (Wed Apr 14, 8:31 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), Wu Fengguang, (Wed Apr 14, 9:19 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), KOSAKI Motohiro, (Wed Apr 14, 9:32 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), KOSAKI Motohiro, (Wed Apr 14, 9:55 pm)
Re: 32GB SSD on USB1.1 P3/700 == ___HELL___ (2.6.34-rc3), Wu Fengguang, (Wed Apr 14, 10:19 pm)