Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Linux Runtime Tuning

adverb
2020-07-10
2020-07-28
  • adverb

    adverb - 2020-07-10

    Hello Codesys Community,

    When searching for term 'rt_preempt' there are past questions on the topic of reducing jitter on the Codesys Linux runtime, running on a Debian-based OS. I found these suggestions:

    • Use of the RT_PREEMPT kernel patch
    • Ensure stable CPU clock
    • Use of CyclicTest tool for diagnostics

    To further improve performance (reduce jitter), are there additional suggestions from Codesys or the others in the community? For example:

    • Debugging kernel latency
    • Building a smaller/"lighter" kernel
    • CPU isolation/pinning
    • others?

    It would be ideal if Codesys could compile a whitepaper with their most common practices and suggestions to help Linux runtime customers get the best performance possible. But for now, perhaps we can work together in the forum to share/learn.

     
    πŸ‘
    1

    Last edit: adverb 2020-07-10
    • Ingo

      Ingo - 2020-07-13
      It would be ideal if Codesys could compile a whitepaper with their most common practices and suggestions to help Linux runtime customers get the best performance possible. But for now, perhaps we can work together in the forum to share/learn.
      

      There is no release planned, yet, but it is on our list!

       
      πŸ‘
      1
  • adverb

    adverb - 2020-07-28

    Hi all. cpupower utility was helpful in setting governor to 'performance' mode in Debian, which appears to help stabilize/lower cyclictest numbers, even while under stress-ng loads. Any tips for debugging outliers? I mean to say, debugging a missed latency target, by tracing kernel to find the cause?

     
    πŸ‘
    1

Log in to post a comment.