Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Any recommendation on using G1GC over CMS GC for HBase?

avatar

What are advantages and benefits of G1GC? Any benchmarks?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Pardeep

Hope this helps

There are several good documents online.

Link

  • In CMS the young and old generation heap space are physically differentiated. But in the case of G1 they are logical. This is achieved by dividing the total heap space into number of regions (2000) and the regions are identified whether they belong to young or old space.
  • Compaction of the heap space is done as part of the collection process which was not the case in CMS.
  • G1 collector tries to meet user specified target for application pause time during the collection process.

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Pardeep

Hope this helps

There are several good documents online.

Link

  • In CMS the young and old generation heap space are physically differentiated. But in the case of G1 they are logical. This is achieved by dividing the total heap space into number of regions (2000) and the regions are identified whether they belong to young or old space.
  • Compaction of the heap space is done as part of the collection process which was not the case in CMS.
  • G1 collector tries to meet user specified target for application pause time during the collection process.