Skip to content

[Bug]: Kernel make uses higher CPU count than available #6907

Open
@ColorfulRhino

Description

@ColorfulRhino

What happened?

Running any kernel compile with the option SHOW_COMMAND=yes reveals that it it using make '-j24' on my machine which only has 16 CPU cores. It should run with make '-j16'. echo $(nproc) result is 16.

I don't think there is a performance penalty necessarily, but still something is odd.

How to reproduce?

./compile.sh BOARD=nanopi-r6c BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=trixie SHOW_COMMAND=yes

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions