From: Jakob Stoklund Olesen Date: Fri, 19 Sep 2014 13:44:00 GMT Subject: Re: git svn's performance issue and strange pauses, and other thing Message-ID: In-Reply-To: <20140919082529.GA32459@dcvr.yhbt.net> > On Sep 19, 2014, at 1:25, Eric Wong wrote: > > Hin-Tak Leung 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