-
Notifications
You must be signed in to change notification settings - Fork 729
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 use of HugePages #10391
Comments
@megazone23 You can use |
I tried your recommendation and worked. Thanks! I would be interested in the discussion. How do I access it? |
Check #8671 which is where most of the higher level conversation is occurring. Implementation details are mostly broken out / being broken into pull requests associated with that. |
Closing as discussion has dropped off |
Java -version output
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b10)
Eclipse OpenJ9 VM (build openj9-0.15.1, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20190717_368 (JIT enabled, AOT enabled)
OpenJ9 - 0f66c64
OMR - ec782f26
JCL - f147086df1e based on jdk8u222-b10)
Summary of problem
When huge pages are configured in Linux. Need setting to prevent java from using huge pages, on our servers Java is causing other applications which require huge pages from working. For HotSpot on Windows and Linux huge pages are disabled by default. It seems OpenJ9 even with out the -Xlp argument it is still reserving and allocating huge pages.
Diagnostic files
To replicate use the following program:
With a Linux machine configured with huge pages you will see the following:
If you runt the program you will see the HugePages_Rsvd increase and the HugePages_Free shows usage:
java -cp . Sleep 1000000
The text was updated successfully, but these errors were encountered: