This will allow to pass the -dbcache option to bitcoind, which is expected to speedup IBD on machines with larger memory capacity.
Details
Details
On a machine with at least 16GB of RAM:
export ABC_BUILD_NAME=build-ibd export IBD_BITCOIND_EXTRA_ARGS="-dbcache=15000" ./contrib/teamcity/build-configurations.sh
Sanity check:
export ABC_BUILD_NAME=build-ibd ./contrib/teamcity/build-configurations.sh
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ci_dbcache
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 8072 Build 14134: Bitcoin ABC Buildbot (legacy) Build 14133: arc lint + arc unit
Event Timeline
contrib/teamcity/build-configurations.sh | ||
---|---|---|
120 ↗ | (On Diff #14011) | Won't this error when DBCACHE isn't set? (Due to not being defined) Either way, add the default to the test plan. |
Comment Actions
Generalize to make passing other options available beside dbcache.
Take the set -u into account...
contrib/teamcity/build-configurations.sh | ||
---|---|---|
123 ↗ | (On Diff #14024) | It does looks like these args are only passed down to IBD, not bitcoind in general. For instance, they do not get passed down integration tests. |
Comment Actions
I'm not sure why so much parameters are passed down as environment variables, that sounds fragile to me.