<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Guidelines for initial garbage collection settings in HDP? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96479#M9978</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt; did you ever get an answer to this question outside the forum?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2016 23:45:46 GMT</pubDate>
    <dc:creator>mherring</dc:creator>
    <dc:date>2016-01-13T23:45:46Z</dc:date>
    <item>
      <title>Guidelines for initial garbage collection settings in HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96478#M9977</link>
      <description>&lt;P&gt;After studying the basics on Java GC, it seems like the Serial (default) GC would be best for YARN containers (low core:task ratio), and CMS or G1 would be best for long-running services that occupy more memory (master services and some edge servers). Are these assumptions valid?&lt;/P&gt;&lt;P&gt;What is recommended for worker services? Is there any situation in the HDP ecosystem where it's recommended to start with ParallelGC or ParallelOldGC?&lt;/P&gt;&lt;P&gt;I still hear of people using CMS, but it looks like that is replaced in favor of G1 as of Java 7+. Is there any reason to choose CMS over G1 when the latter is available?&lt;/P&gt;&lt;P&gt;Are there additional garbage collectors worth learning about, beyond: Serial, Parallel, ParallelOld, CMS, and G1?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96478#M9977</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2022-09-16T09:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Guidelines for initial garbage collection settings in HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96479#M9978</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt; did you ever get an answer to this question outside the forum?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:45:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96479#M9978</guid>
      <dc:creator>mherring</dc:creator>
      <dc:date>2016-01-13T23:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Guidelines for initial garbage collection settings in HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96480#M9979</link>
      <description>&lt;P&gt;I discovered an internal doc by &lt;A rel="user" href="https://community.cloudera.com/users/381/cnauroth.html" nodeid="381"&gt;@Chris Nauroth&lt;/A&gt; that provides best practices and troubleshooting tips. Perhaps he would like to share it as a KB when time permits.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 00:42:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96480#M9979</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2016-01-14T00:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Guidelines for initial garbage collection settings in HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96481#M9980</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt;, that's a great idea.  I've just imported that doc as a new article here: &lt;A href="https://community.hortonworks.com/articles/14170/namenode-garbage-collection-configuration-best-pra.html"&gt;https://community.hortonworks.com/articles/14170/namenode-garbage-collection-configuration-best-pra.html&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 03:56:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96481#M9980</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2016-02-04T03:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Guidelines for initial garbage collection settings in HDP?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96482#M9981</link>
      <description>&lt;P&gt;I'm most familiar with GC tuning for HDFS, so I'll answer from that perspective.&lt;/P&gt;&lt;P&gt;As you expected, our recommendation for the HDFS daemons is CMS.  In practice, we have found that some of the default settings for CMS are sub-optimal for the NameNode's heap usage pattern.  In addition to enabling CMS, we recommend tuning a few of those settings.&lt;/P&gt;&lt;P&gt;I agree that G1 would be good to evaluate as the future direction.  As of right now, we have not tested and certified with G1, so I can't recommend using it.&lt;/P&gt;&lt;P&gt;For more details, please refer to the NameNode garbage collection deep dive article that I just posted.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/14170/namenode-garbage-collection-configuration-best-pra.html"&gt;https://community.hortonworks.com/articles/14170/namenode-garbage-collection-configuration-best-pra.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 03:59:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Guidelines-for-initial-garbage-collection-settings-in-HDP/m-p/96482#M9981</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2016-02-04T03:59:09Z</dc:date>
    </item>
  </channel>
</rss>

