Subject: Re: failing to keep a process from swapping
To: enami tsugutomo <firstname.lastname@example.org>
From: SODA Noriyuki <email@example.com>
Date: 10/30/2004 05:41:41
>>>>> On Sat, 30 Oct 2004 05:26:05 +0900 (JST),
enami tsugutomo <firstname.lastname@example.org> said:
>> Perhaps is it better to change the calculation of (uvmexp.active +
>> uvmexp.inactive + uvmexp.free) in uvmpd_scan_inactive() to
> I don't think it's better since pagedaemon can do something only for
> pages on the queues.
>> BTW, do you have any idea what was happening at the following case?
>> It seems the anonymous memory didn't exceed anonmax at that point,
>> although it's not 100% sure.
> There is no exact number (e.g., vmstat -s etc) of `that point' but at
> least the number in the
> http://mail-index.netbsd.org/current-users/2004/10/07/0014.html tells
> that anon reaches to the max (600MB of anon vs 700MB of pages on the
Ah, that's right.
(1000 * 0.64) / (470 + 240 + 1) > 90%
Thus, there is no wonder why anon pages are paged out.