*BSD News Article 45431


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news1.oakland.edu!vtc.tacom.army.mil!agis!ns2.mainstreet.net!news.i.net!news.world.net!news.sprintlink.net!xnet!cyclone!dnelson
From: dnelson@cyclone (Dan Nelson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Suggestion for 3.0 :-)
Date: 14 Jun 1995 06:38:53 GMT
Organization: X-Net, X-Files, X-com, X-men
Lines: 26
Distribution: best
Message-ID: <3rm05t$ikb@flood.xnet.com>
References: <3r7p9i$2ko@news.bu.edu> <JUN.95Jun13132032@fox.fax.iwa.fujixerox.co.jp> <3rlp96$hu6@shell1.best.com>
NNTP-Posting-Host: cyclone.xnet.com
X-Newsreader: TIN [version 1.2 PL2]

Junichi Kurokawa <jun@fox.fax.iwa.fujixerox.co.jp> wrote:
>>>>>> "M" == Mikhail Teterin <mi@cs.bu.edu> writes:
>
>    M> How about using all (or a chunk) of Windows swap file space as an
>    M> additional swap space? I believe many of FreeBSD users also have
>    M> MS Windows installed.
>
>Plain-file swap as opposed to a dedicated swap pttn will be even better.
>
># any possibility for performance drawback?

I would assume you'd get a pretty big hit, since you're now going through
the MSDOS filesystem code, and for swap files, you want as fast access as
you can get.

On the other hand, I just vnconfig'd my 386spart.par (or whatever it is) as
a swap device, and it works okay.  Since I only made a 32 meg raw swap
partition, adding 12 more megs of swap without repartitioning was nice.

I noticed (via swapinfo) that it seemed to fill both swap devices at the
same time, though.  Can I tell BSD to use my raw partition first?


-Dan Nelson       //                         Some people think MS-DOS is a
                \X/                          necessary evil.  They are wrong. 
dnelson@xnet.com                             MS-DOS is *not* necessary.