From owner-freebsd-current@FreeBSD.ORG Fri Feb 24 22:56:01 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 58C7516A420 for ; Fri, 24 Feb 2006 22:56:01 +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 A7AC143D6A for ; Fri, 24 Feb 2006 22:55:57 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: by lh.synack.net (Postfix, from userid 100) id 8A5315E4902; Fri, 24 Feb 2006 14:55:57 -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 0D09F5E48F6; Fri, 24 Feb 2006 14:55:55 -0800 (PST) In-Reply-To: <1743.1140821039@critter.freebsd.dk> References: <1743.1140821039@critter.freebsd.dk> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <45B20008-CAC0-41FC-9F35-CEFE59611265@freebsd.org> Content-Transfer-Encoding: 7bit From: Jason Evans Date: Fri, 24 Feb 2006 14:55:59 -0800 To: Poul-Henning Kamp 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: Mike Jakubik , 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 22:56:01 -0000 On Feb 24, 2006, at 2:43 PM, Poul-Henning Kamp wrote: > In message <06424916-2FC9-4A31-A109-654682BFC1C4@freebsd.org>, > Jason Evans writes: >> 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. > > Running which applications ? This was immediately after boot. I used ssh to log in, then ran top to get a snapshot at ~60 seconds after boot. Things like getty, zsh, sshd, and sendmail were running (total of 23 processes). Admittedly, this is a rather lame experimental design, but it was simple to perform, and I wanted to know if there were huge differences in system memory usage, as a number of people have repeatedly implied. This experiment convinced me that there are not any consistently substantial differences in memory usage, though I fully expect there to be variation, depending on the application(s) being run. Jason