Re: Git push performance problems with ~100K refs

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

 



Martin Fick <mfick@xxxxxxxxxxxxxx> writes:

> Does anyone have any hints as to what might be wrong with 
> the receiving end algorithm that would cause a small change 
> to use so much CPU?  Is there anything that can be done 
> about it?  I noticed that the --all option will effectively 
> feed all the 100K refs to rev-list, is this really 
> necessary?

It is trying to minimize the transfer cost.  By showing a ref to the
sending side, you prove you have chains of commits leading to that commit
and the sender knows that it does not have to send objects that are
reachable from that ref. One thing you could immediately do is de-dup the
100k refs but we may already do that in the current code.

> Are there any tests that I can perform to help 
> debug this?

You do not need to "help debug" it.  It's cause is already known: the
receiver exposes too many refs to the sending side.

We've talked about possible solutions but no concrete design nor code is
there yet.
--
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]