diff options
Diffstat (limited to 'tickets/8df68737194d4fda872886ac1398485b/Maildir/new/1455999009.M439127P17339Q201.exolobe1')
-rw-r--r-- | tickets/8df68737194d4fda872886ac1398485b/Maildir/new/1455999009.M439127P17339Q201.exolobe1 | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/tickets/8df68737194d4fda872886ac1398485b/Maildir/new/1455999009.M439127P17339Q201.exolobe1 b/tickets/8df68737194d4fda872886ac1398485b/Maildir/new/1455999009.M439127P17339Q201.exolobe1 new file mode 100644 index 0000000..2dabb95 --- /dev/null +++ b/tickets/8df68737194d4fda872886ac1398485b/Maildir/new/1455999009.M439127P17339Q201.exolobe1 @@ -0,0 +1,116 @@ +Return-Path: <obnam-dev-bounces@obnam.org> +X-Original-To: distix@pieni.net +Delivered-To: distix@pieni.net +Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPS id CE3712F095 + for <distix@pieni.net>; Mon, 19 Oct 2015 21:20:35 +0200 (CEST) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 2AA28B8A; + Mon, 19 Oct 2015 20:20:35 +0100 (BST) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1ZoFz0-0002S8-WF; Mon, 19 Oct 2015 20:20:35 +0100 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1ZoFyz-0002S1-9Q + for <obnam-dev@obnam.org>; Mon, 19 Oct 2015 20:20:33 +0100 +Received: from pieni.net ([95.142.166.37] ident=postfix) + by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) (envelope-from <liw@liw.fi>) id 1ZoFyw-0001QV-QL + for obnam-dev@obnam.org; Mon, 19 Oct 2015 20:20:33 +0100 +Received: from exolobe1.liw.fi (82-181-8-107.bb.dnainternet.fi [82.181.8.107]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPSA id D979A2F089; + Mon, 19 Oct 2015 21:20:23 +0200 (CEST) +Received: from exolobe1.liw.fi (localhost [127.0.0.1]) + by exolobe1.liw.fi (Postfix) with ESMTPS id 215924050E; + Mon, 19 Oct 2015 22:20:23 +0300 (EEST) +Date: Mon, 19 Oct 2015 22:20:22 +0300 +From: Lars Wirzenius <liw@liw.fi> +To: Henri Sivonen <hsivonen@hsivonen.fi> +Message-ID: <20151019192022.GK2563@exolobe1.liw.fi> +References: <CAJQvAufu-qnC=nrR87XN3fkHu6K7p3-Hu5A71GL+uXZ8EKCaUw@mail.gmail.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +In-Reply-To: <CAJQvAufu-qnC=nrR87XN3fkHu6K7p3-Hu5A71GL+uXZ8EKCaUw@mail.gmail.com> +User-Agent: Mutt/1.5.23 (2014-03-12) +X-Spam-Score: -3.4 +X-Spam-Score-int: -33 +X-Spam-Bar: --- +X-Scanned-By: pepperfish.net, Mon, 19 Oct 2015 20:20:33 +0100 +X-Spam-Report: Content analysis details: (-3.4 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -1.0 PPF_USER_AGENT_MUTT User-Agent: contains Mutt (Mutt isn't a spam + tool) -0.5 PPF_USER_AGENT User-Agent: exists + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] +X-ACL-Warn: message may be spam +X-Scan-Signature: 625f24d4d5a9233cab8b0380f6b09df7 +Cc: obnam-dev@obnam.org +Subject: Re: Enhancement: Avoid storing compressed data when compression + would expand data +X-BeenThere: obnam-dev@obnam.org +X-Mailman-Version: 2.1.5 +Precedence: list +List-Id: Obnam development discussions <obnam-dev-obnam.org> +List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>, + <mailto:obnam-dev-request@obnam.org?subject=unsubscribe> +List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org> +List-Post: <mailto:obnam-dev@obnam.org> +List-Help: <mailto:obnam-dev-request@obnam.org?subject=help> +List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>, + <mailto:obnam-dev-request@obnam.org?subject=subscribe> +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +Applied, thanks. + +On Sat, Oct 17, 2015 at 08:54:50PM +0300, Henri Sivonen wrote: +> I have made a minor improvement to avoid storing compressed data even +> when compression has been enabled in cases where compression (plus +> tagging) would end up expanding the data. This avoids space waste upon +> transfer and storage and compute waste upon reading. +> +> The change is available for pulling from the "no-expansion" branch of +> the repo https://github.com/hsivonen/obnam.git (the branch contains +> nothing else). Web view of the changeset: +> https://github.com/hsivonen/obnam/commit/5002965ad28c89a08c370efa880a060cf7835dbd +> Patch format: +> https://github.com/hsivonen/obnam/commit/5002965ad28c89a08c370efa880a060cf7835dbd.patch +> +> I have tested the patch manually with a directory containing two files +> generated with +> $ head -c 1024 /dev/urandom > rand +> $ head -c 1024 /dev/zero > zero +> (rand doesn't compress and zero compresses very well.) +> +> However, I'm currently unfamiliar with the workings of yarn, so I +> haven't added automated tests. If the patch isn't acceptable without +> tests, I'd appreciate advice on how to do the kind of testing that +> looks inside the chunk data stored in the repo. +> +> -- +> Henri Sivonen +> hsivonen@hsivonen.fi +> https://hsivonen.fi/ +> +> _______________________________________________ +> obnam-dev mailing list +> obnam-dev@obnam.org +> http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org +> + +-- +Schrödinger's backup hypothesis: the condition of any backup is +undefined until a restore is attempted. -- andrewsh + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org |