Subject: Re: making swap *smaller* than memory can be painful
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <roberto@redix.it>
List: current-users
Date: 01/29/2004 17:21:58
> On Tue, Jan 27, 2004 at 11:00:06AM +1000, George Michaelson wrote:
>> I decided the "2x memory for swap" rule probably didn't apply any more,
>> and made my system have 128mb swap for 256mb memory. Until today, that
>> is.
>>
>> last night, moving a 1.5Gb ghost image in via ssh, with some local
>> folder
>> activity in email and a browser, I had ls processes crap out with:
>>
>> Jan 26 18:50:00 dhcppc1 /netbsd: UVM: pid 1424 (ls), uid 101 killed:
>> 	 out of swap
>>
>> indeed top showed that the Swap utilization was extreme.
>
> What did it report for memory ? especially the Exec, File and Free fields
> ?
> You may need to adjust some uvm parameters for your workload ...
>

Like George, on my notebook I've configured swap at about 1/2 of actual
RAM (only for space saving):
 total RAM= 512 MB
 swap 256 MB (instead of 1GB)

Please, could you explain to me the meanings of the memory fields you
mention? how to interpret them?

Thanks,
Roberto