[ 
https://issues.apache.org/jira/browse/IGNITE-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812261#comment-15812261
 ] 

Vyacheslav Daradur edited comment on IGNITE-4374 at 1/9/17 5:09 PM:
--------------------------------------------------------------------

Check of "Basic JVM Configuration" added.
Options are checked:
{code}
-server
-XX:+UseParNewGC 
-XX:+UseConcMarkSweepGC 
-XX:+UseTLAB 
-XX:NewSize=128m 
-XX:MaxNewSize=128m 
-XX:MaxTenuringThreshold=0 
-XX:SurvivorRatio=1024 
-XX:+UseCMSInitiatingOccupancyOnly 
-XX:CMSInitiatingOccupancyFraction=60
-XX:+DisableExplicitGC
{code}
Link to the tuning article added to output.
!https://issues.apache.org/jira/secure/attachment/12846372/check-output.png|thumbnail!

If the community approves this approach I will develop checks for ON_HEAP and 
OFF_HEAP "Advanced JVM Configuration"


was (Author: daradurvs):
Check of "Basic JVM Configuration" added.
Options are checked:
{code}
-server
-XX:+UseParNewGC 
-XX:+UseConcMarkSweepGC 
-XX:+UseTLAB 
-XX:NewSize=128m 
-XX:MaxNewSize=128m 
-XX:MaxTenuringThreshold=0 
-XX:SurvivorRatio=1024 
-XX:+UseCMSInitiatingOccupancyOnly 
-XX:CMSInitiatingOccupancyFraction=60
-XX:+DisableExplicitGC
{code}
Link to the tuning article added to output.
!check-output.png|thumbnail!

If the community approves this approach I will develop checks for ON_HEAP and 
OFF_HEAP "Advanced JVM Configuration"

> Ignite should validate JVM and OS configuration and output warning in log
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-4374
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4374
>             Project: Ignite
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Yakov Zhdanov
>            Assignee: Vyacheslav Daradur
>         Attachments: check-output.png
>
>
> Currently we have GridPerformanceSuggestions that output suggestions to logs 
> on Ignite start on how Ignite can be improved.
> I suggest to go a little bit deeper and validate more configuration options 
> and add validation for JVM and OS settings.
> Ignite should output warning if:
> * GC logging is not enabled
> * MaxDirectMemorySize is not set (-XX:MaxDirectMemorySize)
> * Heap size is greater than 30,5G and JVM cannot use compressed oops
> * Any of the recommended OS setting described here 
> https://apacheignite.readme.io/docs/jvm-and-system-tuning are not properly 
> set 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to