From: Tim Allen <tim@commsecure.com.au>
To: git@vger.kernel.org
Subject: Git performance problems with many tags
Date: Mon, 26 Mar 2007 14:53:41 +1000 [thread overview]
Message-ID: <20070326045341.GE10545@ws35.commsecure.com.au> (raw)
I'm not subscribed, please Cc me on replies.
My company is considering switching from CVS to a more branch-friendly
version-control tool, and so of course we've been playing with git.
We imported our CVS repository into git with git-cvsimport, which worked
well enough, and resulted in a tree about the same size as the official
kernel repository: 454121 objects, 334977 deltas.
However, operations like 'git-fetch' take much, much longer in our
repository than in the kernel repository: a git-fetch that pulls no
updates in the kernel repository takes 1.7s, while our repository
(fetching from one repository to a clone on the same local disk) takes
about 20 seconds. After some experimentation, we discovered that
deleting all the 5557 imported CVS tags made things fast again.
(Interestingly, "git-fetch --no-tags" was not appreciably quicker, while
the tags were still around)
I searched the mailing list archives for similar problems, and the
closest thread I could find was this one:
http://thread.gmane.org/gmane.comp.version-control.git/20682/
...however, that thread seems to have decided that large numbers of
binary files were the problem, which is not the case in our repository.
Does git have known scalability problems with large numbers of tags? Is
there anything we can do to mitigate this slowdown, apart from just not
using git's tag feature at all? Are there any details I've overlooked or
misunderstood?
Tim Allen
next reply other threads:[~2007-03-26 5:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 4:53 Tim Allen [this message]
2007-03-26 6:07 ` Git performance problems with many tags Shawn O. Pearce
2007-03-26 6:13 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070326045341.GE10545@ws35.commsecure.com.au \
--to=tim@commsecure.com.au \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox