From owner-freebsd-current Tue Oct 29 05:40:22 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA28346 for current-outgoing; Tue, 29 Oct 1996 05:40:22 -0800 (PST) Received: from shadows.aeon.net (bsdcur@shadows.aeon.net [194.100.41.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA28340; Tue, 29 Oct 1996 05:40:14 -0800 (PST) Received: (from bsdcur@localhost) by shadows.aeon.net (8.7.5/8.6.9) id PAA24942; Tue, 29 Oct 1996 15:40:25 +0200 (EET) From: mika ruohotie Message-Id: <199610291340.PAA24942@shadows.aeon.net> Subject: Re: Request to add this to FAQ re: swap space To: dyson@FreeBSD.org Date: Tue, 29 Oct 1996 15:40:25 +0200 (EET) Cc: dtc@scrooge.ee.swin.oz.au, current@FreeBSD.org In-Reply-To: <199610290207.VAA04150@dyson.iquest.net> from "John S. Dyson" at "Oct 28, 96 09:07:20 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > The most accurate external indication of swap space reqs is in /proc/???/map > for ranges that are mapped COW and rw access; So it would be interesting to > compare the ps virtual size with the proc filesystem on various machines. > That still doesn't account for SYSV shared memory regions (which can be > paged also.) will there be a program available for reading /proc/???/map in any time soon? > I agree that more swap is better, but at least we need to KILL the notion > that 2 X RAM is enough (IMO, 2 X RAM is never enough)!!! somehow, i've learned the formula for swap space to be 3.5 * ram wasnt that the "old" unix way? or something. is there _any_ disadvantages from having a _lots_ of swap? since on "small" machines i tend to use, depending the amount of drives, swap from 24 to 72 megs... on each drives. on servers i tend to use 128 megs on each drive, and i always have atleast two drives... assuming i'd have 6 drives i would have some 700+ megs of swap, and probably "just" 128 megs ram, would i run into troubles? (with 2gig drive it's "easy" to give out 128 megs for swap) what i mean, is there a number above which i'd get into troubles? (like say 1024 megs) what kinds of swap spaces one needs on a news server? on a web server? i rather would not swap at all, but i'm not the one who pays the ram... =) > John mickey