<?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>topic Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353057#M19352</link>
    <description>&lt;P&gt;Your sysadmin is right.  He has disabled THP so the THPdefrag option does not matter:&lt;BR /&gt;
&lt;A href="https://access.redhat.com/solutions/46111"&gt;https://access.redhat.com/solutions/46111&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NOTE: Some third party application install scripts check value of above files and complain even if THP is disabled at boot time using transparent_hugepage=never, this is due to the fact when THP is disabled at boot time, the value of /sys/kernel/mm/redhat_transparent_hugepage/defrag will not be changed, however this is expected and system will never go in THP defragmentation code path when it is disabled at boot and THP defrag need not to be disabled separately.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But with that said what's the big deal?  Just set the defrag to 'never' and be done with it!&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2017 14:30:57 GMT</pubDate>
    <dc:creator>suarezry</dc:creator>
    <dc:date>2017-04-28T14:30:57Z</dc:date>
    <item>
      <title>Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353054#M19349</link>
      <description>&lt;P&gt;I noticed that Splunk was complaining about Transparent Huge Pages being enabled on a new platform we just migrated to.  You'd see this in splunkd.log:&lt;/P&gt;

&lt;P&gt;04-26-2017 16:03:55.871 -0700 INFO  ulimit - Linux transparent hugepage support, enabled="always" defrag="always"&lt;BR /&gt;
04-26-2017 16:03:55.871 -0700 WARN  ulimit - This configuration of transparent hugepages is known to cause serious runtime problems with Splunk. Typical symptoms include generally reduced performance and catastrophic breakdown in system responsiveness under high memory pressure. Please fix by setting the values for transparent huge pages to "madvise" or preferably "never" via sysctl, kernel boot parameters, or other method recommended by your Linux distribution.&lt;/P&gt;

&lt;P&gt;The system is RHEL 7. The administrator of the system has set &lt;CODE&gt;/sys/kernel/mm/transparent_hugepage/enabled&lt;/CODE&gt; to [never] but has left  &lt;CODE&gt;/sys/kernel/mm/transparent_hugepage/defrag&lt;/CODE&gt; as [always] with this claim:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The one note about this approach is that you might be mislead about THP status is you look at the defrag status which is set to always. This actually doesn't matter when THP is disabled since no defrag will ever be performed. You can verify THP status with this command "cat /sys/kernel/mm/transparent_hugepage/enabled"&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;My question: is he right about that? And if so, why is Splunk still saying "This configuration of transparent hugepages is known to cause serious runtime problems with Splunk." ?&lt;/P&gt;

&lt;P&gt;If he is wrong, what can I show him to make him believe he has to set these both to [never]?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 22:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353054#M19349</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2017-04-27T22:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353055#M19350</link>
      <description>&lt;P&gt;check this answer:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/188875/how-do-i-disable-transparent-huge-pages-thp-and-co.html"&gt;https://answers.splunk.com/answers/188875/how-do-i-disable-transparent-huge-pages-thp-and-co.html&lt;/A&gt;&lt;BR /&gt;
explains it in detail&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 23:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353055#M19350</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-27T23:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353056#M19351</link>
      <description>&lt;P&gt;Hi wrangler2x,&lt;/P&gt;

&lt;P&gt;It certainly does matter. I work with a multi terrabyte installation, and I can tell you that THP needs to be completely disabled for any system in the splunk infrastructure. In particular the search heads and indexers. If you ever file a support ticket with splunk for performance issues, you'll find this is one of the first things they check, with good reason. I've seen it very clearly resolve performance issues in the past.&lt;/P&gt;

&lt;P&gt;Please let me know if this answers your question! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 23:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353056#M19351</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2017-04-27T23:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353057#M19352</link>
      <description>&lt;P&gt;Your sysadmin is right.  He has disabled THP so the THPdefrag option does not matter:&lt;BR /&gt;
