Can anyone recommend good G1 garbage collector settings?

Hi,

I’d like to switch to using the G1 garbage collector on r3.8xlarge nodes. Can anyone recommend good settings?

  • is it advisable to configure continuous garbage collection?

  • how many GC threads should I configure? As many as there are cores or less than that? Will choosing fewer GC threads than cores lead to uneven segment scan times?

thanks

Sascha

On smaller nodes, eg r3.2xlarge we get good results from even default G1 settings. It has been much better than CMS.