From: Nicolas Pitre Subject: Re: git clone: very long "resolving deltas" phase Date: Fri, 09 Apr 2010 15:25:21 -0400 (EDT) Message-ID: References: <4BBC1ED3.6020008@gmail.com> <4BBECE44.4040608@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: git@vger.kernel.org To: Vitaly Berov X-From: git-owner@vger.kernel.org Fri Apr 09 21:25:30 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O0JpZ-0007Tp-BY for gcvg-git-2@lo.gmane.org; Fri, 09 Apr 2010 21:25:29 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755590Ab0DITZX (ORCPT ); Fri, 9 Apr 2010 15:25:23 -0400 Received: from relais.videotron.ca ([24.201.245.36]:23730 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986Ab0DITZW (ORCPT ); Fri, 9 Apr 2010 15:25:22 -0400 Received: from xanadu.home ([66.130.28.92]) by VL-MO-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0L0M00033JA9JV00@VL-MO-MR001.ip.videotron.ca> for git@vger.kernel.org; Fri, 09 Apr 2010 15:25:21 -0400 (EDT) X-X-Sender: nico@xanadu.home In-reply-to: <4BBECE44.4040608@gmail.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Fri, 9 Apr 2010, Vitaly Berov wrote: > > OK then. What happens if you do the following on the server machine > > where the repository is stored: > > > > git repack -a -f -d > > > > How long does this take? > > So, the results: it took 37 hours. 20 hours is compressing objects (delta > compression using up to 4 threads), 17 hours is writing objects. Almost all of > the time the bottleneck was a CPU. > > Objects amount: 3997548. > Size of the repository: ~57Gb. OK. You probably have a size record. :-) How big is the .pack file in .git/objects/pack/ ? > By the way, we have a large amount of binary files in our rep. How many? How big? Nicolas