<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 25.06.20 21:32, jtharkey wrote:<br>
</div>
<blockquote type="cite"
cite="mid:xeOc4odYdgGvHX6xvXp9N0nXoawoDB7FjSGrWoKR7dBL4T6ZNeyVuO6hgSZ1VTotw5lg7aQYQt7V4Ntq0p_BTQI4VAFR-3nwfpYOHoK8sfQ=@protonmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Hello,<br>
</div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div>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?<br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<div>JT<br>
</div>
<div class="protonmail_signature_block
protonmail_signature_block-empty">
<div class="protonmail_signature_block-user
protonmail_signature_block-empty"><br>
</div>
</div>
</blockquote>
Which PA version are you using? What does "idle" mean exactly? All
sinks and sources suspended?<br>
Can you check with "pactl list sinks" and "pactl list sources" if
really everything is suspended?<br>
If "idle" only means no sound (but sinks/sources still in RUNNING or
IDLE state), can you compare<br>
the latency in system and user mode?<br>
</body>
</html>