Skip to content

Instantly share code, notes, and snippets.

@jamesob
Created August 20, 2018 21:16
Show Gist options
  • Save jamesob/8115f1d24086580d4dbd54dba4b27047 to your computer and use it in GitHub Desktop.
Save jamesob/8115f1d24086580d4dbd54dba4b27047 to your computer and use it in GitHub Desktop.
threadnames-rebased benchmarking

master vs. threadnames-rebased (absolute)

name iterations master threadnames-rebased
ibd.local.200000.dbcache=2048.mem-usage 4 861795.00 864879.0
gitclone 1 7.64
ibd.local.200000.dbcache=2048 4 205.79 208.7
build.make.5.clang 1 296.87 298.7
build.make.5.clang.mem-usage 1 611652.00 611932.0

master vs. threadnames-rebased (relative)

name iterations master threadnames-rebased
ibd.local.200000.dbcache=2048.mem-usage 4 1 1.004
gitclone 1 1
ibd.local.200000.dbcache=2048 4 1 1.014
build.make.5.clang 1 1 1.006
build.make.5.clang.mem-usage 1 1 1.000
ccl@bench-ssd-2:~/bitcoinperf$ docker-compose run --rm bench bitcoinperf --commits "master,threadnames-rebased" --run-counts "ibd:4" --benches-to-run "gitclone,build,ibd" --log-level INFO --bitcoind-stopatheight 200000 --repo-location https://github.com/jamesob/bitcoin.git
2018-07-18 04:45:37,464 runner.main [INFO] Running with configuration:
2018-07-18 04:45:37,464 runner.main [INFO]
2018-07-18 04:45:37,464 runner.main [INFO] benches_to_run ['gitclone', 'build', 'ibd']
2018-07-18 04:45:37,464 runner.main [INFO] bitcoind_assumevalid 000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876
2018-07-18 04:45:37,464 runner.main [INFO] bitcoind_dbcache 2048
2018-07-18 04:45:37,465 runner.main [INFO] bitcoind_port 9003
2018-07-18 04:45:37,465 runner.main [INFO] bitcoind_rpcport 9004
2018-07-18 04:45:37,465 runner.main [INFO] bitcoind_stopatheight 200000
2018-07-18 04:45:37,465 runner.main [INFO] codespeed_envname ccl-bench-hdd-1
2018-07-18 04:45:37,465 runner.main [INFO] codespeed_password password
2018-07-18 04:45:37,465 runner.main [INFO] codespeed_url http://codespeed:8000
2018-07-18 04:45:37,465 runner.main [INFO] codespeed_user admin
2018-07-18 04:45:37,465 runner.main [INFO] commits ['master', 'threadnames-rebased']
2018-07-18 04:45:37,465 runner.main [INFO] compilers ['clang']
2018-07-18 04:45:37,465 runner.main [INFO] ibd_peer_address synced
2018-07-18 04:45:37,465 runner.main [INFO] log_level INFO
2018-07-18 04:45:37,465 runner.main [INFO] make_jobs 5
2018-07-18 04:45:37,465 runner.main [INFO] no_caution True
2018-07-18 04:45:37,465 runner.main [INFO] no_clean False
2018-07-18 04:45:37,465 runner.main [INFO] no_teardown False
2018-07-18 04:45:37,465 runner.main [INFO] nproc 4
2018-07-18 04:45:37,465 runner.main [INFO] repo_branch master
2018-07-18 04:45:37,465 runner.main [INFO] repo_location https://github.com/jamesob/bitcoin.git
2018-07-18 04:45:37,465 runner.main [INFO] run_counts {'ibd': 4}
2018-07-18 04:45:37,465 runner.main [INFO] slack_webhook_url
2018-07-18 04:45:37,465 runner.main [INFO] synced_bitcoin_repo_dir /bitcoin
2018-07-18 04:45:37,466 runner.main [INFO] synced_bitcoind_args -minimumchainwork=0x00
2018-07-18 04:45:37,466 runner.main [INFO] synced_data_dir /bitcoin/data
2018-07-18 04:45:37,466 runner.main [INFO] workdir
2018-07-18 04:45:37,466 runner.main [INFO]
2018-07-18 04:45:37,466 runner.main [INFO] Running benchmarks ['gitclone', 'build', 'ibd'] with compilers ['clang']
2018-07-18 04:45:37,473 runner.main [INFO] Running benchmark 'gitclone' 1 times
2018-07-18 04:45:45,116 runner.main [INFO] Checking out commit master
2018-07-18 04:45:45,177 runner.main [INFO] Running benchmark 'build' 1 times
2018-07-18 04:47:20,718 runner.main [INFO] [build.make.5.clang] command 'make -j 5' starting
2018-07-18 04:52:17,589 runner.main [INFO] [build.make.5.clang] command finished successfully with maximum resident set size 597.316 MiB
2018-07-18 04:52:17,750 runner.main [INFO] [build.make.5.clang] command finished successfully in 296.872 seconds (0:04:56.871897)
2018-07-18 04:52:17,911 runner.main [INFO] Running benchmark 'ibd' 4 times
2018-07-18 04:52:17,914 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 04:55:39,560 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 843.707 MiB
2018-07-18 04:55:39,816 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 201.647 seconds (0:03:21.646891)
2018-07-18 04:55:40,457 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 04:59:08,676 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 833.500 MiB
2018-07-18 04:59:08,931 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 208.221 seconds (0:03:28.221203)
2018-07-18 04:59:09,557 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:02:35,402 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 845.414 MiB
2018-07-18 05:02:35,659 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 205.847 seconds (0:03:25.846964)
2018-07-18 05:02:36,300 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:06:03,750 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 843.766 MiB
2018-07-18 05:06:04,001 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 207.452 seconds (0:03:27.451615)
2018-07-18 05:06:04,250 runner.main [INFO] Checking out commit threadnames-rebased
2018-07-18 05:06:04,351 runner.main [INFO] Running benchmark 'build' 1 times
2018-07-18 05:07:20,485 runner.main [INFO] [build.make.5.clang] command 'make -j 5' starting
2018-07-18 05:12:19,156 runner.main [INFO] [build.make.5.clang] command finished successfully with maximum resident set size 597.590 MiB
2018-07-18 05:12:20,165 runner.main [INFO] [build.make.5.clang] command finished successfully in 298.672 seconds (0:04:58.672350)
2018-07-18 05:12:20,420 runner.main [INFO] Running benchmark 'ibd' 4 times
2018-07-18 05:12:20,643 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:15:49,896 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 843.973 MiB
2018-07-18 05:15:50,156 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 209.255 seconds (0:03:29.254795)
2018-07-18 05:15:50,801 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:19:19,544 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 845.000 MiB
2018-07-18 05:19:19,808 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 208.744 seconds (0:03:28.743923)
2018-07-18 05:19:20,452 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:22:48,100 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 844.367 MiB
2018-07-18 05:22:48,366 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 207.649 seconds (0:03:27.648726)
2018-07-18 05:22:49,015 runner.main [INFO] [ibd.local.200000.dbcache=2048] command './src/bitcoind -datadir=/tmp/bench-master-2018-07-18-zxjpn5z7/bitcoin/data -dbcache=2048 -txindex=1 -connect=0 -debug=all -stopatheight=200000 -assumevalid=000000000000000000176c192f42ad13ab159fdb20198b87e7ba3c001e47b876 -port=9003 -rpcport=9004 -addnode=synced -maxtipage=99999999999999999999 -minimumchainwork=0x00 -printtoconsole=0 ' starting
2018-07-18 05:26:18,297 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully with maximum resident set size 845.094 MiB
2018-07-18 05:26:18,561 runner.main [INFO] [ibd.local.200000.dbcache=2048] command finished successfully in 209.283 seconds (0:03:29.282983)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment