rtcqs
Introduction
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. It is heavily inspired by raboof’s excellent realtimeconfigquickscan script.
Features
Basically the same as realtimeconfigquickscan:
Root check
Audio group check
CPU frequency check
High resolution timers check
Preempt RT check
rtprio check
Swappiness check
Filesystem check
Additional features:
Simultaneous Multithreading (SMT, also known as hyper-threading) check
Spectre/Meltdown mitigations check
Basic IRQ check of sound cards and USB ports
Power management check
tkinter GUI
Installation
GUI
If you want to use the GUI you will have to install the python3-tk package or similar for your distro.
Virtual Environment
Make sure the pip and the Python virtual environment module packages are installed, on Ubuntu these would be python3-pip and python3-venv. Then create a virtual environment in a directory of choice and install rtcqs in there.
mkdir -p ~/path/to/rtcqs cd ~/path/to/rtcqs python3 -m venv venv && . venv/bin/activate && pip install --upgrade rtcqs
You can now run rtcqs by simply running rtcqs in a terminal. The GUI can be run with rtcqs_gui. Next time you’d like to run the script or the GUI load the virtual environment again and run either rtcqs or rtcqs_gui.
. venv/bin/activate rtcqs rtcqs_gui
Editable Installation
It is also possible to use a so-called “editable installation”. This allows you to run the commands directly, without having to load the virtual environment.
mkdir -p ~/path/to/rtcqs cd ~/path/to/rtcqs git clone https://codeberg.org/rtcqs/rtcqs.git . python3 -m venv venv venv/bin/pip install -e .
You can now run rtcqs by running ~/path/to/rtcqs/venv/bin/rtcqs in a terminal. The GUI can be run with ~/path/to/rtcqs/venv/bin/rtcqs_gui.
Overview
When running the GUI it will immediately show the results of the checks. All checks have their own tab. Each tab title consists of a symbol that shows the check result and the name of the check. A ✔ means the check was successful while a ✘ means rtcqs encountered an issue. This way you can quickly spot which checks have issues.
Clicking ‘Cancel’ will close rtcqs. Clicking ‘About’ will bring up a popup window which displays the version and a short description.
rtcqs main window (tkinter version)
rtcqs about window (tkinter version)
Future plans
Disk scheduler check (first asses what impact different schedulers have on performance)
Improve swappiness check (get amount of RAM and work with that)
Ditch PySimpleGUI which is not open source anymore and move to pygubu or even popsicle (how audio would that be)
Contact
To contact me send me a mail or if it’s a technical issue or question, use this project’s issue tracker.
Thanks
Many thanks of course to the original author of realtimeconfigquickscan, Arnout Engelen a.k.a. raboof.
Metadata
Release files for rtcqs 0.6.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtcqs-0.6.7.tar.gz | 25.2 kB | Without provenance | Details for rtcqs-0.6.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtcqs-0.6.7-py3-none-any.whl | Python 3 | none | any | Details for rtcqs-0.6.7-py3-none-any.whl |
Total release size: 49.6 kB
Release files / rtcqs-0.6.7.tar.gz
| Download URL | rtcqs-0.6.7.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8561b27a45491563fb47e0fcd26fbba2a5d3241fde125269202cad4c9a680bce
|
|
BLAKE2b-256 checksum How to use checksums |
77c99708271169d5b5a4f7ae1c8ed5ec37247208837df2873d17845c35588aba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / rtcqs-0.6.7-py3-none-any.whl
| Download URL | rtcqs-0.6.7-py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ed97e28c23f9499374a1706d306c91d8173faf1f0e3954c2d7e2e9659dcf2dc
|
|
BLAKE2b-256 checksum How to use checksums |
a15f4b130c5a9fb4fed604384826c15cdc84b10979980fb9e46272c3fa75d425
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Security for rtcqs 0.6.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.