From owner-freebsd-current@FreeBSD.ORG Fri Feb 17 20:06:55 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 AE27116A420 for ; Fri, 17 Feb 2006 20:06:55 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id D0CE943D48 for ; Fri, 17 Feb 2006 20:06:54 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 33215 invoked from network); 17 Feb 2006 20:06:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=yQ6sJEB/ZKvIK5r083f8/E0UntNIML2bq1L//nTMw2ZGBI0IH/gUP2mdZtvijyfvbMZ8yaPpL2KEtVF0KPLInOA3uFUgEVC+UIB8HENYpg2t1UUV5JWD8BKupOYFhhjySPSwUdt8oG2tA4QPcraZ2OyGTtgAjuKRlNEJMUaY4gw= ; Received: from unknown (HELO ?70.30.133.184?) (mikej@rogers.com@70.30.133.184 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 17 Feb 2006 20:06:54 -0000 Message-ID: <43F62CF3.2000005@rogers.com> Date: Fri, 17 Feb 2006 15:07:15 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Jason Evans References: <20060215024339.N22450@atlantis.atlantis.dp.ua> <43F29BF5.4060300@freebsd.org> <20060216123548.GA35910@uk.tiscali.com> <20060216135138.GA16669@flame.pc> <43F525A6.3080701@rogers.com> <20060217013039.GA31540@xor.obsecurity.org> <43F6174A.7060801@rogers.com> <1091E3C1-1E93-4030-9097-D28C780F9D44@freebsd.org> In-Reply-To: <1091E3C1-1E93-4030-9097-D28C780F9D44@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Kris Kennaway 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, 17 Feb 2006 20:06:55 -0000 Jason Evans wrote: > On Feb 17, 2006, at 10:34 AM, Mike Jakubik wrote: >> >> Great, too bad only 2% of my applications are threaded. I just don't >> see this change very positively, using 40MB of swap, where before was >> none does not seem to me like a speed improvement. I'm all for better >> performance of threaded apps, but the trade off seems too high. > > Are redzones enabled? (They are turned on by default in CURRENT.) > You can check by reading the output from something like: > > MALLOC_OPTIONS=P ls > > Keep in mind that they use up substantial extra memory -- 32 bytes per > allocation. Unless you have disabled redzones, you should expect much > higher memory usage with jemalloc than with phkmalloc. ___ Begin malloc statistics ___ Number of CPUs: 1 Number of arenas: 1 Cache slots: 256 Chunk size: 16777216 (2^24) Quantum size: 16 (2^4) Pointer size: 4 Number of bins: 128 Maximum bin size: 2096 Assertions enabled Redzone size: 16 Allocated: 22272, space used: 33554432 Does this mean they are enabled? and if so, how can i disable them? Which malloc is in -current now?