From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Rt0Ck-0006Tg-3I for bitcoin-development@lists.sourceforge.net; Thu, 02 Feb 2012 17:12:14 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; envelope-from=gmaxwell@gmail.com; helo=mail-vx0-f175.google.com; Received: from mail-vx0-f175.google.com ([209.85.220.175]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Rt0Cg-000795-5l for bitcoin-development@lists.sourceforge.net; Thu, 02 Feb 2012 17:12:14 +0000 Received: by vcdn13 with SMTP id n13so2657343vcd.34 for ; Thu, 02 Feb 2012 09:12:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.67.229 with SMTP id q5mr1547319vdt.14.1328202724706; Thu, 02 Feb 2012 09:12:04 -0800 (PST) Received: by 10.220.151.200 with HTTP; Thu, 2 Feb 2012 09:12:04 -0800 (PST) In-Reply-To: References: Date: Thu, 2 Feb 2012 12:12:04 -0500 Message-ID: From: Gregory Maxwell To: Bitcoin Dev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.6 (-) 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 (gmaxwell[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: 1Rt0Cg-000795-5l Subject: [Bitcoin-development] Announcement: libcoin X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 17:12:14 -0000 On Wed, Feb 1, 2012 at 9:18 AM, Michael Gr=C3=B8nager > 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! I'm guessing that you benchmarked this against the version you forked from rather than the current reference client? If so=E2=80=94 I suspect your speedup was almost entirely because you remov= ed the secure allocator and as a result fixed the mlock performance bug [https://bitcointalk.org/index.php?topic=3D56491.0] as a side effect. On some systems the mlock issue makes a very big difference (on other systems not so much). In any case, I finally got libbitcoin built and I'm disappointed to report that in the same time it takes the reference client to fully sync, libbitcoin only made it to height 138k (of course, because the time is mostly spent late in the chain 138k is not very far along=E2=80=94 = I'm guessing it's going to take libbitcoin 3x-4x longer all said) I assume the reason it's actually slower is because it's CPU bound on ECDSA checks, which are skipped in bitcoin in blocks up to the highest hardcoded checkpoint. =C2=A0Without that difference I suspect libbitcoin would be about the same speed=E2=80=94 maybe a little faster because of the other changes you mentioned (though, e.g. lock profiling shows hardly any contention during sync). I don't doubt your rpc performance is a lot better. There is a longstanding pull request for async rpc for the reference client that hasn't been merged.