From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shawn O. Pearce" Subject: Re: git-svnimport failed and now git-repack hates me Date: Wed, 3 Jan 2007 21:35:11 -0500 Message-ID: <20070104023510.GC18206@spearce.org> References: <204011cb0701031552j8292d23v950f828279702d3@mail.gmail.com> <20070104020652.GB18206@spearce.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Lee , Junio C Hamano , Sasha Khapyorsky , Git Mailing List X-From: git-owner@vger.kernel.org Thu Jan 04 03:35:30 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 1H2IRy-0001GX-8f for gcvg-git@gmane.org; Thu, 04 Jan 2007 03:35:26 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932154AbXADCfT (ORCPT ); Wed, 3 Jan 2007 21:35:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932156AbXADCfT (ORCPT ); Wed, 3 Jan 2007 21:35:19 -0500 Received: from corvette.plexpod.net ([64.38.20.226]:60231 "EHLO corvette.plexpod.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932154AbXADCfS (ORCPT ); Wed, 3 Jan 2007 21:35:18 -0500 Received: from cpe-74-70-48-173.nycap.res.rr.com ([74.70.48.173] helo=asimov.home.spearce.org) by corvette.plexpod.net with esmtpa (Exim 4.63) (envelope-from ) id 1H2IRq-0002Iw-Aw; Wed, 03 Jan 2007 21:35:18 -0500 Received: by asimov.home.spearce.org (Postfix, from userid 1000) id 49C4F20FB65; Wed, 3 Jan 2007 21:35:11 -0500 (EST) To: Linus Torvalds Content-Disposition: inline In-Reply-To: <20070104020652.GB18206@spearce.org> User-Agent: Mutt/1.5.11 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - corvette.plexpod.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - spearce.org X-Source: X-Source-Args: X-Source-Dir: Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: "Shawn O. Pearce" wrote: > Linus Torvalds wrote: > > Junio - I suspect "pack-check.c" really shouldn't try to do it as one > > single humungous "SHA1_Update()" call. It showed one bug on PPC, I > > wouldn't be surprised if it's implicated now on some other architecture. > > It used to do it as one big SHA1_Update() call... > > > Shawn - does the pack-file-windowing thing already change that? I'm too > > lazy to check.. > > But with the mmap window thing in `next` it does it in window > units only. Which the user could configure to be huge, or could > configure to be sane. The default when using mmap() is 32 MiB; > 1 MiB when using pread() and git_mmap(). I should also point out that my git-fastimport hack that we used on the huge Mozilla import may be helpful here. Its _very_ fast as it goes right to a pack file, but there's no SVN frontend for it at this time. -- Shawn.