[
https://issues.apache.org/jira/browse/HDDS-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Elek resolved HDDS-3173.
-------------------------------
Resolution: Fixed
> Provide better default JVM options
> ----------------------------------
>
> Key: HDDS-3173
> URL: https://issues.apache.org/jira/browse/HDDS-3173
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Reporter: Marton Elek
> Priority: Blocker
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The GC pressure on Datanode is high because of the retry cache. I found
> crashes due to the long GC pauses. I started to use the following JVM
> parameters:
> {code}
> -server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC
> -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly
> {code}
> Which provide stable output.
> It would be great to detect the current version and add these parameters, if
> required.
> But there are two problems:
> * Different java versions support different flags
> * There could be conflicting flags (eg. if the user defines to use G1 we
> shouldn't add any other default parameters).
> I am not sure (yet) what is the best approach, I opened this issue to start a
> discussion.
> /cc [~arp]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]