All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Herland <johan@herland.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	ftpadmin@kernel.org
Subject: Re: git gc and kernel.org
Date: Tue, 20 Oct 2009 10:54:48 +0200	[thread overview]
Message-ID: <200910201054.48315.johan@herland.net> (raw)
In-Reply-To: <7veioyqzeo.fsf@alter.siamese.dyndns.org>

On Tuesday 20 October 2009, Junio C Hamano wrote:
> At one point, update-server-info used to compute a lot more than what we
> currently compute and it made some sense to oppose against it on
> performance ground.
> 
> But these days it only lists the refs and packs and does nothing else;
> the performance impact should be immeasurable and it adds only two files
> to the repository.  It cannot be a big deal, unless you oppose to http
> transport on a non-technical ground.

FYI, update-server-info takes ~0.7 seconds in a repo with one pack and 
~50000 refs, so I guess it's acceptable to enable it by default, even in 
those kinds of repos.


...Johan

-- 
Johan Herland, <johan@herland.net>
www.herland.net

  parent reply	other threads:[~2009-10-20  8:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20  7:00 git gc and kernel.org H. Peter Anvin
2009-10-20  7:48 ` Junio C Hamano
2009-10-20  7:51   ` H. Peter Anvin
2009-10-20  8:54   ` Johan Herland [this message]
2009-10-20 18:46     ` Nicolas Pitre
2009-10-20 21:02       ` Junio C Hamano
2009-10-20 21:16         ` Nicolas Pitre
2009-10-20 21:56           ` [PATCH] receive-pack: run "gc --auto" and optionally "update-server-info" Junio C Hamano
2009-10-21  0:21             ` Nicolas Pitre
2009-10-21  6:25         ` git gc and kernel.org Johannes Sixt
2009-10-21  7:23           ` Junio C Hamano
2009-10-21  7:39             ` Junio C Hamano
2009-10-21  8:05               ` Johannes Sixt
2009-10-21 10:21                 ` Jan Krüger
2009-10-21 22:30                 ` [PATCH 1/2] gc --auto --quiet: make the notice a bit less verboase Junio C Hamano
2009-10-21 22:32                 ` [PATCH 2/2] receive-pack: run "gc --auto --quiet " and optionally "update-server-info" Junio C Hamano
2009-10-20  9:08 ` git gc and kernel.org Mikael Magnusson
2009-10-21  1:00   ` H. Peter Anvin

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=200910201054.48315.johan@herland.net \
    --to=johan@herland.net \
    --cc=ftpadmin@kernel.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=hpa@zytor.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.