Re: ~500 megs cached yet 2.6.5 goes into swap hell

From: William Lee Irwin III
Date: Thu Apr 29 2004 - 01:35:08 EST


At some point in the past, I wrote:
>> The really strange thing is that the behaviour seems to get worse the
>> more RAM you have. I haven't noticed any problem at all on my laptop
>> with 768MB, only on the G5, which has 2.5GB. (The laptop is still on
>> 2.6.2-rc3 though, so I will try a newer kernel on it.)

On Thu, Apr 29, 2004 at 04:12:38PM +1000, Benjamin Herrenschmidt wrote:
> Your G5 also has a 2Gb IO hole in the middle of zone DMA, it's possible
> that the accounting doesn't work properly.

Hmm, ->present_pages vs. ->spanned_pages distinction(s) should cover
this, or should have at one point. How are those being set at the moment?


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/