Re: git svn's performance issue and strange pauses, and other thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



------------------------------
On Sun, Oct 5, 2014 02:02 BST Eric Wong wrote:

>Eric Wong <normalperson@xxxxxxxx> wrote:
>> Jakob sent some patches a few months ago which seem to address the
>> issue.  Unfortunately we forgot about them :x
>
>Hin-Tak: have you tried Jakob's patches?  I've taken another look,
>signed-off and pushed to my master.
>
>> Can you take a look at the following two "mergeinfo-speedups"
>> in my repo?  (git://bogomips.org/git-svn)
>> 
>> Jakob Stoklund Olesen (2):
>>       git-svn: only look at the new parts of svn:mergeinfo
>>       git-svn: only look at the root path for svn:mergeinfo
>> 
>> Also downloadable here:
>> 
>> http://bogomips.org/git-svn.git/patch?id=9b258e721b30785357535
>> http://bogomips.org/git-svn.git/patch?id=73409a2145e93b436d74a
>> 
>> Can you please give them a try?

Apologies - I applied them on top of 2.1.0 earlier today, and the svn repo just
hasn't been changed much recently to show any interesting behavior
with 'git svn fetch --all', so I thought about whether I should wait to report. Then
I changed my mind, and decided what the hell, let's clone the whole
thing again :-). So I made a new directory, run 'git init', just copy
.git/config from the old reop and am doing 'git svn fetch --all' in the new empty
directory again.

So far it seems to be good. But I am only at revision 35700-ish at the moment,
and the whole thing is 66700-ish. Oh, I forgot to mention that the strange
pauses seem to be followed by messages like these:

W:svn cherry-pick ignored (/branches/R-2-12-branch:52939,54476,55265) - missing 492 commit(s) (eg 9bf20dca6a8b05dff28e6486b1613f10825972c9)
W:svn cherry-pick ignored (/branches/R-2-13-branch:55265,55432) - missing 231 commit(s) (eg 9290cf6ce2d7f6cca168cf326eed6e9fe760895f)
W:svn cherry-pick ignored (/branches/R-2-15-branch:58894,59717) - missing 405 commit(s) (eg ed84a373b33f728949edf3371829fc3414c343a8)
W:svn cherry-pick ignored (/branches/R-3-0-branch:62497) - missing 154 commit(s) (eg 9e4742d201771c9658417c2d2f83838e550e3162)
W:svn cherry-pick ignored (/trunk:

So presumably I'd only see interesting behavior when there are a number of branches.
It seems the first branches are around revision 48000-ish, so I might have
to wait a bit.

So far, the new clone hasn't created ".git/svn/.caches/" yet; and memory consumption seems
okay also.


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]