Skip to content

Configure available processors for tests #130612

Open
@mosche

Description

@mosche

Unless configured otherwise (by means of tests.configure_test_clusters_with_one_processor) tests should be configured to run with a small number of processors (2 was considered a good number by Core/Infra) to adequately size thread pools in relation to the available heap, e.g. using the node.processors setting or -XX:ActiveProcessorCount alternatively.

Sizing thread pools properly is necessary to prevent OOMs when attempting to allocate thread local direct buffers as done in various places.

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