From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: git-daemon on NSLU2 Date: Fri, 24 Aug 2007 17:54:02 -0400 (EDT) Message-ID: References: <9e4733910708232254w4e74ca72o917c7cadae4ee0f4@mail.gmail.com> <20070824062106.GV27913@spearce.org> <9e4733910708241238n1899f332j4fafbd6d7ccc48b9@mail.gmail.com> <9e4733910708241417l44c55306xaa322afda69c6beb@mail.gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: "Shawn O. Pearce" , Git Mailing List To: Jon Smirl X-From: git-owner@vger.kernel.org Fri Aug 24 23:54:16 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOh6b-00076e-8Y for gcvg-git@gmane.org; Fri, 24 Aug 2007 23:54:13 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754836AbXHXVyI (ORCPT ); Fri, 24 Aug 2007 17:54:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751891AbXHXVyH (ORCPT ); Fri, 24 Aug 2007 17:54:07 -0400 Received: from relais.videotron.ca ([24.201.245.36]:27037 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751247AbXHXVyG (ORCPT ); Fri, 24 Aug 2007 17:54:06 -0400 Received: from xanadu.home ([74.56.106.175]) by VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JNA00A6RSU2U131@VL-MO-MR004.ip.videotron.ca> for git@vger.kernel.org; Fri, 24 Aug 2007 17:54:02 -0400 (EDT) In-reply-to: <9e4733910708241417l44c55306xaa322afda69c6beb@mail.gmail.com> X-X-Sender: nico@xanadu.home Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Fri, 24 Aug 2007, Jon Smirl wrote: > On 8/24/07, Nicolas Pitre wrote: > > On Fri, 24 Aug 2007, Jon Smirl wrote: > > > > > I'm still trying to debug git-daemon > > > > > > I do find it surprising that git-index-pack can't be happy with in > > > 20MB of RAM and it has to continuously swap it's 30MB of virtual. My > > > disk is chattering itself to death. It stayed that way for 40 minutes. > > > > > > I'm practicing on the kernel tree. > > > > You hope for miracles, do you? ;-) > > We're going something wrong in git-daemon. I can clone the tree in > five minutes using the http protocol. Using the git protocol would > take 24hrs if I let it finish. The http protocol is merely only a dumb file copy with no packing optimization what so ever. The native protocol performs a whole more to provide clients with only the minimum data needed. Try running "git repack -a" directly on the NSLU2. You should have the same performance problems as with a clone. Nicolas