-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange CPU usage issue on Raspberry Pi #29
Comments
Dire Wolf uses many threads for the various concurrent activities. Longer term, there should be an option to allow for this case. For now, the work-around is to specify stdin or a UDP port as the audio source and don’t feed anything into it. |
Hi, @AngusF22 , do you know whether this is still an issue with the current version? Chris |
I'm sorry, I can't say. I've switched to a different APRS setup. |
If you don't want audio input, set audio input stream to either udp or stdin. |
I'm having an odd issue with Direwolf on the latest version of Raspbian. It's freshly compiled, and seems to work quite well, although the CPU usage seems very high under certain conditions. My preferred usage for the time being is as a home station connected via APRS servers only, for the time being. My Raspberry Pi is headless, and runs continuously for a number of home server tasks.
When I have ADEVICE set to null null, it will saturate one core of my Raspberry Pi's processor. If I comment out the ADEVICE null null line, it will refuse to start without an audio device attached, stating that it's pointless to continue. I respectfully disagree.
While ADEVICE is set to null null, htop shows two threads for Direwolf, each consuming 100% CPU.
If I install Pulseaudio, and comment out ADEVICE null null, leaving no audio device specified, Direwolf will happily begin running with much lower CPU usage. Pulseaudio will start two threads, each of which consumes a bit of CPU, and Direwolf will start three, each of which consumes about 15-20%.
Is Direwolf using an audio thread for its CPU throttling? That doesn't seem ideal.
Thanks!
Angus
The text was updated successfully, but these errors were encountered: