[
https://issues.apache.org/jira/browse/ZOOKEEPER-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113558#comment-16113558
]
ASF GitHub Bot commented on ZOOKEEPER-2835:
-------------------------------------------
Github user afine commented on the issue:
https://github.com/apache/zookeeper/pull/301
I'm not sure if we should make this default configuration since it should
increase startup time and will only increase performance for users with larger
memory requirements. Our current default -XX args are pretty conservative and
we don't really have any performance related switches there. Perhaps we should
document this as a recommendation rather than making this default?
> Run server with `-XX:+AlwaysPreTouch` jvm flag
> ----------------------------------------------
>
> Key: ZOOKEEPER-2835
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2835
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.5.3
> Reporter: Benedict Jin
> Assignee: Benedict Jin
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> Add `-XX:+AlwaysPreTouch` jvm flag for server, let jvm through demand-zeroed
> way to allocate memory once in place when the process started
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)