AMD CPUs since the Ryzen 3000 series (Zen 2) have had the notion of “preferred cores” that via ACPI CPPC are communicated to the OS and could be shown under Windows with the likes of AMD Ryzen Master. Now we have AMD Linux engineers working on properly leveraging the “preferred cores” handling for the modern AMD P-State CPU frequency scaling driver that’s seen much work over the past two years.

  • @JoelJ@lemmy.world
    link
    fedilink
    English
    810 months ago

    Can anybody ELI5 this for me? I have an AMD Ryzen 5 3600X, so does that mean it’ll go faster now?

    • LoafyLemon
      link
      fedilink
      8
      edit-2
      10 months ago

      Each CPU core is slightly different due to the manufacturing process, their placement on the die, and other factors.

      Some cores boost higher than others, and can have better single-threaded performance, while others are a little slower.

      Currently, games and programmes are assigned a random core for its main thread, which isn’t ideal.

      P-states will address that by sorting cores by their relative performance, and assigning the more performant cores first.

      So while this doesn’t make your CPU faster, applications should see a small boost in performance.

      • @floofloof@lemmy.ca
        link
        fedilink
        English
        310 months ago

        Are preferred cores identified at manufacturing, or during the everyday running of the machine?

        • LoafyLemon
          link
          fedilink
          4
          edit-2
          10 months ago

          Modern CPUs have sensors and monitoring circuits that constantly measure factors like temperature, power consumption, and workload intensity for each core. These measurements provide real-time data about the operating conditions and performance capabilities of individual cores.

          The shift in the ‘preferred’ core as the silicon ages is a relatively common occurrence. P-states enable the processor to maintain peak performance levels regardless of its ageing process.

          Be aware that the ageing process is quite gradual, and any discernible variances are unlikely to manifest over the regular lifespan of a standard processor.

    • @vividspecterOP
      link
      English
      710 months ago

      I posted a longer comment below, but yes. It’s also not in the kernel yet and might not be in some time (likely 6.7), which is probably months away from reaching normal distributions.

    • @vividspecterOP
      link
      English
      16
      edit-2
      10 months ago

      Lightly threaded workloads will reach higher clocks on systems with recent AMD CPUs, allowing for greater performance. This is because some cores can more easily reach these clocks than others. Most desktop workloads can benefit from this, because few are heavily multithreaded.

      There’s a bit more that goes into it (temperature and power usage are taken into account) but that’s the short answer.

  • @korewa@reddthat.com
    link
    fedilink
    English
    010 months ago

    I just instead endeavor os to play games with a 2400g

    Will it help?

    I also have a 5700x/3080 setup wanting to install Linux for localllama and SDXL will this help?

    • @torvusbogpod@lemmy.world
      link
      fedilink
      English
      110 months ago

      On the 2400G? Probably not. You’re GPU bottlenecked anyway. For the 5700X though, yeah, it could help a bit with CPU performance