• Churbleyimyam@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    4 days ago

    I’ve seen this being recommended for audio production but was put off disabling it because I didn’t understand what it was. I’d like the performance gain though.

    Has anyone else here disabled it?

    • SteveTech@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 days ago

      The common sketchy performance advice is to disable mitigations in the kernel, this post is about disabling mitigations in Intel’s userspace graphics stack because it’s already checked in the kernel.

      Assuming you meant disabling kernel mitigations, since AFAIK audio stuff doesn’t usually use OpenCL:

      Has anyone else here disabled it?

      Nah, my understanding is it’s not worth it on newer CPUs, and in some cases, the microcode expects things to be mitigated for best performance. Older CPUs (pre-2019ish) it does make a difference though.

      But you’re welcome to benchmark it, and see if it makes a worthwhile difference on your CPU. Kernel mitigations are easy enough to turn on and off.