Announcement

Collapse
No announcement yet.

AMD Posts 11th Iteration Of P-State Preferred Core Patches For Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMD Posts 11th Iteration Of P-State Preferred Core Patches For Linux

    Phoronix: AMD Posts 11th Iteration Of P-State Preferred Core Patches For Linux

    For the past number of months AMD has been actively working on enabling AMD P-State Preferred Core functionality for Linux so that their modern processors can communicate "preferred" cores to the Linux kernel scheduler for making better decisions around task placement and ultimately ensuring best performance of Ryzen and EPYC processors running on Linux. This week they are up to their 11th take on these kernel patches...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Enable with kernel argument:
    Code:
    amd_prefcore=enable
    Reboot and validate:
    Code:
    cat /sys/devices/system/cpu/amd_pstate/prefcore_state​

    Comment


    • #3
      Originally posted by Kjell View Post
      Enable with kernel argument:
      Code:
      amd_prefcore=enable
      Reboot and validate:
      Code:
      cat /sys/devices/system/cpu/amd_pstate/prefcore_state​
      It's enabled by default on CachyOS and can be checked at

      cat /sys/devices/system/cpu/amd_pstate/prefcore
      enabled


      That's using amd_pstate=guided in the command line with schedutil as the governor.

      Comment


      • #4
        Originally posted by Kjell View Post
        Enable with kernel argument:
        Code:
        amd_prefcore=enable
        Reboot and validate:
        Code:
        cat /sys/devices/system/cpu/amd_pstate/prefcore_state​
        I'm currently using v10 and it's enabled by default:
        Code:
        [niko@arch-phoenix ~]$ cat /sys/devices/system/cpu/amd_pstate/prefcore
        enabled​
        ## VGA ##
        AMD: X1950XTX, HD3870, HD5870
        Intel: GMA45, HD3000 (Core i5 2500K)

        Comment


        • #5
          Originally posted by darkbasic View Post

          I'm currently using v10 and it's enabled by default:
          Code:
          [niko@arch-phoenix ~]$ cat /sys/devices/system/cpu/amd_pstate/prefcore
          enabled​
          How can I tell what version I am running

          Comment


          • #6
            Originally posted by Kjell View Post
            Enable with kernel argument:
            Code:
            amd_prefcore=enable
            Reboot and validate:
            Code:
            cat /sys/devices/system/cpu/amd_pstate/prefcore_state​
            The article makes it seem like it hasn't even been added to kernel 6.8 how can we enable something that hasn't been added yet?

            Comment


            • #7
              Originally posted by cytomax55 View Post

              The article makes it seem like it hasn't even been added to kernel 6.8 how can we enable something that hasn't been added yet?
              You can apply the patches yourself and build a new kernel.

              Comment


              • #8
                Originally posted by agd5f View Post

                You can apply the patches yourself and build a new kernel.
                Ty, That's a little above my pay grade I have no idea I'll just wait till the kernel comes out Thank you for letting me know

                Comment


                • #9
                  Originally posted by cytomax55 View Post

                  Ty, That's a little above my pay grade I have no idea I'll just wait till the kernel comes out Thank you for letting me know
                  There may be distros that provide test kernels with the patches applied.

                  Comment


                  • #10
                    Originally posted by skeevy420 View Post

                    It's enabled by default on CachyOS and can be checked at

                    cat /sys/devices/system/cpu/amd_pstate/prefcore
                    enabled


                    That's using amd_pstate=guided in the command line with schedutil as the governor.
                    Is guided 'better' than active?

                    Comment

                    Working...
                    X