--
Matthias
- How many refs does your repository have?
- How many objects are there? Does it have many large objects?
- Are you maxing out on any caches?
- Do you run gc regularly? Do you use git gc or gerrit gc ?
--
Matthias
On 16 October 2013 09:00, Matthias Sohn <matthi...@gmail.com> wrote:
- How many refs does your repository have?By refs do you mean branches or changesets?Branches: 49changesets: not sure how to count but we're up to change number 9035 at last count
- How many objects are there? Does it have many large objects?Again, how does one tell? From memory we had some devs push some large binaries in the past but we don't do that anymore so while they are there in the repos they are part of ancient history and only affect us if we are cloning from scratch - which doesn't happen often (less than once a week??)
[core] bigFileThreshold = 20M
and then run git gc --aggressive to repack your repository with smaller pack files. After applying this the delta calculations for smaller pack files is much faster, and thus pushes takes shorter time.
I hope this helps.
Regards
Bassem
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Did you try setting bigFileThreshold for the repository in the configuration file of the affected repositories ?
Regards
Bassem
From: Ishaaq Chandy [mailto:ish...@gmail.com]
Sent: October-20-13 7:18 AM
To: Bassem Rabil Guendy
Cc: Repo and Gerrit Discussion; Matthias Sohn
Subject: Re: slow pushes to gerrit
Tried turning on deltacompression, deltaBaseCacheLimit, enabled a cron job that runs gerrit gc once an hour. All to no avail, the problem has persisted.