From dev-return-1090-daniel=haxx.se@subversion.apache.org Wed Jan 13 11:04:31 2010 Return-Path: Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9) with SMTP id o0DA4UTS002863 for ; Wed, 13 Jan 2010 11:04:30 +0100 Received: (qmail 60504 invoked by uid 500); 13 Jan 2010 10:04:25 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 60494 invoked by uid 99); 13 Jan 2010 10:04:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 10:04:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of codematters@ntlworld.com designates 81.103.221.47 as permitted sender) Received: from [81.103.221.47] (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 10:04:16 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100113100354.VTYD4204.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Wed, 13 Jan 2010 10:03:54 +0000 Received: from stat.home.lan ([86.16.124.205]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100113100354.SMB22934.aamtaout04-winn.ispmail.ntl.com@stat.home.lan>; Wed, 13 Jan 2010 10:03:54 +0000 Received: by stat.home.lan (Postfix, from userid 1000) id 77B084E790; Wed, 13 Jan 2010 10:03:52 +0000 (GMT) To: Vadim Chekan Cc: "C. Michael Pilato" , dev@subversion.apache.org Subject: Re: Bdb strings anomaly References: <6e8974e40912212231y77cc8532w8fbcd93dd032bac5@mail.gmail.com> <4B30F5CC.6040106@collab.net> <6e8974e40912220926v3b7f2c91l9ca826f1793861ea@mail.gmail.com> <6e8974e41001122333m459a9a56ta88d7d4b5e8e7e94@mail.gmail.com> From: Philip Martin Date: Wed, 13 Jan 2010 10:03:52 +0000 In-Reply-To: <6e8974e41001122333m459a9a56ta88d7d4b5e8e7e94@mail.gmail.com> (Vadim Chekan's message of "Tue\, 12 Jan 2010 23\:33\:48 -0800") Message-ID: <87ockyz5h3.fsf@stat.home.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cloudmark-Analysis: v=1.1 cv=ZtHxNT4mZm3rCuM0SmWmgWxeBwJsziC8EqOrwwVkrhA= c=1 sm=0 a=pGLkceISAAAA:8 a=DovSg6g7fd06wP2DmnsA:9 a=PuICCasNUMXRBhMcFzVlkl462-IA:4 a=MSl-tDqOz04A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Vadim Chekan writes: > Other optimizations can be implemented, but I can not figure it out, > where db transaction scope is set? I have impression that there is > none which means that each bdb call is a transaction. If so, write > operations are very slow, because transaction commit requires buffers > to be flushed. Subversion's BDB code uses the term "trail" for transactions; read about it in libsvn_fs_base/trail.h. The transaction is started in trail.c:begin_trail. -- Philip