From owner-freebsd-performance@FreeBSD.ORG Fri Feb 8 19:42:16 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 2436C16A418 for ; Fri, 8 Feb 2008 19:42:16 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 919BD13C45B for ; Fri, 8 Feb 2008 19:42:15 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JNZ6v-0002PZ-GW for freebsd-performance@freebsd.org; Fri, 08 Feb 2008 19:42:09 +0000 Received: from 78-0-94-116.adsl.net.t-com.hr ([78.0.94.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Feb 2008 19:42:09 +0000 Received: from ivoras by 78-0-94-116.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Feb 2008 19:42:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: Ivan Voras Date: Fri, 08 Feb 2008 20:42:01 +0100 Lines: 62 Message-ID: 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig81991AAF532A8F150E7388EA" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-94-116.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <20080208151756.GA35423@lor.one-eyed-alien.net> X-Enigmail-Version: 0.95.6 Sender: news 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: Fri, 08 Feb 2008 19:42:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig81991AAF532A8F150E7388EA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Brooks Davis wrote: > 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 g= ood,=20 >> and the whole operation only takes a few minutes. >=20 > Cool! >=20 >> I have one peculiarity, though. I install python2.5 into the directory= =20 >> containing the build, and even though the python version has not chang= ed, I=20 >> still get mismatching md5 sums on every .pyo and .pyc file. Any though= ts on=20 >> this? >=20 > I'm not a python guru by any means, but I think .pyc files probably hav= e data > about the .py they are generated from because there's some sort of > auto-generation available. It may be possible to not store them at all= and > just generate them before you use them or add some magic build flags to= cause > them to store some sort of cooked values. I'm not sure where the .pyo = files > come from. =2Epyc/.pyo contain at least the timestamp of the original .py file and=20 maybe a compilation timestamp. You can indeed safely delete all .pyc and = =2Epyo files and forget about them - the only penalty will be slightly=20 slower application startup times as the .py files are compiled every time= =2E =2Epyo are optimized version of .pyc. AFAIK currently the optimizations=20 are not worth it. --------------enig81991AAF532A8F150E7388EA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHrLCKldnAQVacBcgRApcHAKDUh3GqcnCJvofW7mJHodntV53gFgCZAXU7 MTI1AHbajqvRU4vBjMWRBz0= =OxFf -----END PGP SIGNATURE----- --------------enig81991AAF532A8F150E7388EA--