On 25.06.20 21:32, jtharkey wrote:
Hello,
We have an embedded device that we're switching from straight ALSA
over to PulseAudio. There are no users on the system other than root
so we have pulse running in system mode. It works, but has unusually
high CPU usage. The device has a 2.6GHz Dual Core CPU. At idle, pulse
is using about 15-20% of the CPU. Every now and then it spikes up to
80-90% CPU usage. However, on our dev machines running on the same
hardware and under XFCE with pulse in user mode, this doesn't happen.
The idle usage is less than 1% and it can get up to 3-5% max.
This makes me think pulse is setup differently on our dev machines,
but looking at the configuration files that doesn't seem to be the
case. Could this have something to do with running in system mode? If
so, how do I fix it?
Thanks,
JT
Which PA version are you using? What does "idle" mean exactly? All sinks
and sources suspended?
Can you check with "pactl list sinks" and "pactl list sources" if really
everything is suspended?
If "idle" only means no sound (but sinks/sources still in RUNNING or
IDLE state), can you compare
the latency in system and user mode?
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss