git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: git@vger.kernel.org
Subject: Re: Slow fetches of tags
Date: Wed, 24 May 2006 09:45:29 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605240931480.5623@g5.osdl.org> (raw)
In-Reply-To: <20060524131022.GA11449@linux-mips.org>



On Wed, 24 May 2006, Ralf Baechle wrote:
>
> I have a fairly large git tree (with a 320MB pack file containing some
> 700,000 objects).  A small fetch like
> 
>   git fetch git://www.kernel.org/pub/scm/linux/kernel/git/stable/\
>        linux-2.6.16.y.git master:v2.6.16-stable
> 
> which only fetches a handful of objects (v2.6.16.17 -> v2.6.16.18) will
> take on the order of 4-5 minutes.  Adding the "-n" option is will bring
> the operation down to under a second, so it really is just the tags
> that are slowing things down so much..

So this is a tree where you already _have_ most of the tags, no?

Can you add a printout to show what the "taglist" is for you in 
git-fetch.sh (just before the thing that does that

	fetch_main "$taglist"

thing?). It _should_ have pruned out all the tags you already have.

Or is it just the "git-ls-remote" that takes forever? (Or, if you run 
"top", is there something that is an obviously heavy operation on the 
client side?)

		Linus

  reply	other threads:[~2006-05-24 16:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 13:10 Slow fetches of tags Ralf Baechle
2006-05-24 16:45 ` Linus Torvalds [this message]
2006-05-24 17:21   ` Linus Torvalds
2006-05-24 18:08     ` Junio C Hamano
2006-05-24 19:17       ` Linus Torvalds
2006-05-24 23:43         ` Linus Torvalds
2006-05-25  1:32           ` Junio C Hamano
2006-05-25  4:48             ` Junio C Hamano
2006-05-26 15:42               ` Ralf Baechle
2006-05-27  2:20                 ` [PATCH/RFC] upload-pack: stop "ack continue" when we know common commits for wanted refs Junio C Hamano
2006-05-25 13:12           ` Slow fetches of tags Ralf Baechle
2006-07-26 23:27             ` Junio C Hamano
2006-07-28 10:42               ` Johannes Schindelin
2006-07-28 11:12               ` [PATCH] Teach the git wrapper about --name-rev and --name-rev-by-tags Johannes Schindelin
2006-07-28 15:43                 ` Junio C Hamano
2006-07-28 16:59                 ` Linus Torvalds
2006-07-28 18:53                   ` Johannes Schindelin
2006-07-29 12:43                     ` Nguyễn Thái Ngọc Duy
2006-07-29 12:47                       ` Johannes Schindelin
2006-05-24 19:06     ` Slow fetches of tags Junio C Hamano
2006-05-24 18:08   ` Ralf Baechle
2006-05-24 18:41     ` Junio C Hamano
2006-05-25 13:27       ` Ralf Baechle

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=Pine.LNX.4.64.0605240931480.5623@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=ralf@linux-mips.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;
as well as URLs for NNTP newsgroup(s).