<?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: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219970#M8231</link>
    <description>&lt;P&gt;Good point, have you monitor further since turned off THP? RHEL 7.3 will be released in the next couple of months. I don't want to turn it back on.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2016 12:09:30 GMT</pubDate>
    <dc:creator>Jrubalcaba</dc:creator>
    <dc:date>2016-10-19T12:09:30Z</dc:date>
    <item>
      <title>Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219963#M8224</link>
      <description>&lt;P&gt;Does anyone know if this holds valid in RHEL 7.2:&lt;/P&gt;

&lt;P&gt;Recently I saw an article regarding Splunk performance and Transparent Huge Pages (THP) in Kernel 2.6&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/ReleaseNotes/SplunkandTHP"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/ReleaseNotes/SplunkandTHP&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If I am planning to install Splunk 6.5.0 in (distributed search architecture) with two search heads and 3 clustered indexers... Should I disable THP on every Linux RHEL 7.2 Kernel 3.10 instance prior installing Splunk 6.5.0?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 13:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219963#M8224</guid>
      <dc:creator>Jrubalcaba</dc:creator>
      <dc:date>2016-10-03T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219964#M8225</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;definately THP impact the performance of SPLUNK. So it need to be disabled on Linux box.  It's not necessary to disable it before installing the SPLUNK. you can disable it after installing the splunk.  Just to let you know THP got enabled automatically when we reboot the machine.&lt;/P&gt;

&lt;P&gt;Disable the THP:&lt;/P&gt;

&lt;H1&gt;echo never &amp;gt; /sys/kernel/mm/redhat_transparent_hugepage/enabled&lt;/H1&gt;

&lt;H1&gt;echo never &amp;gt; /sys/kernel/mm/redhat_transparent_hugepage/defrag&lt;/H1&gt;

&lt;P&gt;to check if THP is been used by SPLUNK&lt;BR /&gt;
grep -e AnonHugePages  /proc/*/smaps | awk  '{ if($2&amp;gt;4) print $0} ' |  awk -F "/"  '{print $0; system("ps -fp " $3)} ' | grep splunk&lt;BR /&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;Thanks &lt;BR /&gt;
Ankit&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:16:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219964#M8225</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2020-09-29T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219965#M8226</link>
      <description>&lt;P&gt;Yes.  Splunk strongly recommends disabling THP on all Linux systems.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 16:40:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219965#M8226</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-10-03T16:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219966#M8227</link>
      <description>&lt;P&gt;Please be aware, the new Health Check is sometimes missleading regarding THP.&lt;BR /&gt;
THP was disabled on our system, the Health Check shows it as enabled.&lt;/P&gt;

&lt;P&gt;(/sys/kernel/mm/redhat_transparent_hugepage/defrag was set to always, and  /sys/kernel/mm/redhat_transparent_hugepage/enabled to never which seems to confuse the Health Check).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219966#M8227</guid>
      <dc:creator>splk</dc:creator>
      <dc:date>2020-09-29T11:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219967#M8228</link>
      <description>&lt;P&gt;Hi @Jrubalcaba - Looks like you got some good feedback about your question. If one of the answers below has helped, please don't forget to resolve this post by clicking "Accept" below the best answer. If not, please write a comment to share more information. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 20:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219967#M8228</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2016-10-07T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219968#M8229</link>
      <description>&lt;P&gt;Are you sure that this is a good idea for RHEL7.2/x64 systems?&lt;/P&gt;

&lt;P&gt;I had the possibility to test this on our box because I had to catch up 3 days of missing data.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/165203-bild1.png" alt="Image of the indexing rate graph" /&gt; &lt;/P&gt;

&lt;P&gt;When a disabled THP temporary the indexing rate went down quite considerably.&lt;BR /&gt;
Commands:&lt;BR /&gt;
switching THP off:&lt;BR /&gt;
echo never &amp;gt; /sys/kernel/mm/transparent_hugepage/enabled&lt;BR /&gt;
echo never &amp;gt; /sys/kernel/mm/transparent_hugepage/defrag&lt;BR /&gt;
switching THP back on:&lt;BR /&gt;
echo always &amp;gt; /sys/kernel/mm/transparent_hugepage/enabled&lt;BR /&gt;
echo always &amp;gt; /sys/kernel/mm/transparent_hugepage/defrag&lt;/P&gt;

&lt;P&gt;I'm wondering if the THP Implementation in RHEL7 is better than it was before?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219968#M8229</guid>
      <dc:creator>ochsner</dc:creator>
      <dc:date>2020-09-29T11:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219969#M8230</link>
      <description>&lt;P&gt;Good question. I am at this point of my installation and would like to know of disabling THP is still the recommended course of action for RHEL 7.2 (Maipo). Thanks...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219969#M8230</guid>
      <dc:creator>rewritex</dc:creator>
      <dc:date>2016-10-18T20:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219970#M8231</link>
      <description>&lt;P&gt;Good point, have you monitor further since turned off THP? RHEL 7.3 will be released in the next couple of months. I don't want to turn it back on.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219970#M8231</guid>
      <dc:creator>Jrubalcaba</dc:creator>
      <dc:date>2016-10-19T12:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Should I disable THP on Linux RHEL 7.2 prior installing Splunk 6.5.0?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219971#M8232</link>
      <description>&lt;P&gt;I reached out to Splunk Engineering (via Support) to confirm this on RHEL7 and Splunk 6.5, and received the following:&lt;/P&gt;

&lt;P&gt;Support confirms that "...it is still REQUIRED practice, not simply best practice that THP be disabled." &lt;/P&gt;

&lt;P&gt;Here are Engineering's comments regarding the comment from "oschnar":&lt;/P&gt;

&lt;P&gt;"His chart is inconclusive. THP doesn't affect/improve indexing rate as much as it severely affects search performance negatively. At low volumes, it doesn't matter, but at higher rates, you'll notice the effect, especially under high search loads/pressure.&lt;/P&gt;

&lt;P&gt;AFAIK, the severe performance bug was fixed in later Linux kernels (circa kernel 4.x+, but not back-ported to rhel/centos 7.2) so that madvise is the default, and is reasonably safe to use. However, if the box is performing double duty, cycles will be spent to manage and defrag any use of THP outside of the Splunk process. Since we require dedicated ownership/use of the system, enabling THP for "alien" processes is not recommended.&lt;/P&gt;

&lt;P&gt;I had recently confirmed with engineering that we do NOT use THP, but rather we directly allocate/manage hugepages (not the same feature), so disabling THP will be appropriate for any systems running a heavy Splunk process (such as search heads, cluster masters, indexers)." &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Should-I-disable-THP-on-Linux-RHEL-7-2-prior-installing-Splunk-6/m-p/219971#M8232</guid>
      <dc:creator>ckurtz</dc:creator>
      <dc:date>2017-01-31T20:05:14Z</dc:date>
    </item>
  </channel>
</rss>

