*BSD News Article 85931


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.sgi.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: What is smallest swap file size possible?
Date: 27 Dec 1996 16:39:32 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <5a0u44$df1@uriah.heep.sax.de>
References: <E208FH.L68@murdoch.acc.virginia.edu>
  <32A9022F.167EB0E7@freebsd.org> <597d2a$ion@uriah.heep.sax.de>
  <59ar9m$ecf@news.ziplink.net> <59m0uo$423@uriah.heep.sax.de>
  <32BF57F6.F15@fred.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33391

Roger Armstrong <mcurry@fred.net> wrote:

> Joerg, didn't this discussion originally center around a firmware
> installation of FreeBSD?  If so, is it not more reasonable to simply
> stipulate a big chunk of RAM (heck, what's 16MB among friends?) as a
> ramdisk, and make it a swap partition?  Why cripple the OS in an attempt
> to do away with swap space?

Well, no, you can't do _this_. :-)

The `ramdisk' in BSD is rather a VMdisk, i.e. it will be backed with
the normal paging area.  Hence all you'd get by using it to create a
swap file would be increased overhead.

For an embedded installation (and if you're sure that your programs
don't run out of VM), it's not unusual to not use swap at all.  Since
this is nothing you would setup using sysinstall however ;-), it's
irrelevant to the question whether sysinstall insists on configuring
swap or not.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)