From owner-freebsd-performance@FreeBSD.ORG Wed Feb 13 20:55:51 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6F2716A417; Wed, 13 Feb 2008 20:55:51 +0000 (UTC) (envelope-from fbsd-performance@mawer.org) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by mx1.freebsd.org (Postfix) with ESMTP id E287013C4D3; Wed, 13 Feb 2008 20:55:50 +0000 (UTC) (envelope-from fbsd-performance@mawer.org) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAE/mskfLzq3r/2dsb2JhbAAIrkg X-IronPort-AV: E=Sophos;i="4.25,347,1199631600"; d="scan'208";a="180553639" Received: from unknown (HELO [10.24.1.1]) ([203.206.173.235]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 14 Feb 2008 05:45:26 +0900 Message-ID: <47B356C2.50200@mawer.org> Date: Thu, 14 Feb 2008 07:44:50 +1100 From: Antony Mawer User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Erik Cederstrand References: <4796C717.9000507@cederstrand.dk> <20080123193400.N63024@fledge.watson.org> <4797A245.7080202@cederstrand.dk> <20080123202433.E63024@fledge.watson.org> <4797A802.8060509@FreeBSD.org> <47A0BFE7.4070708@cederstrand.dk> <20080130190000.GA18333@lor.one-eyed-alien.net> <47AC15A5.5020009@cederstrand.dk> <20080208151756.GA35423@lor.one-eyed-alien.net> <47B302B2.30607@cederstrand.dk> In-Reply-To: <47B302B2.30607@cederstrand.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, Brooks Davis , kris@freebsd.org Subject: Re: Performance Tracker project update X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 20:55:51 -0000 Erik Cederstrand wrote: > Brooks Davis skrev: >> On Fri, Feb 08, 2008 at 09:41:09AM +0100, Erik Cederstrand wrote: >>> I finally got around to testing this, and with a combination of mtree >>> comparing md5 hashes, bsdiff compacting changed files and hardlinking >>> unchanged files I get a reduction in size from 256MB to 10MB. Pretty >>> good, and the whole operation only takes a few minutes. >> >> Cool! >> >>> I have one peculiarity, though. I install python2.5 into the >>> directory containing the build, and even though the python version >>> has not changed, I still get mismatching md5 sums on every .pyo and >>> .pyc file. Any thoughts on this? ... > > As suggested in other posts, deleting .pyo and .pyc files gets me down > to 6MB. Static libraries (.a files) in /usr/lib and /usr/local/lib still > have mismatching MD5 sums even though no source code change warrants > this. Can I do anything about that? Are static libraries even needed > anymore? You may want to look at freebsd-update: I believe it has some smarts to NULL out certain date/time information in files before doing a comparison, so that embedded timestamps don't cause two otherwise identical files to show as different... At least that is what I recall ... :-) --Antony