From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 30 11:27:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91632796 for ; Tue, 30 Oct 2012 11:27:37 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2A67C8FC16 for ; Tue, 30 Oct 2012 11:27:36 +0000 (UTC) Received: from X220.ovitrap.com ([122.129.201.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q9UBRSTD000766; Tue, 30 Oct 2012 05:27:29 -0600 Date: Tue, 30 Oct 2012 18:27:27 +0700 From: Erich Dollansky To: Karl Pielorz Subject: Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?.. Message-ID: <20121030182727.48f5e649@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 11:27:37 -0000 Hi, On Tue, 30 Oct 2012 11:12:22 +0000 Karl Pielorz wrote: > Can anyone think of any quick pointers as to why some code originally > written under 6.4 amd64 - when re-compiled under 9.0-stable amd64 > takes up a *lot* more memory when running? > is it still the same compiler? > As an example, under 6.4 the size/res for one reported by top is > 81Mb/48Mb > - and for the other is 44Mb/9Mb [this is after it's been running for > weeks]. > I assume that it is a plain FreeBSD program without X. Erich