<div>In the source I found this in daemon/main.c:<br></div><div><br></div><div>if (conf->system_instance && !conf->disable_shm) {<br></div><div>        pa_log_notice(_("Running in system mode, forcibly disabling SHM mode."));<br></div><div>        conf->disable_shm = true;<br></div><div>    }<br></div><div><br></div><div>I commented that out and built it, things seemed to work and work faster. Will commenting that out have some side effect I'm not aware of?<br></div><div><br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Monday, June 29, 2020 9:59 AM, jtharkey <<a href="mailto:jtharkey@protonmail.com">jtharkey@protonmail.com</a>> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div>We're using PA 11.1<br></div><div><br></div><div>All sinks and sources are SUSPENDED except for the main output sink.<br></div><div><br></div><div>In user mode there is no noticeable latency. In system mode there's about 0.5 sec of latency.<br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Saturday, June 27, 2020 4:01 AM, Georg Chini <<a href="mailto:georg@chini.tk">georg@chini.tk</a>> wrote:<br></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div class="moz-cite-prefix">On 25.06.20 21:32, jtharkey wrote:<br></div><blockquote type="cite"><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><div>Which PA version are you using? What does "idle" mean exactly? All
    sinks and sources suspended?<br></div><div>Can you check with "pactl list sinks" and "pactl list sources" if
    really everything is suspended?<br></div><div>If "idle" only means no sound (but sinks/sources still in RUNNING or
    IDLE state), can you compare<br></div><div>the latency in system and user mode? <br></div></blockquote><div><br></div></blockquote><div><br></div>