Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89B60200CC8 for ; Fri, 14 Jul 2017 13:38:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8825B16B980; Fri, 14 Jul 2017 11:38:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD3A516B97C for ; Fri, 14 Jul 2017 13:38:37 +0200 (CEST) Received: (qmail 22714 invoked by uid 500); 14 Jul 2017 11:38:32 -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 22704 invoked by uid 99); 14 Jul 2017 11:38:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2017 11:38:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3F4ECC0096 for ; Fri, 14 Jul 2017 11:38:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.401 X-Spam-Level: X-Spam-Status: No, score=-2.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dm6PYtJwImrL for ; Fri, 14 Jul 2017 11:38:30 +0000 (UTC) Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0106E5FDF0 for ; Fri, 14 Jul 2017 11:38:29 +0000 (UTC) Received: by mail-ua0-f176.google.com with SMTP id g13so31569421uaj.0 for ; Fri, 14 Jul 2017 04:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CcoYXLrJFkTJFVSHMxYU2J+je7t1CMfGc0E8b0bGzX8=; b=mEjIyenjjuKxIVZ6cbU23otnJ6LIpgUDhLtvdr3ivmVdJQDgRmWpzZmWFcrtoj8dP2 UjSS3XPHBOmpnEu1OiSfoYMlSrx9k2w8UWmJQZWHfQzduFhHzbw9NuinqJut2NssEoQs 1K5Ll66CWx+kClBAsl9Q0aqaBRg1RWjeJor0W5sJMzJYvB+wIZFQWJdqSk15SV1f1R5L xg7EFfFJVp/uPPDKCHyirp0uHnyzsenW4uTMEqj5UqT334gcZQYb6WvG0ZhkOz2deweC +HbRRoIR5TIwhf9KKnnGM2nl9mTSpwobC9OOwVA94VrtFQlKCBJTfj5p1AOzCz/HvcNR 0xmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CcoYXLrJFkTJFVSHMxYU2J+je7t1CMfGc0E8b0bGzX8=; b=cTt96QUFGimyiepFM3BwJSFGbAWMj7Nf+erMIVClFcGKtLzmzVqY3ZAw7IkVXpg8G3 BqY14JzUVegWKXqAG+/rcldJxN4Vsyl3a/Lvtru3dgGpequkK2bspJaS+QeD6I/htZJq 4Tt/fHtRgvQL4uGNrwgox8FD6zX55998s7suFMaM9a37pa6Qv2Qv+s29L9bM6cZPVVd0 HIoog2h4JnPZpuV9/kzJV762ZT4m0yOMZVKsHTuzpBaHbzS5HA1W2OjwVWxdZE1+I9GO ASvHk8wj3RMLBpA+UIsnSsohv8NAyBnd8dp7wQBhia4XLqOGMEzxVVoVpzGm64EL6xEm BQRg== X-Gm-Message-State: AIVw113a4g/4/JBic9iqDyuSWSf14aVMkYgIGeVsYL2igZdt9rC+DI8e OnyrD7CyAcfPmtYseUEGlja8THMqew== X-Received: by 10.176.90.148 with SMTP id w20mr5639440uae.92.1500032309548; Fri, 14 Jul 2017 04:38:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.39.196 with HTTP; Fri, 14 Jul 2017 04:38:08 -0700 (PDT) In-Reply-To: References: From: Johan Corveleyn Date: Fri, 14 Jul 2017 13:38:08 +0200 Message-ID: Subject: Re: Proposal: new fsfs.conf properties To: Evgeny Kotkov , Paul Hammant Cc: Subversion Development Content-Type: text/plain; charset="UTF-8" archived-at: Fri, 14 Jul 2017 11:38:38 -0000 On Fri, Jul 14, 2017 at 1:18 PM, Evgeny Kotkov wrote: > Paul Hammant writes: > >> 1. compression-exempt-suffixes = mp3,mp4,jpeg >> >> 2. deltification-exempt-suffixes = mp3,mp4,jpeg >> >> Regardless of the setting of 'compression-level', #1 above two mean certain >> things can skip the compression attempt. It must give up at a certain point >> right? > > Hi everyone, > > To improve the situation with slow commits of large binary and, possibly, > incompressible files I committed a patch (http://svn.apache.org/r1801940) > that adds initial support for LZ4 compression in the backend. While still > providing a decent compression ratio, LZ4 offers much faster compression > even than zlib with level=1, and can skip incompressible data chunks. > (Presumably, LZ4 is used for on-the-fly compression in different file > systems for these reasons.) > > I have seen significant (up to 3 times) speed improvement for svn import > and commit with large binary files. Sometimes, using LZ4 compression can > even outperform a configuration with disabled compression, if the file is > at least somehow compressible, as it reduces the time required to write > the data to disk. > > Currently, LZ4 compression is enabled if the fsfs.conf file specifies > compression-level=1, and all other levels still use zlib for compression. > Right now, the support for LZ4 is only implemented for the file:// protocol, > but support/negotiation for other protocols can be added later. Nice! But how about deltification? Has anyone tried / benchmarked the effect of turning off deltification (with or without compression), to see what the effect would be on the commit time? Like I suggested in this thread yesterday (i.e. set max-deltification-walk to 0 in fsfs.conf -- or perhaps play with both max-deltification-walk and max-linear-deltification) ... -- Johan