home.social

#rtcqs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rtcqs, aggregated by home.social.

  1. This is a really useful tool for detecting #Linux #audio problems:

    "rtcqs is a Python utility to analyze your system and detect possible bottlenecks that could have a negative impact on the performance of your system when working with Linux audio":

    codeberg.org/rtcqs/rtcqs

    Just used this to optimize the audio on my new Linux machine, highly recommended #rtcqs!

  2. @trancefish @mfuhrmann Wenn es Fragen gibt bzw #rtcqs, ich hilfe gerne! Und #Millisecond benutzt rtcqs im Hintergrund und sollte gleiche Ergebnisse wie rtcqs geben.

  3. @trancefish @mfuhrmann Wenn es Fragen gibt bzw #rtcqs, ich hilfe gerne! Und #Millisecond benutzt rtcqs im Hintergrund und sollte gleiche Ergebnisse wie rtcqs geben.

  4. @trancefish @mfuhrmann Wenn es Fragen gibt bzw #rtcqs, ich hilfe gerne! Und #Millisecond benutzt rtcqs im Hintergrund und sollte gleiche Ergebnisse wie rtcqs geben.

  5. @trancefish @mfuhrmann Wenn es Fragen gibt bzw #rtcqs, ich hilfe gerne! Und #Millisecond benutzt rtcqs im Hintergrund und sollte gleiche Ergebnisse wie rtcqs geben.

  6. @trancefish @mfuhrmann Wenn es Fragen gibt bzw #rtcqs, ich hilfe gerne! Und #Millisecond benutzt rtcqs im Hintergrund und sollte gleiche Ergebnisse wie rtcqs geben.

  7. All other recommendations that for instance #rtcqs or #Millisecond give are for those that really need stable, ultra low latency. So buffer sizes below 64 samples that result in round-trip latencies below 10 milliseconds. This is the area where threaded IRQs or disabling Spectre/Meltdown mitigations might contribute to getting rid of that stray xrun.

    /2

  8. All other recommendations that for instance #rtcqs or #Millisecond give are for those that really need stable, ultra low latency. So buffer sizes below 64 samples that result in round-trip latencies below 10 milliseconds. This is the area where threaded IRQs or disabling Spectre/Meltdown mitigations might contribute to getting rid of that stray xrun.

    /2

  9. All other recommendations that for instance #rtcqs or #Millisecond give are for those that really need stable, ultra low latency. So buffer sizes below 64 samples that result in round-trip latencies below 10 milliseconds. This is the area where threaded IRQs or disabling Spectre/Meltdown mitigations might contribute to getting rid of that stray xrun.

    /2

  10. All other recommendations that for instance #rtcqs or #Millisecond give are for those that really need stable, ultra low latency. So buffer sizes below 64 samples that result in round-trip latencies below 10 milliseconds. This is the area where threaded IRQs or disabling Spectre/Meltdown mitigations might contribute to getting rid of that stray xrun.

    /2

  11. All other recommendations that for instance #rtcqs or #Millisecond give are for those that really need stable, ultra low latency. So buffer sizes below 64 samples that result in round-trip latencies below 10 milliseconds. This is the area where threaded IRQs or disabling Spectre/Meltdown mitigations might contribute to getting rid of that stray xrun.

    /2

  12. @amadeus When it comes to swappiness I leave it at the default on my main system. But then I don't use any swap on there anymore. And kernels, I used to roll my own real-time kernels but for me personally I've found the Liquorix kernel to perform more than good enough for me. I have to admit that I have to really dive into that matter again, the merging of the real-time patch set has introduced some extra kernel options that I haven't played with. And they're also not a part of #rtcqs yet.

  13. I think it's getting time to remove the swappiness recommendation from #rtcqs and the linuxaudio.org System Configuration Wiki page. It improves the performance of your system with regard to Linux audio by approximately 0%. I've also come across some articles that basically say, leave it at its defaults, that's good enough.

    I'd love to hear different thoughts though!

    #LinuxAudio

  14. #LinuxAudio #BitwigStudio folk, I have installed and am attempting get the settings to be sticky for #rtcqs. The CPU Frequency Scaling set to performance and Simultaneous Multithreading set to disabled make the greatest positive difference to my system performance.

    The one downside that I am encountering is to get all my settings to load at boot. There are some handy steps suggested by wiki.linuxaudio.org/wiki/syste (linked to from the rtcqs_gui app) and I have set up my own rt-audio-setup.service script. The recommended steps appear to create a recursive loop and I have commented this out.

    I can see that the call to set the CPU Frequency Scaling is failing on boot (very brief 'FAILED' alert in red). The SMT is working though. How do I fix this?

    Screenshots show the service script to run at boot and the script being called, and another showing the really sweet DSP Performance Graph when all this is working.

    [I just found an error on writing this and will reboot and see if I fixed it]

  15. @ambientspace rtirq does not help to decrease CPU usage unfortunately. I'd definitely try #rtcqs and if you have any questions about its output, I'm the author of that tool and happy to help out!

  16. @ambientspace You don't need a low-latency or realtime kernel unless you're doing audio that demands very low round-trip latencies (below 10ms).

    Rtirq can help but I don't think it can deal with modern systems using Message Signaled Interrupts (MSI or MSI-X). For systems with MSI-X interrupts #rtcirqus might be an alternative.

    As for Milliseconds, it relies on an underlying tool, #rtcqs that in its turn links to wiki.linuxaudio.org. It's command line only but might come in handy sometimes.

  17. @ambientspace You don't need a low-latency or realtime kernel unless you're doing audio that demands very low round-trip latencies (below 10ms).

    Rtirq can help but I don't think it can deal with modern systems using Message Signaled Interrupts (MSI or MSI-X). For systems with MSI-X interrupts #rtcirqus might be an alternative.

    As for Milliseconds, it relies on an underlying tool, #rtcqs that in its turn links to wiki.linuxaudio.org. It's command line only but might come in handy sometimes.

  18. @ambientspace You don't need a low-latency or realtime kernel unless you're doing audio that demands very low round-trip latencies (below 10ms).

    Rtirq can help but I don't think it can deal with modern systems using Message Signaled Interrupts (MSI or MSI-X). For systems with MSI-X interrupts #rtcirqus might be an alternative.

    As for Milliseconds, it relies on an underlying tool, #rtcqs that in its turn links to wiki.linuxaudio.org. It's command line only but might come in handy sometimes.

  19. Cool! Someone used my #rtcqs script as a basis for their app. They had already contacted me about this but since I'm that kind of person that is always a bit reluctant with these kind of matters (sorry about that) I didn't respond yet.

    Really awesome, now I do get curious so @prokoudine thanks for mentioning!

    mastodon.social/@prokoudine/11

  20. We (I think we can say we) received some great suggestions on the #rtcqs issue tracker. And even a PR that got merged by @raboof, thanks! The holiday season is coming up so hopefully I find some time to give it some TLC.

    #LinuxAudio #OpenSource