Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] overlay support current proposal?
Date: Mon, 27 Mar 2006 20:59:01
Message-Id: 200603272258.07384.danarmak@gentoo.org
In Reply to: Re: [gentoo-dev] overlay support current proposal? by Paul de Vrieze
1 On Monday 27 March 2006 10:29, Paul de Vrieze wrote:
2 > On Monday 27 March 2006 07:43, Ryan Phillips wrote:
3 > > In actuality, Subversion does 98% of the commit in an initial
4 > > transaction, and the blocking only occurs in the last 2% with the FSFS
5 > > filesystem. It really isn't an issue and shouldn't prevent us from
6 > > adopting it.
7 >
8 > Indeed, subversion first uploads the stuff, only then creates a new
9 > revision. In any case one does not want multiple commits at the same time
10 > in any case. For full portage the problems are more likely to be with svn
11 > update. One can expect there will be a lot more updates than commits. As
12 > the commits done are fairly small, those should not be an issue. Updates
13 > work on the whole tree however. Initial checkouts are worse, because they
14 > require the head to be reassembled (IIRC). Head checkout could be cached
15 > though (but I don't think that's done currently).
16
17 This thread [1] from subversion-users asked about update/checkout performance.
18 The svn people answered that performance usually isn't constrained by
19 reassembly time. Moreover, the older BDB repo format stores the complete
20 latest revision, and checkouts aren't significantly faster than from FSFS.
21
22 (Of course, if SVN working copies didn't contain two complete copies of the
23 stored data plus some fat metadata, then reassembly time would likely affect
24 checkout time.)
25
26 [2] explains the SVN skip-deltas storage method.
27
28 Disclaimer, I haven't run any huge-repo benchmarks myself, just pointing to
29 possibly relevant data.
30
31 [1] http://svn.haxx.se/users/archive-2005-04/0518.shtml
32 [2] http://svn.collab.net/repos/svn/trunk/notes/skip-deltas
33
34 --
35 Dan Armak
36 Gentoo Linux developer (KDE)
37 Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
38 Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951

Replies

Subject Author
Re: [gentoo-dev] overlay support current proposal? Paul de Vrieze <pauldv@g.o>