[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] git repository via http broken
From: |
Jason Dunsmore |
Subject: |
Re: [O] git repository via http broken |
Date: |
Fri, 29 Jun 2012 11:49:45 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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
- [O] git repository via http broken, Jakob Lombacher, 2012/06/26
- Re: [O] git repository via http broken, Bernt Hansen, 2012/06/26
- Re: [O] git repository via http broken, Bernt Hansen, 2012/06/26
- Re: [O] git repository via http broken, suvayu ali, 2012/06/26
- Re: [O] git repository via http broken, Jakob Lombacher, 2012/06/26
- Re: [O] git repository via http broken, Nick Dokos, 2012/06/26
- Re: [O] git repository via http broken, Nick Dokos, 2012/06/26
- Re: [O] git repository via http broken, Jakob Lombacher, 2012/06/27
- Re: [O] git repository via http broken,
Jason Dunsmore <=
- Re: [O] git repository via http broken, Nick Dokos, 2012/06/29
- Re: [O] git repository via http broken, Bernt Hansen, 2012/06/26