From: Jason Dunsmore <jasondunsmore@gmail.com>
To: nicholas.dokos@hp.com
Cc: Bernt Hansen <bernt@norang.ca>, emacs-orgmode@gnu.org
Subject: Re: git repository via http broken
Date: Fri, 29 Jun 2012 11:49:45 -0500 [thread overview]
Message-ID: <87k3yqvz9y.fsf@riotcharge.dunsmor.com> (raw)
In-Reply-To: <29344.1340748313@alphaville> (Nick Dokos's message of "Tue, 26 Jun 2012 18:05:13 -0400")
On Tue, Jun 26 2012, Nick Dokos wrote:
> PS BTW, I know that git gc is recommended on local repos, but is that
> applicable to the repo on orgmode.org? and would that help with the
> cloning time? 2.5 mins seems long to me. If not gc, is there
> something else that would help?
Hi Nick,
It looks like "git gc" was needed on the server.
Before git gc on server:
--8<---------------cut here---------------start------------->8---
$ time git clone git://orgmode.org/org-mode.git
Cloning into org-mode...
remote: Counting objects: 62414, done. <- Server disk I/O bottleneck
remote: Compressing objects: 100% (18532/18532), done. <- Server CPU bottleneck
remote: Total 62414 (delta 49455), reused 55032 (delta 43761)
Receiving objects: 100% (62414/62414), 55.46 MiB | 1.16 MiB/s, done. <- Network bottleneck
Resolving deltas: 100% (49455/49455), done. <- Local CPU bottleneck
real2m44.757s
user0m11.269s
sys0m0.740s
--8<---------------cut here---------------end--------------->8---
After git gc on server:
--8<---------------cut here---------------start------------->8---
$ time git clone git://orgmode.org/org-mode.git
Cloning into org-mode...
remote: Counting objects: 62414, done.
remote: Compressing objects: 100% (12836/12836), done.
remote: Total 62414 (delta 49457), reused 62414 (delta 49457)
Receiving objects: 100% (62414/62414), 55.41 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (49457/49457), done.
real0m59.071s
user0m11.305s
sys0m0.668s
--8<---------------cut here---------------end--------------->8---
I've set up a weekly cron job to run "git gc" on the org-mode repo.
Jason
next prev parent reply other threads:[~2012-06-29 16:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 12:24 git repository via http broken Jakob Lombacher
2012-06-26 15:14 ` Bernt Hansen
2012-06-26 15:20 ` Bernt Hansen
2012-06-26 15:47 ` suvayu ali
2012-06-26 21:30 ` Jakob Lombacher
2012-06-26 22:05 ` Nick Dokos
2012-06-27 0:46 ` Nick Dokos
2012-06-27 6:12 ` Jakob Lombacher
2012-06-29 16:49 ` Jason Dunsmore [this message]
2012-06-29 17:50 ` Nick Dokos
2012-06-26 23:37 ` Bernt Hansen
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: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3yqvz9y.fsf@riotcharge.dunsmor.com \
--to=jasondunsmore@gmail.com \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).