UPDATE: see #18538 (comment)
Having the low-end system ODROID-HC1.
The downloaded binaries 0.19.1
behave as expected:
0$ time bitcoin-cli -rpcclienttimeout=3600 gettxoutsetinfo
1{
2 "height": 624598,
3 "bestblock": "0000000000000000001366754ef0fb1b483f1d7d64e3f561c262fdf5978ffbc0",
4 "transactions": 39618423,
5 "txouts": 66517746,
6 "bogosize": 4997008193,
7 "hash_serialized_2": "53f16a7e24542b3079eb7246660126392107fe87b2233ec27070386d333de708",
8 "disk_size": 4009464235,
9 "total_amount": 18307304.82089071
10}
11
12real 6m33.513s
13user 0m0.004s
14sys 0m0.023s
Monitoring the b-httpworker.0
thread via htop
shows that it is running almost all the time.
The similar results I’ve received from other downloaded versions: 0.19.0.1
and 0.18.0
.
The built locally binaries (with and without depends) show very different results:
0$ time bitcoin-cli -rpcclienttimeout=3600 gettxoutsetinfo
1{
2 "height": 624679,
3 "bestblock": "000000000000000000117e2b43965e568b5d50004f347f8b6ee642191c2895a8",
4 "transactions": 39645155,
5 "txouts": 66579180,
6 "bogosize": 5001532788,
7 "hash_serialized_2": "8adbf6e32f931eea9cc2cbcbd44c25b06ab0f1f564c6b75174ad60dc8b48f496",
8 "disk_size": 4009243803,
9 "total_amount": 18308317.32089071
10}
11
12real 56m23.878s
13user 0m0.004s
14sys 0m0.030s
Monitoring the b-httpworker.0
thread via htop
shows that it is blocked very often.
This difference in behavior is so strange, I’m not sure how to debug it…
The compiler on machine:
0$ g++ --version | head -1
1g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Please note that this issue differs from #16979.