Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kmluck opened this issue Apr 25, 2018 · 1 comment
Closed

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

kmluck opened this issue Apr 25, 2018 · 1 comment

Comments

@kmluck
Copy link

kmluck commented Apr 25, 2018

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.

@tianon
Copy link
Member

tianon commented Apr 25, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants