From owner-freebsd-questions Mon Sep 15 11:20:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA14624 for questions-outgoing; Mon, 15 Sep 1997 11:20:49 -0700 (PDT) Received: from nic.7da.nl (nic.7da.nl [195.108.246.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA14619 for ; Mon, 15 Sep 1997 11:20:45 -0700 (PDT) Received: from psd.7da.nl [195.108.246.100] by nic.7da.nl id UAA10268; Mon, 15 Sep 1997 20:25:05 +0200 Received: from localhost [127.0.0.1] by gromit.nev.ml.org id UAA00778; Mon, 15 Sep 1997 20:24:30 +0200 Date: Mon, 15 Sep 1997 20:24:29 +0200 (MET DST) From: Paul Dekkers To: "marino.ladavac@siemens.at" cc: freebsd-questions@FreeBSD.ORG Subject: Re: swap In-Reply-To: <199709151808.UAA04399@ws6423.gud.siemens.at> Message-ID: Organization: Me and organized? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 15 Sep 1997, marino.ladavac@siemens.at wrote: >> Does it matter how big your swapdrive is? I have currently a swapdisk of >> 50MB, that's enough I think, but does it make the system slower the bigger >> the swapslice is? > >How much swap do you need depends on the disparity of your RAM and total >intended working set size--in other words if your apps require 100 Megs of >memory, and you have only 20 Megs of RAM, you'd better have at least 80 Megs >of swap. You might need even full 100 Megs of swap if the particular VM >implementation reserves swap space for all potentially written RAM pages. well, there are just 8 mb's of ram in that box, not that many, so I need a little swap I think :-) (asked for more memory already) >The size of the swap area does imply an overhead consisting mainly of the >free swap page list which is usually implemented as a bitmap. At 1 Byte per >32 KBype of swap (4 KByte page size is assumed), this overhead is rather >negligible. Hmm... I can't change the number of megs isn't it... I have to reinstall my whole system I think, so I leave it there, it are 50 meg's now, I'm happy with it, and otherwise I place a small harddisk next to this one... should work ;-) (and when putting it into the fstab before the current entry it even gets priority, maybe not a bad idea instead of the current heavily used disk ;-)) can I use a normal file as swap too btw? (make a temporary swap file on another disk if needed is not that bad I think) -- Paul Dekkers (psd@nev.ml.org or psd@dds.nl) N.E.V - Nescio Ergo Valeo Inutile sine dubio erit, quod dicturus sum, sed tamen dicam