From owner-freebsd-stable Sun Jan 14 12: 9:33 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id B4EF737B698 for ; Sun, 14 Jan 2001 12:09:13 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0EK9Ah51097; Sun, 14 Jan 2001 12:09:10 -0800 (PST) (envelope-from dillon) Date: Sun, 14 Jan 2001 12:09:10 -0800 (PST) From: Matt Dillon Message-Id: <200101142009.f0EK9Ah51097@earth.backplane.com> To: Bruce Burden Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /swap too large? What?? References: <20010113002643.A33278@tigerfish2.my.domain> <200101131927.f0DJRSS34276@earth.backplane.com> <20010113150956.B37497@tigerfish2.my.domain> <200101132205.f0DM5pJ35749@earth.backplane.com> <20010114132520.A79824@tigerfish2.my.domain> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> : I have dropped things back to NSWAPDEV=3, and see if that :> : does anything. :> :> That will fix it. :> : Indeed it did. While have rarely seen swapping take place : under normal situations (GIMP, as I mentioned, will swap), it : was a bit nerve-wracking to see free memory dropping somewhat : low w/out any swap space. On the other hand, I did note that : garbage collection is much more aggressive when you don't have : any swap space! : : Bruce Both -current and 4.x have the low-memory deadlock patches, which also cleanup the pageout daemon to the point where it is very close to perfect. Another thing that helps for systems with no swap is to set the 'H' malloc.conf flag (e.g. ln -s H /etc/malloc.conf). This allows the system to more aggressively revert dirty pages free()'d by malloc back to demand-zero pages. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message