IntelliJ configuration notes on using HugePages

Java has supported Linux Hugepages for a while, but it is not on by default. I like to squeeze the most performance out of my IDE so I turned it on. And here are the settings I used for Intellij now:

> cat idea64.vmoptions
-XX:+UseLargePages
-XX:LargePageSizeInBytes=2m
-Xms256m
-Xmx768m
-server
-XX:+UseG1GC
-XX:MaxGCPauseMillis=15
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djsse.enableSNIExtension=false
-Dawt.useSystemAAFontSettings=lcd
Advertisements