Skip to content

Common PC hardware setups OOM when building Hostboot #190

@stewartsmith

Description

@stewartsmith

16GB memory, 8 core Ryzen 7 (with HT, so 16 threads) will OOM when building current hostboot, and adjusting parallelism through buildroot configuration does not seem to take effect.

The culprit appears to be somewhere in image generation, with the objdump processes spawned taking up to 2.2GB memory each.

IIRC this is spawned from the Linker, which probably doesn't respect parallelism and instead grabs nprocs or something.

This is all on Fedora 31.

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