<div dir="ltr">Nobody has written code to use a better format, migrate old wallets, etc.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 1:41 PM, Jorge Timón <span dir="ltr">&lt;<a href="mailto:jtimon@monetize.io" target="_blank">jtimon@monetize.io</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #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="HOEnZb"><div class="h5"><br>
<br>
On 9/17/13, Mike Hearn &lt;<a href="mailto:mike@plan99.net">mike@plan99.net</a>&gt; wrote:<br>
&gt; LevelDB is fast - very fast if you give it enough CPU time and disk seeks.<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 grained<br>
&gt; locking and changes to how compaction works:<br>
&gt;<br>
&gt; <a href="http://hyperdex.org/performance/leveldb/" target="_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 take<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 benchmarks it<br>
&gt; completely smokes LevelDB. I have not explored how it does this or tried to<br>
&gt; replicate their benchmarks myself:<br>
&gt;<br>
&gt; <a href="http://sphia.org/index.html" target="_blank">http://sphia.org/index.html</a><br>
&gt; <a href="http://sphia.org/benchmarks.html" target="_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 writes<br>
&gt; faster than Sophia.<br>
&gt;<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Jorge Timón<br>
<br>
<a href="http://freico.in/" target="_blank">http://freico.in/</a><br>
</font></span></blockquote></div><br></div>