Problem with adding more swap !

Jerry McAllister jerrymc at clunix.cl.msu.edu
Tue Oct 14 06:47:16 PDT 2003


> 
> Jerry McAllister <jerrymc at 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



More information about the freebsd-questions mailing list