Components

24 Twig Components
50 Render Count
302 ms Render Time
12.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 16.94ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
4 1.11ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.79ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
3 4.64ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
2 0.34ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
2 6.87ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
2 3.05ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.42ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 103.48ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 53.83ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.23ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
1 56.75ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
1 0.44ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
1 11.67ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.51ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 19.22ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.41ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 2.94ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 2.91ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 12.77ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 12.64ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 4.78ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 12.90ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 1.67ms

Render calls

entry App\Twig\Components\EntryComponent 12.0 MiB 103.48 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2959
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2960 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 1.15 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#1516
      date: 2023-11-08 02:28:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +apId: "Hekel@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Hekel"
    +apPublicUrl: "https://lemmy.world/u/Hekel"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Hekel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700748487 {#1537
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#1515
      date: 2023-11-08 02:28:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3677
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#1516
      date: 2023-11-08 02:28:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +apId: "Hekel@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Hekel"
    +apPublicUrl: "https://lemmy.world/u/Hekel"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Hekel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700748487 {#1537
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#1515
      date: 2023-11-08 02:28:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.52 ms
Input props
[
  "date" => DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3747
  +date: DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3811
  +createdAt: DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 12.0 MiB 3.57 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3876
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 1.62 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3942
  +formDest: "entry"
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 12.0 MiB 53.83 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#4256
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#1516
        date: 2023-11-08 02:28:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +apId: "Hekel@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Hekel"
      +apPublicUrl: "https://lemmy.world/u/Hekel"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Hekel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700748487 {#1537
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#1515
        date: 2023-11-08 02:28:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
    +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
    +url: null
    +body: """
      Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
      \n
      I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
      \n
      1. Requirements\n
      ---------------\n
      \n
      Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
      \n
      2. amd-pstate vs acpi-cpufreq\n
      -----------------------------\n
      \n
      There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
      \n
      - `amd-pstate`\n
      - `acpi-cpufreq`\n
      \n
      `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
      \n
      On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
      \n
      And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
      \n
      There are 3 options available, listed below, in order of release:\n
      \n
      - `amd_pstate=passive` (Kernel 6.1+)\n
      - `amd_pstate=active` (Kernel 6.3+)\n
      - `amd_pstate=guided` (kernel 6.4+)\n
      \n
      ### Passive Mode\n
      \n
      `amd_pstate=passive`\n
      \n
      When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
      \n
      ### Active Mode\n
      \n
      `amd_pstate=active`\n
      \n
      Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
      \n
      - `default `\n
      - `performance`\n
      - `balance_performance`\n
      - `balance_power`\n
      - `power`\n
      \n
      ### Guided Mode\n
      \n
      `amd_pstate=guided`\n
      \n
      Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
      \n
      3a. Configure amd_pstate to either Passive or Guided\n
      -----------------------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate\n
      </span>\n
      ```\n
      \n
      3b. Configure amd_pstate_epp to Active\n
      ----------------------------------------\n
      \n
      To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
      \n
      > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
      \n
      1. Add the desired kernel parameter by running the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Add the desired Kernel Parameter\n
      </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
      </span>\n
      ```\n
      \n
      2. To confirm that the kernel parameter has been successfully added, use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"># Verify that the kernel parameter has been added\n
      </span><span style="color:#323232;">sudo kernelstub -p \n
      </span>\n
      ```\n
      \n
      ### Verify amd_pstate\n
      \n
      To verify that this is functioning correctly, reboot your machine, and run\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
      </span>\n
      ```\n
      \n
      If `amd_pstate` was set to `active`, this should now show:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">amd-pstate-epp\n
      </span>\n
      ```\n
      \n
      ### Configure amd_pstate_epp Energy Performance Preference\n
      \n
      The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
      \n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
      - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
      \n
      To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">\n
      </span>\n
      ```\n
      \n
      To view the available EPP hints (which should be the same for all cores), use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
      </span><span style="color:#323232;">default performance balance_performance balance_power power \n
      </span>\n
      ```\n
      \n
      If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
      </span><span style="color:#323232;">power\n
      </span>\n
      ```\n
      \n
      > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
      \n
      4. Scaling Driver vs CPU Governor\n
      ---------------------------------\n
      \n
      The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
      \n
      To check what’s the current `cpu governor`, use the command below:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span>\n
      ```\n
      \n
      In my case, that’s what I’m seeing:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span><span style="color:#323232;">powersave\n
      </span>\n
      ```\n
      \n
      If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
      \n
      ### Resources:\n
      \n
      - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
      - ChatGPT who helped me phrase some sentences a bit better\n
      - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
      - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
      - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
      - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729022496 {#2410
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 10880
    -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
    -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1691852891
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/3081149"
    +editedAt: null
    +createdAt: DateTimeImmutable @1691846391 {#1850
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 12.0 MiB 0.23 ms
Input props
[
  "id" => "entry_comment_67d0e313af0554.00910419_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#4381
  +id: "entry_comment_67d0e313af0554.00910419_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 56.75 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4613
  +comment: App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.23 ms
Input props
[
  "user" => App\Entity\User {#4534
    +avatar: null
    +cover: null
    +email: "shadowintheday2@lemmy.world"
    +username: "@shadowintheday2@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729022496 {#4593
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
    +entries: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +posts: Doctrine\ORM\PersistentCollection {#4518 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
    +follows: Doctrine\ORM\PersistentCollection {#4504 …}
    +followers: Doctrine\ORM\PersistentCollection {#4502 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
    +reports: Doctrine\ORM\PersistentCollection {#4619 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
    +violations: Doctrine\ORM\PersistentCollection {#4652 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
    +awards: Doctrine\ORM\PersistentCollection {#4611 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
    +categories: Doctrine\ORM\PersistentCollection {#4641 …}
    -id: 86560
    -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
    +apId: "shadowintheday2@lemmy.world"
    +apProfileId: "https://lemmy.world/u/shadowintheday2"
    +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "shadowintheday2"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728770361 {#4589
      date: 2024-10-12 23:59:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1706103443 {#4587
      date: 2024-01-24 14:37:23.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4697
  +user: App\Entity\User {#4534
    +avatar: null
    +cover: null
    +email: "shadowintheday2@lemmy.world"
    +username: "@shadowintheday2@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729022496 {#4593
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
    +entries: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +posts: Doctrine\ORM\PersistentCollection {#4518 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
    +follows: Doctrine\ORM\PersistentCollection {#4504 …}
    +followers: Doctrine\ORM\PersistentCollection {#4502 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
    +reports: Doctrine\ORM\PersistentCollection {#4619 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
    +violations: Doctrine\ORM\PersistentCollection {#4652 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
    +awards: Doctrine\ORM\PersistentCollection {#4611 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
    +categories: Doctrine\ORM\PersistentCollection {#4641 …}
    -id: 86560
    -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
    +apId: "shadowintheday2@lemmy.world"
    +apProfileId: "https://lemmy.world/u/shadowintheday2"
    +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "shadowintheday2"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728770361 {#4589
      date: 2024-10-12 23:59:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1706103443 {#4587
      date: 2024-01-24 14:37:23.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.30 ms
Input props
[
  "date" => DateTimeImmutable @1706389017 {#4526
    date: 2024-01-27 21:56:57.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4752
  +date: DateTimeImmutable @1706389017 {#4526
    date: 2024-01-27 21:56:57.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.20 ms
Input props
[
  "createdAt" => DateTimeImmutable @1706389017 {#4526
    date: 2024-01-27 21:56:57.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4806
  +createdAt: DateTimeImmutable @1706389017 {#4526
    date: 2024-01-27 21:56:57.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.44 ms
Input props
[
  "user" => App\Entity\User {#4534
    +avatar: null
    +cover: null
    +email: "shadowintheday2@lemmy.world"
    +username: "@shadowintheday2@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729022496 {#4593
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
    +entries: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +posts: Doctrine\ORM\PersistentCollection {#4518 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
    +follows: Doctrine\ORM\PersistentCollection {#4504 …}
    +followers: Doctrine\ORM\PersistentCollection {#4502 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
    +reports: Doctrine\ORM\PersistentCollection {#4619 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
    +violations: Doctrine\ORM\PersistentCollection {#4652 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
    +awards: Doctrine\ORM\PersistentCollection {#4611 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
    +categories: Doctrine\ORM\PersistentCollection {#4641 …}
    -id: 86560
    -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
    +apId: "shadowintheday2@lemmy.world"
    +apProfileId: "https://lemmy.world/u/shadowintheday2"
    +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "shadowintheday2"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728770361 {#4589
      date: 2024-10-12 23:59:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1706103443 {#4587
      date: 2024-01-24 14:37:23.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4862
  +width: 40
  +height: 40
  +user: App\Entity\User {#4534
    +avatar: null
    +cover: null
    +email: "shadowintheday2@lemmy.world"
    +username: "@shadowintheday2@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729022496 {#4593
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
    +entries: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +posts: Doctrine\ORM\PersistentCollection {#4518 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
    +follows: Doctrine\ORM\PersistentCollection {#4504 …}
    +followers: Doctrine\ORM\PersistentCollection {#4502 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
    +reports: Doctrine\ORM\PersistentCollection {#4619 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
    +violations: Doctrine\ORM\PersistentCollection {#4652 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
    +awards: Doctrine\ORM\PersistentCollection {#4611 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
    +categories: Doctrine\ORM\PersistentCollection {#4641 …}
    -id: 86560
    -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
    +apId: "shadowintheday2@lemmy.world"
    +apProfileId: "https://lemmy.world/u/shadowintheday2"
    +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "shadowintheday2"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728770361 {#4589
      date: 2024-10-12 23:59:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1706103443 {#4587
      date: 2024-01-24 14:37:23.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 3.31 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4945
  +subject: App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 1.44 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5002
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 11.67 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5249
  +comment: App\Entity\EntryComment {#4585
    +user: App\Entity\User {#4534
      +avatar: null
      +cover: null
      +email: "shadowintheday2@lemmy.world"
      +username: "@shadowintheday2@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729022496 {#4593
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4535 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4537 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4530 …}
      +entries: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +posts: Doctrine\ORM\PersistentCollection {#4518 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4516 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4513 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4511 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4509 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4506 …}
      +follows: Doctrine\ORM\PersistentCollection {#4504 …}
      +followers: Doctrine\ORM\PersistentCollection {#4502 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4651 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4646 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4640 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4630 …}
      +reports: Doctrine\ORM\PersistentCollection {#4619 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4592 …}
      +violations: Doctrine\ORM\PersistentCollection {#4652 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4648 …}
      +awards: Doctrine\ORM\PersistentCollection {#4611 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4638 …}
      +categories: Doctrine\ORM\PersistentCollection {#4641 …}
      -id: 86560
      -password: "$2y$13$x45N.jdFRdcYezsg5WWRXeqayYfytVEzyykN/Rz9t4p4lbGfFVNeG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4639 …}
      +apId: "shadowintheday2@lemmy.world"
      +apProfileId: "https://lemmy.world/u/shadowintheday2"
      +apPublicUrl: "https://lemmy.world/u/shadowintheday2"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "shadowintheday2"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728770361 {#4589
        date: 2024-10-12 23:59:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1706103443 {#4587
        date: 2024-01-24 14:37:23.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "Hekel@lemmy.world"
        +username: "@Hekel@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1699406930 {#1516
          date: 2023-11-08 02:28:50.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 72923
        -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +apId: "Hekel@lemmy.world"
        +apProfileId: "https://lemmy.world/u/Hekel"
        +apPublicUrl: "https://lemmy.world/u/Hekel"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "Hekel"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1700748487 {#1537
          date: 2023-11-23 15:08:07.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699406929 {#1515
          date: 2023-11-08 02:28:49.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "AMD-P-State-and-AMD-P-State-EPP-Scaling-Driver-Configuration-Guide"
      +title: "AMD P-State and AMD P-State EPP Scaling Driver Configuration Guide"
      +url: null
      +body: """
        Hi everyone, I’m quite new to Lemmy (this is actually my fist post!) During the past weeks I’ve sunk into the magical world of AMD P-States, and, I ended up putting together a quick post that I thought might be useful for someone else.\n
        \n
        I’m a Linux amateur, so this could be very much wrong, but I’m very much open to any corrections or improvements :)\n
        \n
        1. Requirements\n
        ---------------\n
        \n
        Currently, some of the Zen2 and Zen3 processors support `amd-pstate` and the new `amd_pstate_epp` scaling driver. You also have to have CPPC support enabled in your UEFI. In the future, it will be supported on more and more AMD processors.\n
        \n
        2. amd-pstate vs acpi-cpufreq\n
        -----------------------------\n
        \n
        There are two methods for adjusting CPU performance on AMD CPU/APUs:\n
        \n
        - `amd-pstate`\n
        - `acpi-cpufreq`\n
        \n
        `acpi-cpufreq` is currently default for most distros, regardless of the CPU in use. on most AMD CPUs this is a limiting factor, as it offers limited performance options with only a few fixed levels for CPU speed.\n
        \n
        On newer AMD CPUs and APUs (aka Zen2 and above), there is a more advanced method called *Collaborative Processor Performance Control* (CPPC mentioned in the requirements), which allows for fine-tuned and continuous adjustments of the CPU frequency, with the potential to provide better performance and energy efficiency compared to the older fixed levels.\n
        \n
        And that’s where `amd-pstate` comes in, as it is a new kernel module that supports the newer and more efficient AMD P-States mechanism.\n
        \n
        There are 3 options available, listed below, in order of release:\n
        \n
        - `amd_pstate=passive` (Kernel 6.1+)\n
        - `amd_pstate=active` (Kernel 6.3+)\n
        - `amd_pstate=guided` (kernel 6.4+)\n
        \n
        ### Passive Mode\n
        \n
        `amd_pstate=passive`\n
        \n
        When you set `amd_pstate=passive`, the processor aims for a certain performance level relative to its maximum capacity. Below a specific point, the performance is average, while above it, the performance remains at its best.\n
        \n
        ### Active Mode\n
        \n
        `amd_pstate=active`\n
        \n
        Setting `amd_pstate=active` gives low-level control to the processor’s firmware. It can prioritize either performance or energy efficiency based on software **hints** AND the `amd_pstate_epp` driver. The `amd_pstate_epp` (Energy Performance Preference) driver provides the firmware with a **hint**. On most AMD CPUs, these **hints** are:\n
        \n
        - `default `\n
        - `performance`\n
        - `balance_performance`\n
        - `balance_power`\n
        - `power`\n
        \n
        ### Guided Mode\n
        \n
        `amd_pstate=guided`\n
        \n
        Choosing `amd_pstate=guided` lets the platform automatically select a suitable performance level within a given range based on the workload.\n
        \n
        3a. Configure amd_pstate to either Passive or Guided\n
        -----------------------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.4 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=guided" # Change this to passive if preferred\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to either `passive` or `guided`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate\n
        </span>\n
        ```\n
        \n
        3b. Configure amd_pstate_epp to Active\n
        ----------------------------------------\n
        \n
        To enable the `amd_pstate_epp` scaling driver, which also includes instructions for the original `amd_pstate` scaling driver, you will need to add a kernel parameter. If you are using PopOS (like me) or any other distribution utilising kernelstub, this process can be easily accomplished with the following steps:\n
        \n
        > **IMPORTANT: The option ‘amd_pstate=guided’ is only available on Kernel 6.3 or later versions.**\n
        \n
        1. Add the desired kernel parameter by running the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Add the desired Kernel Parameter\n
        </span><span style="color:#323232;">sudo kernelstub -a "amd_pstate=active"\n
        </span>\n
        ```\n
        \n
        2. To confirm that the kernel parameter has been successfully added, use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;"># Verify that the kernel parameter has been added\n
        </span><span style="color:#323232;">sudo kernelstub -p \n
        </span>\n
        ```\n
        \n
        ### Verify amd_pstate\n
        \n
        To verify that this is functioning correctly, reboot your machine, and run\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver\n
        </span>\n
        ```\n
        \n
        If `amd_pstate` was set to `active`, this should now show:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">amd-pstate-epp\n
        </span>\n
        ```\n
        \n
        ### Configure amd_pstate_epp Energy Performance Preference\n
        \n
        The amd_pstate_epp scaling driver introduces a new parameter known as “Energy Performance Preference” (EPP) hint. This setting can be adjusted through sysfs, with two main files controlling it:\n
        \n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference`: This file displays the current EPP hint for the respective CPU core.\n
        - `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_available_preferences`: This file provides the available EPP hints for the respective CPU core.\n
        \n
        To see your current EPP hints (note `*` = all CPU cores), use the following command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">\n
        </span>\n
        ```\n
        \n
        To view the available EPP hints (which should be the same for all cores), use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;"># What you see below, is my results on my Ryzen 7 7735HS\n
        </span><span style="color:#323232;">default performance balance_performance balance_power power \n
        </span>\n
        ```\n
        \n
        If you’d like to set the same EPP hint across all cores, for instance, setting EPP to “power” (like in my case), you can use this command:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference\n
        </span><span style="color:#323232;">power\n
        </span>\n
        ```\n
        \n
        > **NOTE: This is not permament, and will be reverted upon reboot. To make this permanent, you can use multiple tools, or, create a cron job**\n
        \n
        4. Scaling Driver vs CPU Governor\n
        ---------------------------------\n
        \n
        The Scaling Driver is *different* than the CPU governor (e.g. `powersave`, `performance`, `ondemand`, `schedulutil`, etc.), and the two can be mixed and matched to create your perfect combo.\n
        \n
        To check what’s the current `cpu governor`, use the command below:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span>\n
        ```\n
        \n
        In my case, that’s what I’m seeing:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">user@machine ~> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span><span style="color:#323232;">powersave\n
        </span>\n
        ```\n
        \n
        If you’ve configured `amd_pstate=active`, you can mix and match governors with EPP hints. For me the default after I enabled `amd_pstate_epp` was governor = `powersave` and EPP hint = `performance`. Phoronix has an excellent breakdown of all the combinations of governors + EPP hints (referenced in the resources section at the end of this post).\n
        \n
        ### Resources:\n
        \n
        - an amazing Redditor (whose post I cannot find anymore) that served as a basis for this very post (if anyone finds it, please do let me know, and I’ll reference them right away)\n
        - ChatGPT who helped me phrase some sentences a bit better\n
        - Benchmarks for server using AMD P-State EPP: [www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)\n
        - Benchmarks for Ryzen mobile system using AMD P-State EPP: [www.phoronix.com/…/amd-pstate-epp-ryzen-mobile](https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)\n
        - Arch Wiki page on CPU Scaling: [https://wiki.archlinux.org/title/CPU_frequency_scaling](https://wiki.archlinux.org/title/CPU_frequency_scaling)\n
        - Kernel.org documentation on new AMD P-State driver: [www.kernel.org/doc/html/latest/…/amd-pstate.html](https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 1
      +favouriteCount: 1
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1729022496 {#2410
        date: 2024-10-15 22:01:36.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 10880
      -titleTs: "'amd':1,6 'configur':13 'driver':12 'epp':10 'guid':14 'p':3,8 'p-state':2,7 'scale':11 'state':4,9"
      -bodyTs: "'/amd-pstate-epp-ryzen-mobile':1122 '/amd-pstate.html':1147 '/cpufreq/energy_performance_available_preferences':789 '/cpufreq/energy_performance_preference':775,818,890 '/cpufreq/scaling_governor':965,979 '/doc/html/latest/':1146 '/doc/html/latest/admin-guide/pm/amd-pstate.html)':1150 '/review/amd-pstate-epp-ryzen-mobile)':1125 '/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1109 '/sys/devices/system/cpu/cpu':774,788,817,889,964,978 '/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences':837 '/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver':567,721 '/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1134 '1':72,497,657 '2':118,525,679 '3':267 '3a':423 '3b':585 '4':917 '6.1':280 '6.3':285,653 '6.4':290,493 '7':848 '7735hs':849 'accomplish':477,637 'acpi':124,141,144 'acpi-cpufreq':123,140,143 'across':867 'activ':283,332,336,340,591,678,728,1002 'actual':11 'ad':535,547,689,701 'add':455,498,508,615,658,668 'adjust':131,216,765 'advanc':196 'aim':304 'aka':188 'allow':209 'also':95,441,601 'amateur':53 'amaz':1055 'amd':27,84,89,116,120,135,138,160,184,242,260,276,281,286,293,299,334,338,365,370,385,399,403,425,435,447,485,516,552,569,583,587,595,607,645,676,706,723,734,738,745,1000,1019,1102,1116,1139 'amd-pstat':83,119,137,241,582 'amd-pstate-epp':733 'anymor':1062 'anyon':1073 'apus':187 'arch':1126 'automat':409 'avail':269,490,650,794,822 'averag':322 'away':1087 'balanc':392,394,852,854 'base':359,419 'basi':1067 'benchmark':1098,1110 'best':331 'better':226,1097 'bit':1096 'breakdown':1033 'call':198 'cannot':1060 'capac':314 'case':879,968 'cat':566,720,816,836,963,977 'certain':307 'chang':519 'chatgpt':1088 'check':952 'choos':402 'collabor':199 'combin':1037 'combo':950 'come':244 'command':507,539,667,693,815,835,884,961 'compar':231 'configur':424,586,737,999 'confirm':527,681 'continu':215 'control':202,345,772 'core':787,801,811,832,869 'correct':69,560,714 'could':56 'cppc':99,203 'cpu':132,155,180,219,786,800,810,921,930,957,1130 'cpu/apus':136 'cpufreq':125,142,145 'cpus':161,185,386 'creat':913,947 'cron':915 'current':74,147,780,805,956 'd':859 'default':148,390,850,1015 'desir':500,510,660,670 'differ':927 'display':778 'distribut':469,629 'distro':151 'document':1136 'driver':93,368,376,439,450,599,610,749,919,925,1143 'e.g':932 'easili':476,636 'echo':885 'effici':230,259,358 'either':354,428,574 'els':48 'enabl':101,433,593,1018 'end':33,1049 'energi':229,357,373,741,756 'epp':91,367,372,437,589,597,736,740,747,759,781,795,806,823,865,873,1010,1021,1026,1040,1106,1120 'etc':937 'everyon':2 'excel':1032 'factor':166 'file':771,777,791 'find':1061,1074 'fine':212 'fine-tun':211 'firmwar':350,379 'fist':13 'fix':177,235 'follow':480,506,538,640,666,692,814 'frequenc':220 'function':559,713 'futur':107 'give':341 'given':417 'governor':922,931,958,1008,1023,1039 'guid':288,397,401,405,431,487,518,577,647 'help':1090 'hi':1 'hint':362,382,388,760,782,796,807,824,866,1011,1027,1041 'import':482,642 'improv':71 'includ':442,602 'instanc':871 'instruct':443,603 'introduc':750 'job':916 'kernel':251,279,284,289,457,492,501,511,530,543,617,652,661,671,684,697 'kernel.org':1135 'kernelstub':471,514,549,631,674,703 'know':1080 'known':754 'later':495,655 'lemmi':8 'let':406,1078 'level':178,236,309,344,414 'like':464,624,860,876 'limit':165,170 'linux':52 'list':270 'll':1083 'low':343 'low-level':342 'm':4,50,63,973 'machin':563,717,976 'magic':24 'main':770 'make':904 'match':945,1007 'maximum':313 'mechan':264 'mention':204 'method':129,197 'might':43 'mix':943,1005 'mobil':1113 'mode':292,333,398 'modul':252 'much':59,65 'multipl':910 'need':453,613 'new':6,88,250,752,1138 'newer':183,256 'note':808,892 'offer':169 'older':234 'ondemand':935 'open':66 'option':172,268,484,644 'order':273 'origin':446,606 'p':29,262,550,704,1104,1118,1141 'p-state':28,261,1103,1117,1140 'page':1128 'paramet':458,502,512,531,544,618,662,672,685,698,753 'passiv':278,291,295,301,429,522,575 'past':17 'perfect':949 'perform':133,171,201,227,308,320,327,355,374,391,393,413,742,757,851,853,934,1028 'permament':896 'perman':906 'phoronix':1029 'phrase':1092 'platform':408 'pleas':1076 'point':318 'popo':463,623 'post':14,39,1052,1058,1071 'potenti':223 'power':395,396,855,856,875,886,891 'powersav':933,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1024 'prefer':375,524,743,758 'priorit':353 'process':473,633 'processor':81,117,200,303,348 'provid':225,377,792 'pstate':85,90,121,139,243,277,282,287,294,300,335,339,366,371,400,404,426,436,448,486,517,553,570,584,588,596,608,646,677,707,724,735,739,746,1001,1020 'put':35 'quick':38 'quit':5 'rang':418 'reboot':561,715,902 'redditor':1056 'refer':1084 'referenc':1042 'regardless':152 'relat':310 'releas':275 'remain':328 'requir':73,207 'resourc':1045,1053 'respect':785,799 'result':844 'revert':900 'right':1086 'run':504,565,664,719 'ryzen':847,1112 'scale':92,438,449,598,609,748,918,924,1131 'schedulutil':936 'section':1046 'see':803,840,974 'select':410 'sentenc':1094 'serv':1064 'server':1100 'set':298,337,572,726,762,862,872 'show':581,732 'softwar':361 'someon':47 'specif':317 'speed':181 'state':30,263,1105,1119,1142 'step':481,641 'success':534,688 'sudo':513,548,673,702,887 'suitabl':412 'sunk':21 'support':82,100,111,254 'sysf':767 'system':1114 'tee':888 'thought':42 'togeth':36 'tool':911 'tune':213 'two':128,769,940 'uefi':104 'upon':901 'use':45,157,462,536,622,690,812,833,882,909,959,1101,1115 'user':975 'utilis':470,630 've':20,998 'verifi':540,551,555,694,705,709 'version':496,656 'view':820 'vs':122,920 'week':18 'whose':1057 'wiki':1127 'wiki.archlinux.org':1133 'wiki.archlinux.org/title/cpu_frequency_scaling](https://wiki.archlinux.org/title/cpu_frequency_scaling)':1132 'within':415 'workload':422 'world':25 'wrong':60 'www.kernel.org':1145,1149 'www.kernel.org/doc/html/latest/':1144 'www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html)':1148 'www.phoronix.com':1108,1121,1124 'www.phoronix.com/review/amd-pstate-epp-ryzen-mobile)':1123 'www.phoronix.com/review/linux-63-amd-epyc-epp](https://www.phoronix.com/review/linux-63-amd-epyc-epp)':1107 'zen2':78,189 'zen3':80"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1691852891
      +visibility: "visible             "
      +apId: "https://lemmy.world/post/3081149"
      +editedAt: null
      +createdAt: DateTimeImmutable @1691846391 {#1850
        date: 2023-08-12 15:19:51.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1706389017 {#4594
      date: 2024-01-27 21:56:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Hekel@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4583 …}
    +nested: Doctrine\ORM\PersistentCollection {#4581 …}
    +votes: Doctrine\ORM\PersistentCollection {#4579 …}
    +reports: Doctrine\ORM\PersistentCollection {#4577 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    -id: 345608
    -bodyTs: "'bottom':21 'didn':9 'even':11 'guid':7 'hit':19 'lemmi':16 'realiz':12 'structur':6 'tyvm':1 'well':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/7072068"
    +editedAt: null
    +createdAt: DateTimeImmutable @1706389017 {#4526
      date: 2024-01-27 21:56:57.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#5388
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.21 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5452
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.27 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5517
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5573
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 7.43 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5632
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5688
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5744
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.29 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5802
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5865
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5923
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.15 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5979
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#6035
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6091
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6147
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.15 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6203
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6259
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 7.05 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6315
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.40 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6371
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.29 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6427
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.20 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#6483
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.18 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#6541
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 12.0 MiB 0.51 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#1516
      date: 2023-11-08 02:28:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +apId: "Hekel@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Hekel"
    +apPublicUrl: "https://lemmy.world/u/Hekel"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Hekel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700748487 {#1537
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#1515
      date: 2023-11-08 02:28:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#6618
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#1516
      date: 2023-11-08 02:28:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +apId: "Hekel@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Hekel"
    +apPublicUrl: "https://lemmy.world/u/Hekel"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Hekel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700748487 {#1537
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#1515
      date: 2023-11-08 02:28:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6679
  +date: DateTimeImmutable @1691846391 {#1850
    date: 2023-08-12 15:19:51.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 12.0 MiB 19.22 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#6735
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 12.0 MiB 0.41 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#6793
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6967
  +date: DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 3.26 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#7026
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#7073
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7079 …}
    +entries: Doctrine\ORM\PersistentCollection {#7081 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7083 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7085 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7087 …}
    +posts: Doctrine\ORM\PersistentCollection {#7089 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7091 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7093 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7095 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7097 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7099 …}
    +follows: Doctrine\ORM\PersistentCollection {#7101 …}
    +followers: Doctrine\ORM\PersistentCollection {#7103 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7105 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7107 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7109 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7111 …}
    +reports: Doctrine\ORM\PersistentCollection {#7113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7115 …}
    +violations: Doctrine\ORM\PersistentCollection {#7117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7119 …}
    +awards: Doctrine\ORM\PersistentCollection {#7121 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7123 …}
    +categories: Doctrine\ORM\PersistentCollection {#7125 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7127 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#7074
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7044
  +user: Proxies\__CG__\App\Entity\User {#7026
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#7073
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7079 …}
    +entries: Doctrine\ORM\PersistentCollection {#7081 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7083 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7085 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7087 …}
    +posts: Doctrine\ORM\PersistentCollection {#7089 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7091 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7093 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7095 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7097 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7099 …}
    +follows: Doctrine\ORM\PersistentCollection {#7101 …}
    +followers: Doctrine\ORM\PersistentCollection {#7103 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7105 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7107 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7109 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7111 …}
    +reports: Doctrine\ORM\PersistentCollection {#7113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7115 …}
    +violations: Doctrine\ORM\PersistentCollection {#7117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7119 …}
    +awards: Doctrine\ORM\PersistentCollection {#7121 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7123 …}
    +categories: Doctrine\ORM\PersistentCollection {#7125 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7127 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#7074
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 12.0 MiB 2.94 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#7235
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 12.0 MiB 2.91 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#7322
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_categories App\Twig\Components\RelatedCategoriesComponent 12.0 MiB 12.77 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#7381
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#7382 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 12.0 MiB 12.64 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#7452
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#7451 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 12.0 MiB 4.78 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#3660
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 12.0 MiB 12.90 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#3607
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#3605 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 12.0 MiB 1.67 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#3550
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}