From owner-freebsd-questions Wed Dec 26 10:32:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id B83BF37B41A; Wed, 26 Dec 2001 10:32:23 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fBQIWLC91821; Wed, 26 Dec 2001 12:32:21 -0600 (CST) (envelope-from dan) Date: Wed, 26 Dec 2001 12:32:21 -0600 From: Dan Nelson To: Andrei Popov Cc: freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Swap not used *at**all* Message-ID: <20011226183221.GA20596@dan.emsphone.com> References: <20011226091540.A70996@m-net.arbornet.org> <20011226151905.GA84869@dan.emsphone.com> <20011226124857.A30355@m-net.arbornet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20011226124857.A30355@m-net.arbornet.org> User-Agent: Mutt/1.3.24i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 26), Andrei Popov said: > On Wed, Dec 26, 2001 at 09:19:05AM -0600, Dan Nelson wrote: > > In the last episode (Dec 26), Andrei Popov said: > > > Is this normal: > > > > > > Device 1K-blocks Used Avail Capacity Type > > > /dev/ad4s1b 525344 0 525344 0% Interleaved > > >=20 > > > This machine is running with 256MB RAM and a 512MB swap device.=20 > > > Swap usage is zero even when running X and postgress and > > > aolserver with a running instance of OpenACS-4. > >=20 > > Try this: dd if=3D/dev/zero of=3D/dev/null bs=3D192m count=3D1. That > > should force some swapping :) >=20 > It sure does :) >=20 > But the question still remains -- is it not odd that there's no > swapping when running X, nor is there one when running fairly > expenm=7Fsive Postgres selects et al? Not necessarily. It depends on your configuration. If you tell Postgres to use (say) 192MB of memory, then it will definitely swap, just like the dd did. If you only configure it for 64MB, then it could easily coexist with X, Netscape, and other medium-memory-use applications without swapping. I wouldn't expect AOLServer to consume much memory at all. As comparison, I have a 512MB box that runs mysql (256MB), squid (75MB), and roxen (20MB), and occasionally X+mozilla (64MB). It has 30MB of swap used at the moment, which was probably just used once. --=20 Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message