<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks for the info, i guess i'd better not change any of the
    defaults if it's working most of the times (except maybe HPET)! I
    thought things like that could help.<br>
    <br>
    A couple of times a day during a minute or so, new channels hang
    between ROUTING to EXECUTE state (the rest works perfectly), and I
    can see this "RT Throttle" issue in dmesg. Strange thing is that the
    average load is pretty low (&lt;10% cpu_usage, and &lt;3 cpu_load on
    avg).<br>
    <br>
    I'd better try to find and fix the cause of this than mess with
    kernel settings!<br>
    <br>
    François.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2016-01-22 17:55, Anthony Minessale
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKbxfG8ZQnn4rrok1Hx+4-d9Bc+pwPDSPhMSW13T_TwghwORQg@mail.gmail.com"
      type="cite">
      <div dir="ltr">These things mainly come up when someone is trying
        to overload a system or drag more out of it.
        <div>If its already working, there is no need to mess with the
          clock source.</div>
        <div>HPET is for sure more accurate and can come in handy when
          doing heavy load because, yes, it uses the cpu but it does so
          from the kernel which has priority,  You want timing to always
          have priority.</div>
        <div>If you are triggering real time throttling issues, you are
          probably pushing the box pretty hard.  This is considered very
          advanced tuning and we don't really endorse it for community
          level support.</div>
        <div><br>
        </div>
        <div>Consider contacting <a moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
          for advanced support.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jan 22, 2016 at 6:22 AM,
          François <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:fdelawarde@wirelessmundi.com" target="_blank">fdelawarde@wirelessmundi.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
            <br>
            I'm trying to find a solution for an "RT throttling" issue
            under<br>
            relatively high load (20cps) on linux 3.10 and CPU Xeon
            E5-1650v2<br>
            (6cores). A similar jira ticket FS-8620 has a recommendation
            to set the<br>
            clocksource to "hpet":<br>
            <br>
            echo hpet &gt;
            /sys/devices/system/clocksource/clocksource0/current_clocksource<br>
            <br>
            I read somewhere that the default clocksource (TSC) is
            lighter in CPU<br>
            usage because it only requires reading a register that is
            synchronized<br>
            across all cores...<br>
            <br>
            Considering FreeSWITCH needs:<br>
            <br>
            -&gt; Is HPET recommended over the default "TSC" clock?<br>
            <br>
            -&gt; Does a change in clocksource have immediate effects or
            does it<br>
            require an FS restart/reboot?<br>
            <br>
            -&gt; Also, is it recommended to disable RT-throttling to
            resolve these<br>
            types of issues?<br>
            <br>
            echo -1 &gt;/proc/sys/kernel/sched_rt_runtime_us<br>
            echo -1 &gt;/proc/sys/kernel/sched_rt_period_us<br>
            <br>
            Thanks,<br>
            François.<br>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" rel="noreferrer"
              target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">Anthony Minessale II       ♬
                    @anthmfs  ♬ @FreeSWITCH  ♬
                    <div><br>
                      <div>☞ <a moz-do-not-send="true"
                          href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>
                         ☞ <a moz-do-not-send="true"
                          href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>
                         ☞ <a moz-do-not-send="true"
                          href="http://twitter.com/FreeSWITCH"
                          target="_blank">http://twitter.com/FreeSWITCH</a></div>
                      <div>
                        <div>☞ <a moz-do-not-send="true"
                            href="http://irc.freenode.net"
                            target="_blank">irc.freenode.net</a>
                          #freeswitch ☞ <u><a moz-do-not-send="true"
                              href="http://freeswitch.org/g+"
                              target="_blank">http://freeswitch.org/g+</a></u><br>
                          <br>
                        </div>
                        <div>ClueCon Weekly Development Call <br>
                        </div>
                        <div>☎ <a moz-do-not-send="true"
                            href="mailto:sip%3A888@conference.freeswitch.org"
                            target="_blank">sip:888@conference.freeswitch.org</a>
                           ☎ +19193869900 </div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                    <div><a moz-do-not-send="true"
                        href="https://www.youtube.com/watch?v=9XXgW34t40s"
style="color:rgb(17,85,204);font-size:12.8000001907349px"
                        target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div>
                    <div><a moz-do-not-send="true"
                        href="https://www.youtube.com/watch?v=NLaDpGQuZDA"
                        target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>