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

Vyacheslav Daradur commented on IGNITE-4374:
--------------------------------------------

PR was closed.

*Summary:*

*Checks of JVM-options were added:*
||Option||Type of check||
|Heap size > 30,5Gb, JVM| outputs the warning|
|JDK version not equals 1.8| outputs the warning|
|-server| JDK name doesn't contain "server" 
|-Xmx / -mx| absent in args |
|-XX:MaxDirectMemorySize| absent in args |
|-XX:+DisableExplicitGC| absent in args |
|-XX:+UseTLAB| args consist -XX:-UseTLAB|
|-XX:+UseG1GC| absent in args & JDK8|

*Checks of OS-parameters were added (only RedHat family):*
||Option||Type of check||Notes||
|vm.dirty_writeback_centisecs| !=500 |if exists in system|
|vm.dirty_expire_centisecs| !=500 |if exists in system|
|vm.swappiness| !=10 |if exists in system|
|vm.zone_reclaim_mode| !=0 |if exists in system|
|vm.extra_free_kbytes| !=1240000 |if exists in system|

> 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: x32_not_optimized.png, x32_optimized.png, 
> x64_not_optimized.png, x64_optimized.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.15#6346)

Reply via email to