Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 16:53:36 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        abial@nask.pl (Andrzej Bialecki)
Cc:        luigi@labinfo.iet.unipi.it, freebsd-current@FreeBSD.ORG
Subject:   Re: There was PicoBSD - let there be a Mini...
Message-ID:  <199804182153.QAA25065@dyson.iquest.net>
In-Reply-To: <Pine.NEB.3.95.980418232450.24028A-100000@korin.warman.org.pl> from Andrzej Bialecki at "Apr 18, 98 11:27:54 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Andrzej Bialecki said:
> On Sat, 18 Apr 1998, Luigi Rizzo wrote:
> 
> > > * the whole installation (available in sysinstall :-) would place FreeBSD
> > > on an existing DOS partition.  Installation program would create the file
> > > with filesystem on it (which will then be mounted on a vn(4) device). This
> > > will require (well, it depends) ca. 16-24MB of free space on a DOS
> > > partition.
> > 
> > you'd need this much space just for the swapfile.
> 
> As I said: it depends. E.g. PicoBSD doesn't use swap at all... So perhaps,
> in case of X's, 8MB would be for swap and 16MB for the binaries.
> 
As you probably know, FreeBSD-current has two interesting sysctl variables
for swap control, for exactly the case of embedded applications:

sysctl vm.defer_swapspace_pageouts
	Makes it improbable to use swap space, unless the system really
	needs it.

sysctl vm.disable_swapspace_pageouts
	Makes the system avoid using swap totally.

In the above cases, the paging algorithms are changed to be friendly for
the application.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804182153.QAA25065>