Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 11:10:21 -0500 (CDT)
From:      John Sconiers <jrs@enteract.com>
To:        "Matthew D. Fuller" <fullermd@futuresouth.com>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, "Childers, Richard" <RCHILDER@hamquist.com>, "'H. Eckert '" <ripley@nostromo.in-berlin.de>, "'freebsd-security@FreeBSD.ORG '" <freebsd-security@FreeBSD.ORG>
Subject:   Re: 4 Swap partitions limit (was  Re: RE: Little question (offtopic))
Message-ID:  <Pine.NEB.3.96.990811110026.21362A-100000@shell-2.enteract.com>
In-Reply-To: <19990810175550.A2750@futuresouth.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > :Continuing to wander off-topic, here ... I've noticed that FreeBSD 3.1 will
> > :not allow more that four swap partitions. Does anyone know why this is?
> >     You can compile up a kernel that allows more then four, but even
> >     having four will almost certainly going to be overkill.
> How so?
> I have 5 on my personal workstation, and will probably have more whenever
> I add disk.  I generally stick a swap partition on every physical disk
> (things like news spool drives are excepted for obvious reasons).
> Vis:
> [17:45:29] mortis:~
> (ttyp8):{6}% pstat -s
> Device      1024-blocks     Used    Avail Capacity  Type
> /dev/da0s1b      655232        0   655232     0%    Interleaved
> /dev/da1s1b      524160        0   524160     0%    Interleaved
> /dev/da2s1b      130944        0   130944     0%    Interleaved
> /dev/da3s1b      262016        0   262016     0%    Interleaved
> /dev/da4s1b      524160        0   524160     0%    Interleaved
> Total           2096512        0  2096512     0%
> (I just rebooted, normally anywhere from 50-200 megs is used under normal
> conditions).


I don't know your configuration but I had a PII-400 with 4 UW-SCSI drives
and 256 MB ram running -current.  I dedicated 3 256MB swap partitions
(over 3 drives). The machine was used a test box.  It ran 1 test database
instance and was used to compile source for ports, kernels, make world,
nfs shares,  etc. Averaged 3 users with multiple terminal sessions.
Never (almost never) used the swap partitions.

John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.990811110026.21362A-100000>