Skip to content

Support page size > 4K in jemalloc #5244

@koraykoska

Description

@koraykoska

Description

Some ARM processors have a page size other than 4k (16k for example). lighthouse bn is unable to launch on those processors, with the error: <jemalloc>: Unsupported system page size

This is a know issue as can be seen here:

jemalloc/jemalloc#2572

As explained in the above issue, jemalloc page size is a compile time option, but higher ones are ok to use on lower page sizes, the other way round doesn't work.

My suggestion would be to increase the page size to 16k during the jemalloc compilation phase on the ARM docker images. As it's officially supported to have it higher, this shouldn't break anything, just make 16k systems work.

Version

v4.6.0

Present Behaviour

On launch of the BN: : Unsupported system page size

Expected Behaviour

Just work normally. Page size shouldn't be an issue for normal applications.

Steps to resolve

Right now the only way is to switch your kernel to a 4k page size. That's quite intrusive.

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