summaryrefslogtreecommitdiff
path: root/26/2dceed1fff9677895822a60e7cb8271eab09eb
blob: be8225dcf77713b63d703ffa061ba6ffcfa994c2 (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <mh.in.england@gmail.com>) id 1VLtik-0006oM-A1
	for bitcoin-development@lists.sourceforge.net;
	Tue, 17 Sep 2013 11:45:30 +0000
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.214.43 as permitted sender)
	client-ip=209.85.214.43; envelope-from=mh.in.england@gmail.com;
	helo=mail-bk0-f43.google.com; 
Received: from mail-bk0-f43.google.com ([209.85.214.43])
	by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1VLtif-0002GS-SL
	for bitcoin-development@lists.sourceforge.net;
	Tue, 17 Sep 2013 11:45:30 +0000
Received: by mail-bk0-f43.google.com with SMTP id mz13so2085360bkb.16
	for <bitcoin-development@lists.sourceforge.net>;
	Tue, 17 Sep 2013 04:45:19 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.204.226.135 with SMTP id iw7mr29111880bkb.4.1379418318988;
	Tue, 17 Sep 2013 04:45:18 -0700 (PDT)
Sender: mh.in.england@gmail.com
Received: by 10.204.72.69 with HTTP; Tue, 17 Sep 2013 04:45:18 -0700 (PDT)
In-Reply-To: <CAC1+kJO8KX6uc7jEz9Otv+BbrJQUk6RvbiyWnP0m=Voh8zdcWQ@mail.gmail.com>
References: <CANEZrP1ksdGfB-282giysF-2Lo==NiD-nBdon5FJ9wLBLmX=TA@mail.gmail.com>
	<CAC1+kJO8KX6uc7jEz9Otv+BbrJQUk6RvbiyWnP0m=Voh8zdcWQ@mail.gmail.com>
Date: Tue, 17 Sep 2013 13:45:18 +0200
X-Google-Sender-Auth: r3t3HU-DYj49PbBz4EmAanHU3Sg
Message-ID: <CANEZrP2ZRHfoGugVZ2X9iE8vzdZydJ3JTS=roTv8G=LnCgm7Eg@mail.gmail.com>
From: Mike Hearn <mike@plan99.net>
To: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@monetize.io>
Content-Type: multipart/alternative; boundary=485b3970d514e6ac1404e692daa2
X-Spam-Score: -0.5 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(mh.in.england[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1VLtif-0002GS-SL
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Faster databases than LevelDB
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Tue, 17 Sep 2013 11:45:30 -0000

--485b3970d514e6ac1404e692daa2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Nobody has written code to use a better format, migrate old wallets, etc.


On Tue, Sep 17, 2013 at 1:41 PM, Jorge Tim=C3=B3n <jtimon@monetize.io> wrot=
e:

> Only slightly related to this...
> What's the reason why BerkleyDB is maintained for the wallet?
> I think it would be a good thing to get rid of the libdb4.8++-dev
> dependency that makes bitcoind harder to compile on debian and ubuntu.
> Unless, of course, there's a reason I am missing...
>
>
> On 9/17/13, Mike Hearn <mike@plan99.net> wrote:
> > LevelDB is fast - very fast if you give it enough CPU time and disk
> seeks.
> > But it's not the last word in performance.
> >
> > HyperLevelDB is a forked LevelDB with some changes, mostly, finer grain=
ed
> > locking and changes to how compaction works:
> >
> > http://hyperdex.org/performance/leveldb/
> >
> > However, it comes with a caveat - one of the changes they made is to ta=
ke
> > away write throttling if compaction falls behind, the app itself is
> > expected to do that.
> >
> > Sophia is a competitor to LevelDB. The website claims that in benchmark=
s
> it
> > completely smokes LevelDB. I have not explored how it does this or trie=
d
> to
> > replicate their benchmarks myself:
> >
> > http://sphia.org/index.html
> > http://sphia.org/benchmarks.html
> >
> > It's written in C and BSD licensed.
> >
> > As an example of the kind of speedup they claim to be capable of, they
> say
> > LevelDB could do 167,476 random reads per second on their SSD based
> > machine. Sophia could do 438,084 reads/sec. Random reads are of course
> the
> > most interesting for us because that's what UTXO lookups involve.
> >
> > They also compare against HyperLevelDB, where the differences are much
> less
> > pronounced and actually HyperLevelDB appears to be able to do random
> writes
> > faster than Sophia.
> >
>
>
> --
> Jorge Tim=C3=B3n
>
> http://freico.in/
>

--485b3970d514e6ac1404e692daa2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Nobody has written code to use a better format, migrate ol=
d wallets, etc.</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Tue, Sep 17, 2013 at 1:41 PM, Jorge Tim=C3=B3n <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:jtimon@monetize.io" target=3D"_blank">jtimon@monetiz=
e.io</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Only slightly related to this...<br>
What&#39;s the reason why BerkleyDB is maintained for the wallet?<br>
I think it would be a good thing to get rid of the libdb4.8++-dev<br>
dependency that makes bitcoind harder to compile on debian and ubuntu.<br>
Unless, of course, there&#39;s a reason I am missing...<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 9/17/13, Mike Hearn &lt;<a href=3D"mailto:mike@plan99.net">mike@plan99.n=
et</a>&gt; wrote:<br>
&gt; LevelDB is fast - very fast if you give it enough CPU time and disk se=
eks.<br>
&gt; But it&#39;s not the last word in performance.<br>
&gt;<br>
&gt; HyperLevelDB is a forked LevelDB with some changes, mostly, finer grai=
ned<br>
&gt; locking and changes to how compaction works:<br>
&gt;<br>
&gt; <a href=3D"http://hyperdex.org/performance/leveldb/" target=3D"_blank"=
>http://hyperdex.org/performance/leveldb/</a><br>
&gt;<br>
&gt; However, it comes with a caveat - one of the changes they made is to t=
ake<br>
&gt; away write throttling if compaction falls behind, the app itself is<br=
>
&gt; expected to do that.<br>
&gt;<br>
&gt; Sophia is a competitor to LevelDB. The website claims that in benchmar=
ks it<br>
&gt; completely smokes LevelDB. I have not explored how it does this or tri=
ed to<br>
&gt; replicate their benchmarks myself:<br>
&gt;<br>
&gt; <a href=3D"http://sphia.org/index.html" target=3D"_blank">http://sphia=
.org/index.html</a><br>
&gt; <a href=3D"http://sphia.org/benchmarks.html" target=3D"_blank">http://=
sphia.org/benchmarks.html</a><br>
&gt;<br>
&gt; It&#39;s written in C and BSD licensed.<br>
&gt;<br>
&gt; As an example of the kind of speedup they claim to be capable of, they=
 say<br>
&gt; LevelDB could do 167,476 random reads per second on their SSD based<br=
>
&gt; machine. Sophia could do 438,084 reads/sec. Random reads are of course=
 the<br>
&gt; most interesting for us because that&#39;s what UTXO lookups involve.<=
br>
&gt;<br>
&gt; They also compare against HyperLevelDB, where the differences are much=
 less<br>
&gt; pronounced and actually HyperLevelDB appears to be able to do random w=
rites<br>
&gt; faster than Sophia.<br>
&gt;<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Jorge Tim=C3=B3n<br>
<br>
<a href=3D"http://freico.in/" target=3D"_blank">http://freico.in/</a><br>
</font></span></blockquote></div><br></div>

--485b3970d514e6ac1404e692daa2--