<oembed><type>rich</type><version>1.0</version><author_name>npub15fmnxm546tg2sv0l7elusrvqsgezdzdg3m0flpml5fr2qf3f5slskxlq6h</author_name><author_url>https://nostr.ae/npub15fmnxm546tg2sv0l7elusrvqsgezdzdg3m0flpml5fr2qf3f5slskxlq6h</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2012-02-01&#xA;📝 Original message:Hi Gregory,&#xA;&#xA;I played with the database sync as well to get further speedups, but in the latest version I could only get about 1% extra from this. &#xA;&#xA;In the Satoshi client there is a bunch of sleeps and mutexes (put in there with great generosity)  for making threads run smoother and to avoid deadlock I guess.&#xA;&#xA;The big change in speed came from moving from the threading based setup to the async based setup, so I think these are the culprit. Further, as I also write somewhere in the wiki. I can measure that 50% of the time is consumed in verify, so there is not much left to optimize now. Actually, Berkeley DB does a quite decent job in caching reads so not even a cache should help.&#xA;&#xA;Cheers,&#xA;&#xA;M&#xA;&#xA;On 01/02/2012, at 15:59, Gregory Maxwell wrote:&#xA;&#xA;&gt; On Wed, Feb 1, 2012 at 9:18 AM, Michael Grønager &lt;gronager at ceptacle.com&gt; wrote:&#xA;&gt;&gt; The libcoin/bitcoind client downloads the entire block chain 3.5 times faster than the bitcoin/bitcoind client. This is less than 90 minutes on a modern laptop!&#xA;&gt; &#xA;&gt; Very interesting. Do you know where this speedup came from?  It&#39;s not&#xA;&gt; typical for straight refactors that don&#39;t change datastructures and&#xA;&gt; the like to see such big speedups.&#xA;&gt; &#xA;&gt; I see you have commented out code that disables fsync, which was my&#xA;&gt; first guess since I get big speedups from doing similar things.&#xA;&#xA;Michael Gronager, PhD&#xA;Director, Ceptacle&#xA;Jens Juels Gade 33&#xA;2100 Copenhagen E&#xA;Mobile: +45 31 45 14 01&#xA;E-mail: gronager at ceptacle.com&#xA;Web: http://www.ceptacle.com/</html></oembed>