Skip to content

Rethink use of thread_local #18678

@maflcko

Description

@maflcko

Merely compiling Bitcoin Core with thread_local seems to correlate with massively degraded performance for both the RPC and P2P interface on low-end machines. See for example:

If thread_local really is the source of the performance degradation, it should be disabled by default and only enabled by --enable-debug (for use in lock order debugging).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions