HomePhabricator

Increase LevelDB max_open_files unless on 32-bit Unix.

Authored by Evan Klitzke <evan@eklitzke.org> on Feb 20 2018, 22:25.

Description

Increase LevelDB max_open_files unless on 32-bit Unix.

Summary:

This change significantly increases IBD performance by increasing the
amount of the UTXO index that can remain in memory. To ensure this
doesn't cause problems in the future, a static_assert on the LevelDB
version has been added, which must be updated by anyone upgrading
LevelDB.

Backport of core PR12495
https://github.com/bitcoin/bitcoin/pull/12495/files

Test Plan: Run IBD on CI (and expect a significant performace improvement).

Reviewers: #bitcoin_abc, deadalnix, fpelliccioni

Reviewed By: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4000

Details

Committed
FabienFri, Sep 6, 07:59
Pushed
FabienFri, Sep 6, 07:59
Reviewer
fpelliccioni
Differential Revision
D4000: Increase LevelDB max_open_files unless on 32-bit Unix.
Parents
rABC267b632ca393: Remove extra newline that leads to linter warning
Branches
Unknown
Tags
Unknown