From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: git repository via http broken Date: Fri, 29 Jun 2012 11:49:45 -0500 Message-ID: <87k3yqvz9y.fsf@riotcharge.dunsmor.com> References: <87pq8mm7ge.fsf@norang.ca> <87lijam769.fsf@norang.ca> <29344.1340748313@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkeOF-0001vp-Gb for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:49:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkeOD-0007aY-No for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:49:51 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:39210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkeOD-0007Zs-JO for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:49:49 -0400 In-Reply-To: <29344.1340748313@alphaville> (Nick Dokos's message of "Tue, 26 Jun 2012 18:05:13 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Bernt Hansen , emacs-orgmode@gnu.org 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