From: Ingo Molnar <mingo@elte.hu>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org
Subject: Re: q: git-fetch a tad slow?
Date: Tue, 29 Jul 2008 11:08:02 +0200 [thread overview]
Message-ID: <20080729090802.GA11373@elte.hu> (raw)
In-Reply-To: <20080729055014.GE11947@spearce.org>
* Shawn O. Pearce <spearce@spearce.org> wrote:
> Ingo Molnar <mingo@elte.hu> wrote:
> >
> > Setup/background: distributed kernel testing cluster, [...]
> >
> > Problem: i noticed that git-fetch is a tad slow:
> >
> > titan:~/tip> time git-fetch
> > real 0m2.372s
> Also, I wonder if you really need to fetch over SSH. Doing a fetch
> over git:// is much quicker, as there is no SSH session setup
> overheads.
note that titan is a very beefy box, almost 3 GHz Core2Duo:
model name : Intel(R) Core(TM)2 CPU E6800 @ 2.93GHz
stepping : 5
cpu MHz : 2933.331
server is 3 GHz. So if we have a quadratic overhead on number of
branches, that's going to be quite a PITA.
> I wonder if git-pack-refs + fetching only a single branch will get you
> closer to the tip-fetch time.
should i pack on both repos? I dont explicitly pack anything, but on the
server it goes into regular gc runs. (which will pack most stuff,
right?)
Ingo
next prev parent reply other threads:[~2008-07-29 9:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 16:01 q: git-fetch a tad slow? Ingo Molnar
2008-07-29 5:50 ` Shawn O. Pearce
2008-07-29 9:08 ` Ingo Molnar [this message]
2008-07-30 4:48 ` Shawn O. Pearce
2008-07-30 19:06 ` Ingo Molnar
2008-07-30 22:38 ` Shawn O. Pearce
2008-07-31 4:45 ` Shawn O. Pearce
2008-07-31 21:03 ` Ingo Molnar
2008-07-31 21:11 ` Ingo Molnar
2008-07-31 21:19 ` Shawn O. Pearce
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080729090802.GA11373@elte.hu \
--to=mingo@elte.hu \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).