From owner-freebsd-security Wed Aug 11 9:10:25 1999 Delivered-To: freebsd-security@freebsd.org Received: from pop3-3.enteract.com (pop3-3.enteract.com [207.229.143.32]) by hub.freebsd.org (Postfix) with SMTP id 320F014E03 for ; Wed, 11 Aug 1999 09:10:16 -0700 (PDT) (envelope-from jrs@enteract.com) Received: (qmail 69542 invoked from network); 11 Aug 1999 16:10:21 -0000 Received: from shell-2.enteract.com (jrs@207.229.143.41) by pop3-3.enteract.com with SMTP; 11 Aug 1999 16:10:21 -0000 Date: Wed, 11 Aug 1999 11:10:21 -0500 (CDT) From: John Sconiers To: "Matthew D. Fuller" Cc: Matthew Dillon , "Childers, Richard" , "'H. Eckert '" , "'freebsd-security@FreeBSD.ORG '" Subject: Re: 4 Swap partitions limit (was Re: RE: Little question (offtopic)) In-Reply-To: <19990810175550.A2750@futuresouth.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > :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