From owner-freebsd-current@FreeBSD.ORG Thu Feb 16 12:35:53 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 EB60216A423; Thu, 16 Feb 2006 12:35:53 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AD643D48; Thu, 16 Feb 2006 12:35:53 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 3AFF3B2; Thu, 16 Feb 2006 07:36:14 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id C841AC558; Thu, 16 Feb 2006 07:36:11 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F9iMO-0009Lj-59; Thu, 16 Feb 2006 12:35:48 +0000 Date: Thu, 16 Feb 2006 12:35:48 +0000 From: Brian Candler To: David Xu Message-ID: <20060216123548.GA35910@uk.tiscali.com> References: <20060215024339.N22450@atlantis.atlantis.dp.ua> <43F29BF5.4060300@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F29BF5.4060300@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: Dmitry Pryanishnikov , freebsd-current@freebsd.org 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: Thu, 16 Feb 2006 12:35:54 -0000 On Wed, Feb 15, 2006 at 11:11:49AM +0800, David Xu wrote: > >1) Is it normal that virtual memory size for almost every non-kernel > >process > > is close to 50Mb now: > > > > ftp://external.atlantis.dp.ua/FreeBSD/CURRENT/top.txt > > > > Is it miscalculation or real growth of virtual address space? > > > > > I believe this is the new malloc code in libc, I am seeing this on my > Athlon64 machine, now it likes swap memory, in the old days, it seldom > touched it. IIRR, the new malloc grabs 32MB immediately. However, I'd hope that doesn't mean that 32MB of pages are actually touched, and then get swapped out to disk. If it does, I'm staying on FreeBSD 6.0 :-) Regards, Brian.