What is Nostr?
clearmined / ClearMined
npub1dj8…drq9
2024-04-06 13:27:27

clearmined on Nostr: Block Quote: 837978 'By making some adjustments to the database settings, I was able ...

Block Quote: 837978

'By making some adjustments to the database settings, I was able to make the initial block download about 5 times faster. It downloads in about 30 minutes.

The database default had it writing each block to disk synchronously, which is not necessary. I changed the settings to let it cache the changes in memory and write them out in a batch. Blocks are still written transactionally, so either the complete change occurs or none of it does, in either case the data is left in a valid state.

I only enabled this change during the initial block download. When you come within 2000 blocks of the latest block, these changes turn off and it slows down to the old way.' July 23, 2010 - Satoshi Nakamoto
Author Public Key
npub1dj8zwktp3eyktfhs5mjlw8v0v2838xlquxr7ddsanayhcw98fcks8ddrq9