Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2001 12:09:10 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Bruce Burden <brucegb@realtime.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: /swap too large? What??
Message-ID:  <200101142009.f0EK9Ah51097@earth.backplane.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

:> :	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101142009.f0EK9Ah51097>