{ "subject": "Re: RFC: ship block chain 1-74000 with release tarballs?", "content": { "format": "html", "body": "<div class=\"post\">I tested it on a slow 7 year old drive, where bandwidth and CPU were clearly not the bottleneck. &nbsp;Initial download took 1 hour 20 minutes.<br/><br/>If it's taking a lot longer than that, certainly 24 hours, then it must be downloading from a very slow node, or your connection is much slower than around 15KB per sec (120kbps), or something else is wrong. &nbsp;It would be nice to know what appears to be the bottleneck when that happens.<br/><br/>Every 10 minutes or so when the latest block is sent, it should have the chance to change to a faster node. &nbsp;When the latest block is broadcast, it requests the next 500 blocks from other nodes, and continues the download from the one that sends it fastest. &nbsp;At least, that's how it should work.<br/><br/><div class=\"quoteheader\"><a href=\"https://bitcointalk.org/index.php?topic=1931.msg24522#msg24522\">Quote from: jgarzik on November 26, 2010, 02:07:43 AM</a></div><div class=\"quote\"><div class=\"quoteheader\"><a href=\"https://bitcointalk.org/index.php?topic=1931.msg24438#msg24438\">Quote from: satoshi on November 25, 2010, 05:51:39 PM</a></div><div class=\"quote\">Maybe Berkeley DB has some tweaks we can make to enable or increase cache memory.<br/></div>Which of the <a href=\"http://en.wikipedia.org/wiki/ACID\">ACID</a> properties do you need, while downloading?<br/></div>It may only need more read caching. &nbsp;It has to read randomly all over blk0001.dat and blkindex.dat to index. &nbsp;It can't assume the file is smaller than memory, although it currently still is. &nbsp;Caching would be effective, since most dependencies are recent.<br/><br/>Someone should experiment with different Berkeley DB settings and see if there's something that makes the download substantially faster. &nbsp;If something substantial is discovered, then we can work out the particulars.<br/><br/><div class=\"quoteheader\">Quote</div><div class=\"quote\">Adding BDB records is simply appending to a log file, until you issue a checkpoint. &nbsp;The checkpoint then updates the main database file.</div>We checkpoint every 500 blocks.</div>" }, "source": { "name": "Bitcoin Forum", "url": "https://bitcointalk.org/index.php?topic=1931.msg24662#msg24662" }, "date": "2010-11-26T17:32:01Z" }
Inscription number 18,210,032
Genesis block 799,367
File type json
File size 2.67 KB
Creation date