&lt;A href="https://access.redhat.com/solutions/46111"&gt;https://access.redhat.com/solutions/46111&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NOTE: Some third party application install scripts check value of above files and complain even if THP is disabled at boot time using transparent_hugepage=never, this is due to the fact when THP is disabled at boot time, the value of /sys/kernel/mm/redhat_transparent_hugepage/defrag will not be changed, however this is expected and system will never go in THP defragmentation code path when it is disabled at boot and THP defrag need not to be disabled separately.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But with that said what's the big deal?  Just set the defrag to 'never' and be done with it!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 14:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353057#M19352</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2017-04-28T14:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353058#M19353</link>
      <description>&lt;P&gt;The post says that the sysadmin disabled THP so OP's is asking if the THPdefrag option still matters.  It does not.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 14:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353058#M19353</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2017-04-28T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353059#M19354</link>
      <description>&lt;P&gt;Yes, I shared this document with him. He's going by a Red Hat page I don't have access to.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:12:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353059#M19354</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2017-04-28T17:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353060#M19355</link>
      <description>&lt;P&gt;I don't know what the big deal is. Ego? I've created this support request:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkcommunities.force.com/customers/50033000017y65PAAQ"&gt;Case Number 478790 -- Subject: Transparent Huge Pages aka "transparent hugepages" Splunk warning&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353060#M19355</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2017-04-28T17:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk complains about Transparent Huge Pages defrag, sysadmin says it does not matter. Which is true?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353061#M19356</link>
      <description>&lt;P&gt;From Splunk Support Fri Apr 28 11:24:25 2017&lt;BR /&gt;
Date: Fri, 28 Apr 2017 17:21:43 +0000 (GMT)&lt;BR /&gt;
From: Splunk Support &lt;BR /&gt;
To: &lt;BR /&gt;
Subject: Case #478790 Transparent Huge Pages aka "transparent hugepages"&lt;BR /&gt;
    Splunk warning [ ref:_00D409oyL._5003317y65P:ref ]&lt;/P&gt;

&lt;P&gt;Hello Garrett - &lt;/P&gt;

&lt;P&gt;Thank you for contacting Splunk Technical Support.  The second post-er is correct; it doesn't matter if defrag is set to never - if you're OK with seeing WARN'ings in the log.  &lt;/P&gt;

&lt;P&gt;We advise to turn off both.  Our documentation points to an Answers page that has been verified by Splunk as correct, and it specifically describes turning off both.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.3/ReleaseNotes/SplunkandTHP" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.3/ReleaseNotes/SplunkandTHP&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/188875/how-do-i-disable-transparent-huge-pages-thp-and-co.html" target="_blank"&gt;https://answers.splunk.com/answers/188875/how-do-i-disable-transparent-huge-pages-thp-and-co.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So, run with that and you'll be good to go!&lt;/P&gt;

&lt;P&gt;Regards, &lt;/P&gt;

&lt;P&gt;Eric Ryder&lt;BR /&gt;
Splunk Technical Support&lt;BR /&gt;
US Phone: 55-775-8657/855-SPLUNKS&lt;BR /&gt;
Outside US: &lt;A href="http://www.splunk.com/view/contact-us/SP-CAAAHJ6" target="_blank"&gt;http://www.splunk.com/view/contact-us/SP-CAAAHJ6&lt;/A&gt;&lt;BR /&gt;
Open a case: p://support.splunk.com/ &lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Case: 478790&lt;BR /&gt;
Status: Open&lt;BR /&gt;
Priority Level: P3&lt;/P&gt;

&lt;P&gt;[ ref:_00D409oyL._5003317y65P:ref ]&lt;/P&gt;

&lt;P&gt;From Splunk Support Fri Apr 28 11:24:30 2017&lt;BR /&gt;
Date: Fri, 28 Apr 2017 17:28:12 +0000 (GMT)&lt;BR /&gt;
From: Splunk Support &lt;BR /&gt;
To: &lt;BR /&gt;
Subject: Case #478790 Transparent Huge Pages aka "transparent hugepages"&lt;BR /&gt;
    Splunk warning [ ref:_00D409oyL._5003317y65P:ref ]&lt;/P&gt;

&lt;P&gt;p.s. To clarify my last email:  Leaving defrag at "always" does not have a performance impact, but you will see the warning in the log.  We don't consider this a bug, because we ask that it also be turned off, per the verified Answers post with instructions.&lt;/P&gt;

&lt;P&gt;I hope that's more clear.&lt;/P&gt;

&lt;P&gt;Cheers, &lt;/P&gt;

&lt;P&gt;Eric Ryder&lt;BR /&gt;
Splunk Technical Support&lt;BR /&gt;
US Phone: 55-775-8657/855-SPLUNKS&lt;BR /&gt;
Outside US: &lt;A href="http://www.splunk.com/view/contact-us/SP-CAAAHJ6" target="_blank"&gt;http://www.splunk.com/view/contact-us/SP-CAAAHJ6&lt;/A&gt;&lt;BR /&gt;
Open a case: p://support.splunk.com/&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-complains-about-Transparent-Huge-Pages-defrag-sysadmin/m-p/353061#M19356</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2020-09-29T13:52:59Z</dc:date>
    </item>
  </channel>
</rss>

