[pulseaudio-discuss] High CPU Usage in System Mode

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Tue Jul 7 18:56:09 UTC 2020


On 01/07/2020 18.32, jtharkey wrote:
> In the source I found this in daemon/main.c:
>
> if (conf->system_instance && !conf->disable_shm) {
>         pa_log_notice(_("Running in system mode, forcibly disabling
> SHM mode."));
>         conf->disable_shm = true;
>     }
>
> 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?
>

Yes, SHM mode is not safe when multiple users are using it.  SHM will
give you more performance but hostile users may compromise your
PulseAudio daemon.


-- 
    Rudd-O
    http://rudd-o.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20200707/d0d44c53/attachment.htm>


More information about the pulseaudio-discuss mailing list