From owner-freebsd-hackers Wed Jul 10 17:55:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E1C737B400 for ; Wed, 10 Jul 2002 17:55:17 -0700 (PDT) Received: from ns.aus.com (adsl-64-175-244-12.dsl.sntc01.pacbell.net [64.175.244.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52F243E31 for ; Wed, 10 Jul 2002 17:55:16 -0700 (PDT) (envelope-from rsharpe@ns.aus.com) Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id g6B27Yd05489 for ; Thu, 11 Jul 2002 11:37:35 +0930 Date: Thu, 11 Jul 2002 11:37:34 +0930 (CST) From: Richard Sharpe To: Subject: Memory layout tools ... to tweak Samba's memory footprint Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am looking for tools that will help me find data-structures in Samba that should be in shared pages but aren't because they are not marked appropriately by the source code. Are there any tools that will allow me to break out the layout of an executable file, but also that will allow me to profile memory usage? From the sound of the various discussions I have heard about FreeBSD's VM, since Samba forks a copy of smbd for each connection, any pages that have not been written by children smbd's will be shared in anycase, so maybe there is not so much to worry about? Regards ----- Richard Sharpe, rsharpe@ns.aus.com, rsharpe@samba.org, sharpe@ethereal.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message