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 F319997F1 for ; Thu, 27 Oct 2011 11:48:23 +0000 (UTC) Received: (qmail 41743 invoked by uid 500); 27 Oct 2011 11:48:23 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 41684 invoked by uid 500); 27 Oct 2011 11:48:23 -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 41677 invoked by uid 99); 27 Oct 2011 11:48:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 11:48:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markphip@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fx0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 11:48:18 +0000 Received: by faat9 with SMTP id t9so4635343faa.16 for ; Thu, 27 Oct 2011 04:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Cd5tZuvyIHAGyAcT4gxT9e+833JrYk9/eq/U/rV0/mU=; b=p//+geZBhdknCJoo+KiNi2jhP7BP5U9678bvE7Rg1slK/SE5v/91Amz49hmCmz5pJp KnYQ8c6xQ1ni16YSYZOJwKWKhhXAWTwXSXioksxJRRx5KMExCdnHgIryO2nZ1uljs6ds jPi+EXoNOMIkbHTjhugHIEIFrJYQWXFxd37oA= MIME-Version: 1.0 Received: by 10.223.92.135 with SMTP id r7mr14853081fam.35.1319716076639; Thu, 27 Oct 2011 04:47:56 -0700 (PDT) Received: by 10.152.24.225 with HTTP; Thu, 27 Oct 2011 04:47:56 -0700 (PDT) In-Reply-To: <4EA91AB7.7050903@fsn.hu> References: <4EA7CC74.5000406@fsn.hu> <87y5w73mcb.fsf@stat.home.lan> <4EA91AB7.7050903@fsn.hu> Date: Thu, 27 Oct 2011 07:47:56 -0400 Message-ID: Subject: Re: Assertion failed and crash with 1.7.1 From: Mark Phippard To: Attila Nagy Cc: Philip Martin , users@subversion.apache.org Content-Type: multipart/alternative; boundary=00151748e09cf3d6b604b046577f --00151748e09cf3d6b604b046577f Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 27, 2011 at 4:47 AM, Attila Nagy wrote: > On 10/26/11 15:37, Philip Martin wrote: > > Attila Nagy writes: > > > I'm trying to update a working copy of some tens of GBs with svn 1.7.1 > > Did you upgrade with 1.7.0 or 1.7.1? > > I've upgraded the WC with 1.7.0, then switched to 1.7.1, which I'm > currently using. > The upgrade took nearly one week (I can't afford a clean checkout, because > I have to preserve the files' inode numbers), at the start it was running > very fast, and at the end of the week it could print a new directory in > every 8-10 seconds, while the svn processes CPU usage was 100%. > The disks weren't touched, it seems that even with a database completely in > the OS's buffer cache the SQL operations are pretty slow with a lot of > files. > Could it be because some indexes are missing (or not optimized for this > amount of files), or it is what we could get from SQLite? > I can see where having all that RAM could help greatly when the database is being read, but I do not see how it would help when we are writing to the database. I would imagine the database does stuff to flush itself to disk whenever a transaction is committed. I thought this was why we see 1.7 slower than other versions via NFS, even on small working copies where the database would fit in anyones RAM. I would imagine svn upgrade is almost entirely writes and I recall it does quite a few transactions. So couldn't the linear slow down just be based on the growth in the amount of bytes that are written to disk each time? -- Thanks Mark Phippard http://markphip.blogspot.com/ --00151748e09cf3d6b604b046577f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2011 at 4:47 AM, Attila Nagy <bra@fsn.hu> wrote:
=20 =20 =20
On 10/26/11 15:37, Philip Martin wrote:
Attila Nagy <=
bra@fsn.hu> writes:

I'm trying to update a working copy of some tens of GBs wi=
th svn 1.7.1
Did you upgrade with 1.7.0 or 1.7.1?
I've upgraded the WC with 1.7.0, then switched to 1.7.1, which I= 9;m currently using.
The upgrade took nearly one week (I can't afford a clean checkout, because I have to preserve the files' inode numbers), at the start it was running very fast, and at the end of the week it could print a new directory in every 8-10 seconds, while the svn processes CPU usage was 100%.
The disks weren't touched, it seems that even with a database completely in the OS's buffer cache the SQL operations are pretty slow with a lot of files.
Could it be because some indexes are missing (or not optimized for this amount of files), or it is what we could get from SQLite?

I can see where having all that RAM could help greatly w= hen the database is being read, but I do not see how it would help when we = are writing to the database.=A0 I would imagine the database does stuff to = flush itself to disk whenever a transaction is committed.=A0 I thought this= was why we see 1.7 slower than other versions via NFS, even on small worki= ng copies where the database would fit in anyones RAM.

I would imagine svn upgrade is almost entirely writes and= I recall it does quite a few transactions.=A0 So couldn't the linear s= low down just be based on the growth in the amount of bytes that are writte= n to disk each time?

--
Thanks

Mark Phippard
http://markphip.blogspot.com/
--00151748e09cf3d6b604b046577f--