[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Found the commit that causes the OOMs
KOSAKI Motohiro wrote:

> if my guess is correct, we need to implement #-of-reclaim-process throttling
> mechanism.

There are probably some other things that want throttling,

For example, the number of pages currently under IO can
be as large as the entire file and anon inactive lists,
which can cause page reclaim to fail because none of the
pages are reclaimable yet.

This is probably not a big issue for the page cache,
since the readahead window will collapse before we hit
this problem.

However, we may want to take measures to ensure that
the total number of pages in swap readahead do not
take up the entire inactive anon list - maybe we should
limit it to half that amount, to stay on the safe side?

I'll whip up a patch for this tomorrow.

That should get rid of the OOMs that have been observed
with the swap readahead patches by Johannes.

All rights reversed.

 \ /
  Last update: 2009-07-01 04:17    [W:0.100 / U:4.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site