Thanks for sharing your analysis!
For setups where users do indexing on certain nodes and querying on other
nodes, I could imagine choosing different collectors on these nodes.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


On Sat, Nov 26, 2022 at 5:25 PM Shawn Heisey <apa...@elyograg.org> wrote:

> On 11/26/22 14:41, Shawn Heisey wrote:
> > The GC log analyses below cover a full index rebuild on OpenJDK 11:
> >
> > G1GC:
> > https://www.dropbox.com/s/rvw27xlanlmydry/gc_analysis_g1gc.png?dl=0
> >
> > ZGC:
> > https://www.dropbox.com/s/rl80tnf4x1x9wjh/gc_analysis_zgc.png?dl=0
>
> Focusing on one part of the full GC reports above:
>
> https://www.dropbox.com/s/qorl9x0doywxqhy/total_time_g1gc.png?dl=0
> https://www.dropbox.com/s/qs4r3aznspb4pub/total_time_zgc.png?dl=0
>
> For this tiny index, G1GC spends a lot less time doing concurrent tasks
> than ZGC, but has about twice as much pause time.  The difference in
> concurrent time on this system is VERY significant. This instance only
> has two CPUs, so there's not a lot of CPU power to handle concurrent
> threads.  Having over a minute of concurrent GC time (compared to about
> 3 seconds with G1GC) resulted in the rebuild time increasing by three
> minutes.
>
> I think that with a very large heap and/or a large number of CPU cores,
> ZGC will completely trounce G1GC.   Further testing on large installs
> that I don't have is required.
>
> Thanks,
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> For additional commands, e-mail: dev-h...@solr.apache.org
>
>

Reply via email to