summaryrefslogtreecommitdiff
path: root/tickets/3092ee8cdf8e49fda9937a228d0546fd/Maildir/new/1466357405.M965256P29655Q1.hrun
blob: e1855732828b61d08e298658913e11f3d7dbc08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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 47BD8248C7
	for <distix@pieni.net>; Sun, 19 Jun 2016 19:27:43 +0200 (CEST)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id 8A8CD59E;
	Sun, 19 Jun 2016 18:27:42 +0100 (BST)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1bEgVa-00074o-E2; Sun, 19 Jun 2016 18:27:42 +0100
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1bEgVY-00074a-2x
 for <obnam-dev@obnam.org>; Sun, 19 Jun 2016 18:27:40 +0100
Received: from smtp.gentoo.org ([140.211.166.183])
 by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from <robbat2@gentoo.org>) id 1bEgVV-0004Te-PY
 for obnam-dev@obnam.org; Sun, 19 Jun 2016 18:27:39 +0100
Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.gentoo.org (Postfix) with ESMTPS id 5D489340815
 for <obnam-dev@obnam.org>; Sun, 19 Jun 2016 17:27:22 +0000 (UTC)
Received: (qmail 5206 invoked by uid 129); 19 Jun 2016 17:27:22 -0000
X-HELO: bohr-int.orbis-terrarum.net
Authentication-Results: orbis-terrarum.net; auth=pass (plain)
 smtp.auth=robbat2-bohr@orbis-terrarum.net
Received: from Unknown (HELO bohr-int.orbis-terrarum.net) (2001:470:e889:1::8)
 by orbis-terrarum.net (qpsmtpd/0.95) with ESMTPSA
 (ECDHE-RSA-AES256-GCM-SHA384 encrypted); Sun, 19 Jun 2016 17:27:22 +0000
Received: (nullmailer pid 8212 invoked by uid 10000);
 Sun, 19 Jun 2016 17:27:19 -0000
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: obnam-dev@obnam.org
Date: Sun, 19 Jun 2016 10:27:16 -0700
Message-Id: <20160619172717.18445-1-robbat2@gentoo.org>
X-Mailer: git-send-email 2.9.0
In-Reply-To: <robbat2-20160619T083928-020175588Z@orbis-terrarum.net>
References: <robbat2-20160619T083928-020175588Z@orbis-terrarum.net>
X-Virus-Checked: Checked by ClamAV on orbis-terrarum.net
X-Spam-Score: -8.3
X-Spam-Score-int: -82
X-Spam-Bar: --------
X-Scanned-By: pepperfish.net, Sun, 19 Jun 2016 18:27:39 +0100
X-Spam-Report: Content analysis details: (-8.3 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
 trust [140.211.166.183 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain
 -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: e22476795c0c271ab9cf3b1ad5ae1506
Subject: [PATCH 0/1] encryption: boost GPG performance.
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

The following patch (next in the thread), significently boosts the performance
of the encryption plugin by tuning the GPG symmetric parameters.

See the previous thread of 'GPG & performance' for the nuanced details about
why this works.

Running 'production.yaml' benchmarks using obnam-bench. This does use the
green-albatross repo format, but the patch is generic, and improves all
symmetric GPG usage.

Time in seconds.

           many_files  one_big_file
Unencrypted     225.4      10.2
GPG(master)     284.8     272.5
GPG(patch)      251.3	   47.8

Yes, that's correct, for the big file case, it's 5.7x faster.

There is one case where this patch will have a NEGATIVE impact:
Usage of compress-with=None along with highly compressible input.

This is because GPG was previously compressing the data before encryption, and
faster specifically because it had less data to compress than with this patch.


_______________________________________________
obnam-dev mailing list
obnam-dev@obnam.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org