Skip to content

gitian vs self-compiled on ARM 32-bit gettxoutsetinfo #18538

@hebasto

Description

@hebasto

UPDATE: see #18538 (comment)

Having the low-end system ODROID-HC1.
The downloaded binaries 0.19.1 behave as expected:

$ time bitcoin-cli -rpcclienttimeout=3600 gettxoutsetinfo
{
  "height": 624598,
  "bestblock": "0000000000000000001366754ef0fb1b483f1d7d64e3f561c262fdf5978ffbc0",
  "transactions": 39618423,
  "txouts": 66517746,
  "bogosize": 4997008193,
  "hash_serialized_2": "53f16a7e24542b3079eb7246660126392107fe87b2233ec27070386d333de708",
  "disk_size": 4009464235,
  "total_amount": 18307304.82089071
}

real	6m33.513s
user	0m0.004s
sys	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:

$ time bitcoin-cli -rpcclienttimeout=3600 gettxoutsetinfo
{
  "height": 624679,
  "bestblock": "000000000000000000117e2b43965e568b5d50004f347f8b6ee642191c2895a8",
  "transactions": 39645155,
  "txouts": 66579180,
  "bogosize": 5001532788,
  "hash_serialized_2": "8adbf6e32f931eea9cc2cbcbd44c25b06ab0f1f564c6b75174ad60dc8b48f496",
  "disk_size": 4009243803,
  "total_amount": 18308317.32089071
}

real	56m23.878s
user	0m0.004s
sys	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:

$ g++ --version | head -1
g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0

Please note that this issue differs from #16979.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions