Skip to content

Clarification needed on HPA-related settings in jemalloc #2808

Open

Description

@AtharvaPhadnis

Hello jemalloc maintainers,

I'm trying to tune jemalloc with stats_print:true set in the MALLOC_CONF variable, and I see several settings in the output, specifically related to HPA. These settings include:

opt.hpa,
opt.hpa_slab_max_alloc,
opt.hpa_hugification_threshold,
opt.hpa_hugify_delay_ms,
opt.hpa_hugify_sync

and many more...

These options are not mentioned in the tuning section of the jemalloc documentation (https://jemalloc.net/jemalloc.3.html#mallctl_namespace)

I understand that these are probably still in active development and likely not for public use yet, but could you please provide some insight into what these settings do, and how they might affect performance? Is there some piece of documentation that I could read to get a fair idea, especially from a tuning perspective. Also, are there any plans to include these in the official documentation?

Thank you for your time and assistance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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