[
https://issues.apache.org/jira/browse/IGNITE-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853863#comment-15853863
]
Vyacheslav Daradur commented on IGNITE-4374:
--------------------------------------------
[~dmagda], [~yzhdanov]
Please review it again.
Current output:
{code}
[14:16:48]
[14:16:48] Message queue limit is set to 0 which may lead to potential OOMEs
when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to
message queues growth on sender and receiver sides.
[14:16:48] Security status [authentication=off, tls/ssl=off]
[14:16:51] Performance suggestions for grid (fix if possible)
[14:16:51] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[14:16:51] ^-- JVM heap size is greater than 30.5Gb, JVM will not use
compressed oops
[14:16:51] ^-- Enable server mode for JVM (add '-server' to JVM options)
[14:16:51] ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM options
[14:16:51] ^-- Specify JVM heap max size (add '-Xmx<size>[g|G|m|M|k|K]' to
JVM options)"
[14:16:51] ^-- Specify New I/O max total size (add
'-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM options)
[14:16:51] ^-- Enable using thread-local allocation blocks (add
'-XX:+UseTLAB' to JVM options)
[14:16:51] ^-- Disable processing of calls to System.gc() (add
'-XX:+DisableExplicitGC' to JVM options)
[14:16:51] ^-- Set OS parameter: vm.dirty_writeback_centisecs=500
[14:16:51] ^-- Set OS parameter: vm.dirty_expire_centisecs=500
[14:16:51] ^-- Set OS parameter: vm.swappiness=10
[14:16:51] ^-- Set OS parameter: vm.zone_reclaim_mode=0
[14:16:51] ^-- Set OS parameter: vm.extra_free_kbytes=1240000
[14:16:51] Refer to this page for more performance suggestions:
https://apacheignite.readme.io/docs/jvm-and-system-tuning
[14:16:51]
[14:16:51] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[14:16:51]
[14:16:51] Ignite node started OK (id=30a2111c)
[14:16:51] Topology snapshot [ver=1, servers=1, clients=0, CPUs=1, heap=1.0GB]
{code}
> 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)