Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] metadata/md5-cache
Date: Sun, 03 Jun 2012 00:55:30
In Reply to: [gentoo-dev] metadata/md5-cache by James Cloos
On 06/02/2012 05:32 PM, James Cloos wrote:
> What's up with md5-cache? > > Every syn has to pull the entire md5-cache hierarchy over again, as if > some daemon re-creates every file every day, rather than only re-writing > those files which need updates and adding/removing those which need that.
We had a bug about that [1] when we first deployed md5-cache, but it's supposed to have been fixed.
> Even if only the files metatdata changes, that still adds a significant > cost to an rsync. > > It is important that md5-cache files which do not require change be left > alone.
There's code in portage to avoid redundant cache writes [2]. Eclass modifications can still trigger lots of cache changes though, especially eutils.eclass (which most ebuilds inherit).
> Not everyone has gobs of network bandwidth available. > > -JimC
[1] [2];a=commit;h=0e120da008c9d0d41c9372c81145c6e153028a6d -- Thanks, Zac


Subject Author
Re: [gentoo-dev] metadata/md5-cache James Cloos <cloos@×××××××.com>