From owner-freebsd-current@FreeBSD.ORG Fri Feb 17 20:44:03 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 9B08416A420 for ; Fri, 17 Feb 2006 20:44:03 +0000 (GMT) (envelope-from brian@aljex.com) Received: from s1tank.virtdom.com (s1tank.virtdom.com [216.240.101.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 18A5D43D49 for ; Fri, 17 Feb 2006 20:44:02 +0000 (GMT) (envelope-from brian@aljex.com) Received: (qmail 98543 invoked by uid 89); 17 Feb 2006 21:23:34 -0000 Received: from ool-43552092.dyn.optonline.net (HELO venti) (brian@aljex.com@67.85.32.146) by s1tank.virtdom.com with SMTP; 17 Feb 2006 21:23:34 -0000 Message-ID: <008101c63402$de029d10$6c00000a@venti> From: "Brian K. White" To: 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> Date: Fri, 17 Feb 2006 15:43:28 -0500 Organization: Aljex Software MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: Re: Virtual memory consumption (both user and kernel) inmodern 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:44:03 -0000 ----- Original Message ----- From: "Mike Jakubik" To: "Kris Kennaway" Cc: "Giorgos Keramidas" ; "Dmitry Pryanishnikov" ; ; "David Xu" ; "Brian Candler" Sent: Friday, February 17, 2006 1:34 PM Subject: Re: Virtual memory consumption (both user and kernel) inmodern CURRENT > Kris Kennaway wrote: >> On Thu, Feb 16, 2006 at 08:23:50PM -0500, Mike Jakubik wrote: >> >>> And what am i trading off here? I have "/etc/malloc.conf@ -> ajz" and my >>> memory usage has gone up the roof. My system used to be swap free, and >>> now its swapping over 40 MB. Can someone explain to me why this new >>> malloc is better? I don't see any speed improvements. >>> >> >> It's a couple of orders of magnitude faster for threaded binaries. >> See earlier posts by the author for extensive discussion. >> > > 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. Especially if: What's orders of magnitude faster, the main parts of the app or merely the act of spawning/destroying a new thread? Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!