Re: High CPU Usage in System Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux