4 ms·
Similar thing for me. Pulseaudio sometimes takes a bunch of CPU with audio playing. Even stranger, sometimes it keeps taking 5-10% CPU with no audio playing. (
by lostdog 5y ago
Similar thing for me. Pulseaudio sometimes takes a bunch of CPU with audio playing.
Even stranger, sometimes it keeps taking 5-10% CPU with no audio playing. (I think it is related to running out of memory for a moment and using swap, but no matter how much memory I free up, the computer never returns to normal and must be restarted).
I'm getting to the point of installing debug symbols and pointing perf at it, but dropping pulseaudio would be an even better solution.
- zokula 5y ago> Similar thing for me. Pulseaudio sometimes takes a bunch of CPU with audio playing. Run the same audio without pulse and the CPU usage will be higher.
- ncmncm 5y agoEven with no audio at all?
- puppet-master 5y agoParent comment likely refers to kernel CPU time accounted for in the generating process. If an application passes an audio sample to PulseAudio, it is charged for (at most) a memory copy and one or two syscalls, while PulseAudio is charged for the time spent in the kernel driver. Pulseaudio burning CPU during silence is usually due to an application holding open a channel that is either really playing silence or is keeping the Pulseaudio machinery awake. You could blame the apps, but IMHO that is definitely a Pulseaudio problem