Summary of potential performance improvements #6976

issue morcos opened this issue on November 9, 2015
  1. morcos commented at 6:27 PM on November 9, 2015: member

    There are a lot of open PRs right now which will give significant performance improvements. Below are some summary benchmarks on all of these PRs. In each row, the relevant PR has been added to all the previous PR's, so the last row is the cumulative effect of all of them. Please see notes below.

    PR ConnectBlock time (ms) Reduction in time from this PR CreateNewBlock time (ms)
    baseline 500 - 1500
    #6954(secp256k1) 400 - 600 15%-65%
    #6931(skip BIP30) #6932(modifyNewCoins) 200 - 350 30%-40% 3000 - 3500
    #6357(dynamic Priority) #6898(CreateNewBlock) 200 - 350 very small increase 180 - 230
    #6936(warm cache) 150 - 200 10%-30% 130 - 170
    #6918(faster sigcache) #6914(prevector) 130 - 150 20%-30% 100 - 120

    These numbers should be taken to be rough estimates. They were collected from a series of different tests. I reran different binaries over a historical simulation of all the p2p traffic for the month of October. I also ran live binaries running the various PRs for the first 8 days of November. I ran versions both with and without periodically calling CreateNewBlock to time it. All of these PR's interact with each other significantly. So running them in different combinations or with different arguments may lead to significantly different results. I used the following settings:

    • maxmempool=300
    • dbcache=1000
    • minrelaytxfee=0.0001
    • maxsigcachesize=1000000 (or 80 for binaries including #6918)
  2. laanwj added the label UTXO Db and Indexes on Nov 10, 2015
  3. laanwj added the label Validation on Nov 10, 2015
  4. morcos closed this on Dec 2, 2015

  5. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me