Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DEB618FF6 for ; Wed, 17 Feb 2016 18:07:28 +0000 (UTC) Received: (qmail 53920 invoked by uid 500); 17 Feb 2016 18:07:28 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 53862 invoked by uid 500); 17 Feb 2016 18:07:28 -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 53852 invoked by uid 99); 17 Feb 2016 18:07:27 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2016 18:07:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 32F451821A4 for ; Wed, 17 Feb 2016 18:07:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=visualsvn.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BdpajCjkFNwg for ; Wed, 17 Feb 2016 18:07:26 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9790B66A5A for ; Wed, 17 Feb 2016 14:33:42 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id l143so11996270lfe.2 for ; Wed, 17 Feb 2016 06:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=visualsvn.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=J+WtS5nQl3LE0Bs9oB2sDkACAVS9YksLXTnmcwEGiqk=; b=YvwKlxec1H4c6DsE1VKx390PV9MRA5M+l5sasTSv9F1lUI8R68hVE/k/Kv+xo47hqH IXMI5WkT7iXkmMD/rGX5fEphBkIn1G4i/O46i3/r4M1bRQ6TXrR4JxsiwyiLyfmIIouJ IPUvAOAFvKnc5LDnpd+GhDAWnCZlXoNE6yqeQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=J+WtS5nQl3LE0Bs9oB2sDkACAVS9YksLXTnmcwEGiqk=; b=Pe8tB4OxfxZmKFYMldDvhx9mXRqO0bLPbB2vOsyePYXIsJvkzC9gRsrfJpc9szQZQx 92N6rwR0rhGektGJfI07FLZzIT8AmcQ10XD7f9XI3o9DqZLIJNIkW4bjXxkvPSdo3Fpa n0BvWD0dW6B9k4/2RhVVHwQFLi9SEXjnSU5nJ3OeDpRXO04QoRKEQDo86oj6h92MUyrX zifxrsj/7OBDaBHzpyiQPmluM0oilRPL3Pzatcvs4+6kaPgDr9Wb45P8nsxbjVtnjuOI mjFLah4T6e4QNXD3N9G/RFKV0zHnC7BxBL4GxChPxwZJjSBSlueJnD7mHmSN6avGOpZK Catg== X-Gm-Message-State: AG10YOQKgP9iaehNCGHFbQp6wqkQn9ZnJzKN4/2KqqaS4A2s1+pIMqh7qtcfgzENcw8xUltJg/AjbCK4zmNjkR1G X-Received: by 10.25.80.6 with SMTP id e6mr952736lfb.91.1455719621488; Wed, 17 Feb 2016 06:33:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.44.8 with HTTP; Wed, 17 Feb 2016 06:33:21 -0800 (PST) In-Reply-To: <20160215214700.9EC693A07CD@svn01-us-west.apache.org> References: <20160215214700.9EC693A07CD@svn01-us-west.apache.org> From: Ivan Zhakov Date: Wed, 17 Feb 2016 17:33:21 +0300 Message-ID: Subject: Re: svn commit: r1730617 - /subversion/trunk/subversion/libsvn_repos/log.c To: stefan2@apache.org Cc: dev@subversion.apache.org Content-Type: text/plain; charset=UTF-8 On 16 February 2016 at 00:47, wrote: > Author: stefan2 > Date: Mon Feb 15 21:47:00 2016 > New Revision: 1730617 > > URL: http://svn.apache.org/viewvc?rev=1730617&view=rev > Log: > Continue work on the svn_repos_get_logs4 to svn_repos_get_logs5 migration: > Switch the last svn_fs_paths_changed2 call to svn_fs_paths_changed3. > > * subversion/libsvn_repos/log.c > (fs_mergeinfo_changed): No longer fetch the whole changes list. However, > we need to iterate twice for best total performance > and we need to minimize FS iterator lifetimes. > It seems that I would be -1 against this particular change. In the current implementation the svn_fs_paths_changed3() is called twice that in the worst case will lead to *double read from disk*. As far as I understand you're relying to the fact that the second call will hit the FSFS/FSX cache. But there will be a significant performance degradation comparing to the 1.9 implementation in the case of cache miss. As we are adding more and more of such code, more and more users become faced with the significant performance regression (see [1] and other cases). Do you intend to resolve this problem in the future commits? I have some obvious solutions in mind, but maybe you also know something about this. [1] http://svn.haxx.se/users/archive-2015-12/0060.shtml -- Ivan Zhakov