On 4/29/2015 12:45 AM, Dawid Weiss wrote:
> I think this may be of importance to us since we specifically don't
> like G1GC? :)

I have been using G1 with Solr for quite some time and have had no
trouble with it.  I am aware of the note on the JavaBugs Lucene wiki
page that says "Do not, under any circumstances, run Lucene with the G1
garbage collector."

There could be others that I haven't looked at, but the only Lucene bugs
about G1GC I have noticed specifically mention the 32-bit
implementation, which I am not using.  I am very curious to know what
kind of problems have been seen with G1 on a 64-bit JVM.

Initially when I tried G1, it was completely untuned.  It did not stop
full GCs from happening, and the full GC pauses were longer than untuned
CMS, though not as bad as leaving everything completely at default.  I
eventually learned how to tune CMS and ended up with really good
performance from that.  Much later, I figured out how to tune G1, and
performance got even better.

My notes on GC settings for Solr do specifically mention the Lucene
recommendation to never use G1.

http://wiki.apache.org/solr/ShawnHeisey#GC_Tuning_for_Solr

Thanks,
Shawn


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

Reply via email to