Subject: no swap (was Re: Problems with 1.6_Beta5 install on i386 / Thinkpad
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 08/08/2002 08:57:11
On Thu, 8 Aug 2002, Rasputin wrote:

> > Is swap space really needed these days, except perhaps for a crash coredump?
> >
> > I'd prefer NO swap space if possible.
>
> Just set
> no_swap=YES
> in rc.conf
>
> I do it on my MobilePro since it only has a 128Mb CF card as a disk,
> and I don't want to wear it out too quickly (limited writes).
>
> Not ideal, and it will lock up if it runs out of RAM (only 32Mb),
> but suits my needs.

Does everything lock up?

When I run out of memory with no swap I get things like:

  /netbsd: UVM: pid 2816 (gimp-1.2), uid 0 killed: out of swap

And just some processes are killed.

   Jeremy C. Reed
   http://bsd.reedmedia.net/