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

Shalin Shekhar Mangar commented on SOLR-13394:
----------------------------------------------

[~ichattopadhyaya] - a few comments:
# G1GC is recommended for large heaps. This patch enables G1GC regardless of 
the size of the heap.
# The default region size is very large at 16MB. G1GC recommends ~2048 regions 
which would make this setting appropriate only for 32GB heaps or more. Can we 
remove this explicit setting and let G1 choose the default.
# {{-XX:InitiatingHeapOccupancyPercent=45}} is redundant because the default is 
already 45.
# Also if we are going to enable large pages, then adding 
{{-XX:+AlwaysPreTouch}} is also a good idea to move the defrag costs to startup.

> Change default GC from CMS to G1
> --------------------------------
>
>                 Key: SOLR-13394
>                 URL: https://issues.apache.org/jira/browse/SOLR-13394
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>             Fix For: 8.1
>
>         Attachments: SOLR-13394.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> CMS has been deprecated in new versions of Java 
> (http://openjdk.java.net/jeps/291). This issue is to switch Solr default from 
> CMS to G1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to