Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 1997 16:02:38 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        henrich@crh.cl.msu.edu (Charles Henrich)
Cc:        dwhite@resnet.uoregon.edu, freebsd-questions@FreeBSD.ORG
Subject:   Re: Swap Files
Message-ID:  <199708052102.QAA00633@dyson.iquest.net>
In-Reply-To: <19970805163049.55827@crh.cl.msu.edu> from Charles Henrich at "Aug 5, 97 04:30:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On the subject of Re: Swap Files, Doug White stated:
> 
> > Are you trying to make a vnswap space?  Didn't you allocate a partition for
> > swap?  You should have during initial system setup.
> 
> A) Yes, B) No.  Does FreeBSD require a swap partition to operate?
>
Pretty much.

> 
> > See vnconfig(8) for details on how to set this up.  Your performance is
> > going to be horrible though; I would suggest repartitioning if this is a new
> > system.
> 
> Why should it be any worse than a swap partition?
> 
The biggest problem is that there is BMAP overhead.   When doing the BMAP,
there is a possibility of deadlock.  I have avoided making it easy to
use swap files because the current support in the kernel is so poor,
and it needs some special work to really function correctly.  Swapping
on files should only be done in emergency conditions (IMO), or when
other atypical system loads are run.

I suggest "don't do that." :-).

John



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