Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: rfc: why are we still distributing the portage tree via rsync?
Date: Fri, 06 Jul 2018 00:25:27
Message-Id: 20180706122157.4b19eac2@katipo2.lan
In Reply to: Re: [gentoo-dev] Re: rfc: why are we still distributing the portage tree via rsync? by Gerion Entrup
1 On Fri, 06 Jul 2018 01:55:32 +0200
2 Gerion Entrup <gerion.entrup@×××××.de> wrote:
3
4 > Would it possible to take the bare repo (< 600 MB) and only mount the latest checkout (with fuse eg)?
5
6 That would incur performance problems, because packed objects are
7 stored as differences to other objects ( similar to how later pieces in
8 a gzip stream are dependent on earlier pieces in the stream ).
9
10 Subsequently, having a real checkout substantially improves performance.
11
12 For a FUSE module to compete with this, it would need a lot of special
13 mechanics, including keeping lots of memory reserved for state.
14
15 So you might end up trading that additional 800mb disk space for
16 500mb-1.5gb of memory utilization.