Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 09:46:05 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Erik Cederstrand <erik@cederstrand.dk>
Cc:        freebsd-performance@freebsd.org, Brooks Davis <brooks@freebsd.org>, kris@freebsd.org
Subject:   Re: Performance Tracker project update
Message-ID:  <20080213154605.GA96732@lor.one-eyed-alien.net>
In-Reply-To: <47B302B2.30607@cederstrand.dk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 13, 2008 at 03:46:10PM +0100, 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=
=20
>>> comparing md5 hashes, bsdiff compacting changed files and hardlinking=
=20
>>> unchanged files I get a reduction in size from 256MB to 10MB. Pretty=20
>>> good, and the whole operation only takes a few minutes.
>> Cool!
>>> I have one peculiarity, though. I install python2.5 into the directory=
=20
>>> containing the build, and even though the python version has not change=
d,=20
>>> I still get mismatching md5 sums on every .pyo and .pyc file. Any=20
>>> thoughts on this?
>> I'm not a python guru by any means, but I think .pyc files probably have=
=20
>> 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=
=20
>> and
>> just generate them before you use them or add some magic build flags to=
=20
>> cause
>> them to store some sort of cooked values.  I'm not sure where the .pyo=
=20
>> files
>> come from.
>=20
> As suggested in other posts, deleting .pyo and .pyc files gets me down to=
=20
> 6MB. Static libraries (.a files) in /usr/lib and /usr/local/lib still hav=
e=20
> mismatching MD5 sums even though no source code change warrants this. Can=
 I=20
> do anything about that? Are static libraries even needed anymore?

I'd suggest checking with cperciva@ about those for freebsd-update.
Static libs are mostly not needed these days, but some are.

-- Brooks

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFHsxC8XY6L6fI4GtQRAqAyAKDWL+8WM08mt69OcctA/AX7DGW9BwCgr9J/
iEO1gygtylg9ngPqDlNod8w=
=NSSh
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080213154605.GA96732>