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 AA2B8200CC5 for ; Tue, 11 Jul 2017 22:07:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A78FD167264; Tue, 11 Jul 2017 20:07:30 +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 C6166167262 for ; Tue, 11 Jul 2017 22:07:29 +0200 (CEST) Received: (qmail 81664 invoked by uid 500); 11 Jul 2017 20:07:29 -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 81649 invoked by uid 99); 11 Jul 2017 20:07:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2017 20:07:28 +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 407C7195CBC for ; Tue, 11 Jul 2017 20:07:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.297 X-Spam-Level: X-Spam-Status: No, score=-0.297 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hammant-org.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wTPIN-5GQbfD for ; Tue, 11 Jul 2017 20:07:25 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A34FE6267D for ; Tue, 11 Jul 2017 20:07:25 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id l130so2617817oib.1 for ; Tue, 11 Jul 2017 13:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammant-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sP64Oyc/iu1PL8D2rE6ttQJhUKj1PsBu1XqI77BjTdI=; b=d8bqv1NQRRvNbPDvyTDFhAFAD6sSUWXRzkOWE7DOcwWJAVosP17IybQ6T2URGf2M5g aO5WdrHPAMcXxZFRGl/zTJe0xH9gpepJZLpVCMdtE3MtYT5FqdnKW+7yc0Rp62HHAii2 h1qu4EnQLwXD9GzREd8Fwo3AWUv1/Z7bmRMIIBru24MsMqbEyOOEkA7hq2poVNJsF5WW w/2XbfNa6X88sDPg2lJvGzc94WTzMPfctxmoxNqEWth04r6nR/SU9Q7IyG1KO5cxsN2N B4M/jb+cTvfggU05Cy6z26JkkDnr0sDdA+jBztki/LciK6cRN64CCtUZnPjS45UznaRG 0JSQ== 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=sP64Oyc/iu1PL8D2rE6ttQJhUKj1PsBu1XqI77BjTdI=; b=fTUW4RimvOlI8cAzBI55jDMWdoV9dNYBNZ6HKjgDwHp9iTaww7miR6G6RVCAxT62Ho wY0OVaydW3q3O1ejoiW7ylGevPjVY1SiN74Vk/4IVPzdtu1/N8kIjRA7fb1LNODhlZok 9yjsBMWtj9nzMCCv/ZgCWGVTMJGG506pk02wOXgQQonx3/eM7S05WMeLvV5mmKYGunQd h/dsSr7j2zzwfJn0v0M3THSIoiacbtQThiZ1eHgUjVTJn4Wmg1UaLN88bynC6YbzMQz/ QImz8WySDe7UjXCmUI3GUyh5Y4G29ut4Eql8EMnsLpJIQItl68YxvRgUG5AzRuQjXoPX t6cw== X-Gm-Message-State: AIVw111NkwR34IbvTWhG4KFinR05tYluN8smC2+e9qy1ZkygRJemJnOe 2TUnaYuM+V/e+Pb9YGPU9STYAy0CQMJ57sn2Lg== X-Received: by 10.202.75.77 with SMTP id y74mr1273021oia.151.1499803644981; Tue, 11 Jul 2017 13:07:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.161.43 with HTTP; Tue, 11 Jul 2017 13:07:24 -0700 (PDT) X-Originating-IP: [2607:fb90:7113:5b99:1919:d052:b653:4492] In-Reply-To: <20170711200003.nnjvk6zimkpb4y6j@tarpaulin.shahaf.local2> References: <727D8E16AE957149B447FE368139F2B5A9023507@SERVER10> <727D8E16AE957149B447FE368139F2B5A9023540@SERVER10> <20170711200003.nnjvk6zimkpb4y6j@tarpaulin.shahaf.local2> From: Paul Hammant Date: Tue, 11 Jul 2017 16:07:24 -0400 Message-ID: Subject: Re: Proposal: new fsfs.conf properties To: Daniel Shahaf Cc: Markus Schaber , Pavel Lyalyakin , Subversion Development Content-Type: multipart/alternative; boundary="001a11c171e67e10090554103f3b" archived-at: Tue, 11 Jul 2017 20:07:30 -0000 --001a11c171e67e10090554103f3b Content-Type: text/plain; charset="UTF-8" So I'm after a time saving. I'm perfectly happy for the backend to waste space (in my configuration), I just don't want it to take 15 mins to transfer a single 15GB file into Subversion. In my configuration, I'd like to pre-advise Subversion to save as much time as possible for uploads, by skipping steps that are known in advance to be meaningless for the use case. - Paul On Tue, Jul 11, 2017 at 4:00 PM, Daniel Shahaf wrote: > On Tue, Jul 11, 2017 at 01:39:56PM +0000, Markus Schaber wrote: > > To summarize it up: > > > > I expect significant benefits in some use cases by skipping the > > compression, thus I'm +1 if benchmarks prove it's worth the effort. > > It is easy to have deltification without compression, either by using > svndiff0 (instead of svndiff1) or by using svndiff1 with zlib > compression level set appropriately. > > > I see the danger of drastically increased bandwith and storage size > > (transferring/storing the whole mp3 instead of just some changed meta > > data bytes) in some common use cases when deltification is skipped. > > Thus, I'm skeptical (count it as -0), and I'd kindly suggest to do > > some benchmarks for those cases before implementation, and clear > > documentation of the possible negative effects if it's implemented. > > Regarding compression, would it make sense for the server to compute the > compressed delta, and it turns out to be larger than X% of the > uncompressed&undeltified file, to just store the latter? I.e., to > compute the DELTA rep but use a PLAIN rep if the DELTA rep would be > larger than X% (in bytes) of the PLAIN rep? > > IIRC this is already so with X=100, but for some filetypes it might make > sense to set X lower. > > Cheers, > > Daniel > --001a11c171e67e10090554103f3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So I'm after a time saving. I'm perfectly happy fo= r the backend to waste space (in my configuration), I just don't want i= t to take 15 mins to transfer a single 15GB file into Subversion.

<= /div>
In my configuration, I'd like to pre-advise Subversion to sav= e as much time as possible for uploads, by skipping steps that are known in= advance to be meaningless for the use case.

- Paul= =C2=A0

On Tue, Jul 11, 2017 at 4:00 PM, Daniel Shahaf <danielsh@apa= che.org> wrote:
On Tue, Jul 11, 2017 at 01:39:56PM +0000, Markus Schaber wrote:
> To summarize it up:
>
> I expect significant benefits in some use cases by skipping the
> compression, thus I'm +1 if benchmarks prove it's worth the ef= fort.

It is easy to have deltification without compression, either by usin= g
svndiff0 (instead of svndiff1) or by using svndiff1 with zlib
compression level set appropriately.

> I see the danger of drastically increased bandwith and storage size > (transferring/storing the whole mp3 instead of just some changed meta<= br> > data bytes) in some common use cases when deltification is skipped. > Thus, I'm skeptical (count it as -0), and I'd kindly suggest t= o do
> some benchmarks for those cases before implementation, and clear
> documentation of the possible negative effects if it's implemented= .

Regarding compression, would it make sense for the server to compute= the
compressed delta, and it turns out to be larger than X% of the
uncompressed&undeltified file, to just store the latter?=C2=A0 I.e., to=
compute the DELTA rep but use a PLAIN rep if the DELTA rep would be
larger than X% (in bytes) of the PLAIN rep?

IIRC this is already so with X=3D100, but for some filetypes it might make<= br> sense to set X lower.

Cheers,

Daniel

--001a11c171e67e10090554103f3b--