Re: git svn's performance issue and strange pauses, and other thing
- From
Jakob Stoklund Olesen <stoklund@2pi.dk>
- Date
- Sep 19, 2014, 13:44 UTC
- Message-ID
- <DE2A36B7-69F2-46CA-89FC-C2038F08179A@2pi.dk>
- In-Reply-To
- <20140919082529.GA32459@dcvr.yhbt.net>
Show 21 quoted lines
> On Sep 19, 2014, at 1:25, Eric Wong <normalperson@yhbt.net> wrote: > > Hin-Tak Leung <htl10@users.sourceforge.net> wrote: > >> - I know I can probably just "read the source", but I'd like to know >> why .git/svn/.caches is even larger than .git/objects (which supposedly >> contains everything that's of interest)? I hope this can be documented >> towards the end of the man-page, for example, of important parts >> of .git/svn (and what not to do with them...), without needing to >> 'read the source'. Here is part of "du" from a couple of days ago: >> >> 254816 .git/objects >> 307056 .git/svn/.caches >> 332452 .git/svn >> 588064 .git >> >> The actual .git/config is here - this should be sufficient info for >> somebody looking into experiencing the issues I mentioned above. > > IIRC, the caching is unique to mergeinfo, so perhaps Jakob's patches > help, there, too.
IIRC the caches are used for memoization, and with my two patches applied it doesn't improve performance much.
You could try removing the memoization after applying my patches.
Thanks, /Jakob