Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1B4174AE for ; Tue, 1 Nov 2011 18:30:41 +0000 (UTC) Received: (qmail 60617 invoked by uid 500); 1 Nov 2011 18:30:41 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 60599 invoked by uid 500); 1 Nov 2011 18:30:41 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 60592 invoked by uid 99); 1 Nov 2011 18:30:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:30:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:30:34 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id pA1IUA7I014676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Nov 2011 19:30:10 +0100 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.5/8.14.3) with ESMTP id pA1IUAXD021888; Tue, 1 Nov 2011 19:30:10 +0100 (CET) Received: (from stsp@localhost) by ted.stsp.name (8.14.5/8.14.3/Submit) id pA1IUAfM013370; Tue, 1 Nov 2011 19:30:10 +0100 (CET) Date: Tue, 1 Nov 2011 19:30:10 +0100 From: Stefan Sperling To: michael_rytting@agilent.com, users@subversion.apache.org Subject: Re: Apparent "svn rm" scaling problem in 1.7.x Message-ID: <20111101183010.GK32398@ted.stsp.name> Mail-Followup-To: michael_rytting@agilent.com, users@subversion.apache.org References: <20111101084921.GB32398@ted.stsp.name> <20111101143505.GE32398@ted.stsp.name> <20111101170007.GG32398@ted.stsp.name> <20111101172147.GH32398@ted.stsp.name> <20111101180056.GJ32398@ted.stsp.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111101180056.GJ32398@ted.stsp.name> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 On Tue, Nov 01, 2011 at 07:00:57PM +0100, Stefan Sperling wrote: > On Tue, Nov 01, 2011 at 11:31:35AM -0600, michael_rytting@agilent.com wrote: > > It's just one directory that has 49 files in it. > > Good. Please try this patch in addition to the other one. > It makes 'svn rm dir/*' with 49 files go down from about 4.20 seconds > to about 1.50 seconds for me (local disk). > > Note that I am not going to commit this as is. > It just tests whether the overhead of sorting paths in sqlite matters > much on NFS. I went ahead and implemented sorting the deleted items list in C. The following gives you a patch that applies cleanly on top of my previous 1.7.x patch: svn diff -c1196191 https://svn.apache.org/repos/asf/subversion/trunk Can you try that? Thanks.