Scalability issues

Posted by steve

Jul 25, 2012/14:24 UTC

In this email conversation between Michael Grønager and Steve, they discuss the performance differences in running virtual machines versus running directly on the hardware. Michael is concerned about the virtualization impacting the performance of the system. Steve shares his experience with running bitcoin blockchain download/verification and explains that it all happens in one thread, so multi-cores don't help much. He also mentions that he has a 6 SATA 6gbs RAID0 configuration, 32gb of RAM, and runs up to 16 VMs. However, he hasn't tried downloading the blockchain on the master OS - only in virtualization. Michael informs Steve that he gets a full blockchain from scratch in 45 minutes on his laptop using libcoin and the bitcoind build based on it, which uses an async concurrency model. He notes that the Satoshi client uses a pure reentrant mutexes model, which is not generally believed to motivate the best coding practice nor performance. He quotes Dave Butenhof, stating that recursive mutexes encourage you to lose track of your locking scheme and scope. Steve is impressed with Michael's speed and asks for more information on his setup to perform testing. Overall, their discussion revolves around the performance of running blockchain on hardware versus virtual machines and how different models impact concurrency and performance.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback