I had been running a Debug build all along.
For the uninitiated, the main build types are Debug
and Release
. The Debug
preserve debugging information, but are slower. The Release
discard debugging information to be faster.
I do my own builds, because I often tinker with the code, trying to tweak things.
I did a Release
build earlier today, and instead of processing a 256MB block in just less than 10 minutes, my RPi4 did so in less than two minutes.
2022-07-08T19:22:47Z - Load block from disk: 0.00ms [0.02s] 2022-07-08T19:22:47Z - Sanity checks: 0.01ms [0.23s (0.01ms/blk)] 2022-07-08T19:22:47Z - Fork checks: 0.05ms [0.91s (0.05ms/blk)] 2022-07-08T19:23:08Z - Connect 739725 transactions: 21019.90ms (0.028ms/tx, 0.028ms/txin) [381.62s (22.70ms/blk)] 2022-07-08T19:24:22Z - Verify 739724 txins: 94798.36ms (0.128ms/txin) [2371.05s (141.04ms/blk)] 2022-07-08T19:24:22Z Pre-allocating up to position 0x1400000 in rev00044.dat 2022-07-08T19:24:24Z - Index writing: 1775.66ms [62.51s (3.72ms/blk)] 2022-07-08T19:24:24Z - Callbacks: 0.11ms [0.79s (0.05ms/blk)] 2022-07-08T19:24:24Z - Connect total: 97161.99ms [2448.10s (145.63ms/blk)] 2022-07-08T19:24:29Z - Flush: 4426.12ms [94.02s (5.59ms/blk)] 2022-07-08T19:24:29Z - Writing chainstate: 0.17ms [207.98s (12.37ms/blk)] 2022-07-08T19:24:29Z UpdateTip: new best=00000000017caad8a8cc6dee443a615413336f1aea762e7d0e2ab9d66bd0e138 height=16810 version=0x20000000 log2_work=57.887327 tx=16166556 date='2020-11-14T18:51:58Z' progress=1.000000 cache=530.9MiB(3389885txo) 2022-07-08T19:24:29Z - Connect postprocess: 0.14ms [2.02s (0.12ms/blk)] 2022-07-08T19:24:29Z - Connect block: **101588.43ms** [2752.14s (163.71ms/blk)]
Small blockers on suicide watch.
[link] [comments]
source https://www.reddit.com/r/btc/comments/vuiqwm/im_terribly_sorry_as_the_noob_that_i_am_i_have/
No comments:
Post a Comment