Skip to content

Disable Transparent Huge Pages (THP) as part of Dockerfile #265

Closed
@kmluck

Description

@kmluck

As per https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/:

You should disable THP on Linux machines to ensure best performance with MongoDB.

However, the official docker image for MongoDB does not have THP disabled. I believe it would make sense to adjust the Dockerfile so that THP is disabled.

Activity

tianon

tianon commented on Apr 25, 2018

@tianon
Member

Duplicate of #112.

We cannot apply this change in the Docker image -- it has to be applied on your Docker host.

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

        Participants

        @tianon@kmluck

        Issue actions

          Disable Transparent Huge Pages (THP) as part of Dockerfile · Issue #265 · docker-library/mongo