Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 09:47:10 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        freebsd-questions-local@be-well.no-ip.com (Lowell Gilbert)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with adding more swap !
Message-ID:  <200310141347.h9EDlBb6010344@clunix.cl.msu.edu>
In-Reply-To: <44he2cyoma.fsf@be-well.ilk.org> from "Lowell Gilbert" at Oct 14, 2003 08:45:17 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Jerry McAllister <jerrymc@clunix.cl.msu.edu> writes:
> 
> > Well, if you can spread it across multiple controllers, it can
> > speed things up.
> 
> Right.
> 
> >                   But, generally I think that swap is used in
> > a serial manner, eg the first chunk gets used up before the 
> > next one is started, etc.
> 
> That's wrong.  See the Handbook section titled "Swap Partition".
> http://www.freebsd.org/handbookconfigtuning-initial.html#SWAP-DESIGN
> 
> >                            So, that would mean that you would
> > want to put only a little on the boot drive (you need some there
> > for special occasions) and most of the rest on another drive
> > and another controller if you can.
> 
> Because FreeBSD tries to "stripe" the usage across all of the swap
> space, you're best off giving it space on all of the disks.  However,
> if your disks are not all the same speed, you're better off sticking
> to the fastest ones for swap space.

Hmmm.   Guess I am out of date on this part.   Some older systems I
worked on (not necessarily FreeBSD) did not stripe swap.  It's very
nice that FreeBSD does.

////jerry



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