From owner-freebsd-current@FreeBSD.ORG Fri Feb 24 21:07:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D649916A420 for ; Fri, 24 Feb 2006 21:07:45 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: from lh.synack.net (lh.synack.net [204.152.188.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDD143D48 for ; Fri, 24 Feb 2006 21:07:45 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: by lh.synack.net (Postfix, from userid 100) id 068555E4903; Fri, 24 Feb 2006 13:07:45 -0800 (PST) Received: from [129.101.159.73] (unknown [129.101.159.73]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by lh.synack.net (Postfix) with ESMTP id 745355E48F6; Fri, 24 Feb 2006 13:07:43 -0800 (PST) In-Reply-To: <43FE9370.8000209@rogers.com> References: <43FE6DBD.5000006@paradise.net.nz> <2154.FgtQRFVGBkU=.1140749016.squirrel@172.16.0.1> <43FE7800.4040808@paradise.net.nz> <43FE9370.8000209@rogers.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <06424916-2FC9-4A31-A109-654682BFC1C4@freebsd.org> Content-Transfer-Encoding: 7bit From: Jason Evans Date: Fri, 24 Feb 2006 13:07:45 -0800 To: Mike Jakubik X-Mailer: Apple Mail (2.746.2) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on lh.synack.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 Cc: freebsd-current@freebsd.org, Peter Fraser , Mark Kirkwood Subject: Re: Virtual memory consumption (both user and kernel) in modern CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 21:07:46 -0000 On Feb 23, 2006, at 9:02 PM, Mike Jakubik wrote: > Mark Kirkwood wrote: >> Mike Jakubik wrote: >>> On Thu, February 23, 2006 9:21 pm, Mark Kirkwood wrote: >>> >>> >>>> The most likely culprit is the fact that redzones are enabled at >>>> the >>>> moment in -CURRENT. >>>> >>>> On that note, Mike - did you try turning them off? >>> >>> >>> Yes, it lowered my swap space usage from 40MB to 1MB. Which is >>> certainly >>> better, but even before, my system used no swap. >>> >> >> Hmm, that's not so great - any idea about how much free memory you >> had using the old malloc? >> >> I'm interested, as I run 6.0R on a PIII with 512MB RAM and have >> (right now) 193MB free, that's with Enlightment, Firefox, >> Thunderbird, xmms, and several Eterms running - so needless to say >> it runs great. I'm wondering what the situation will look like >> with -CURRENT.... > > Nope, and i don't really feel like backing out malloc and > recompiling world now :P Basically, i had bit more free memory, > but i suggest you stick with 6.x, unless you don't mind testing a > development branch. I did some quick experiments last night, where I booted a -current system with phkmalloc, then with jemalloc. The total increase in resident memory was negligible, on the order of kilobytes. Jason