GET https://kbin.spritesserver.nl/u/@Hekel@lemmy.world

Components

19 Twig Components
38 Render Count
55 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 2.23ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.70ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
2 0.51ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 2.68ms
user_box
"App\Twig\Components\UserBoxComponent"
components/user_box.html.twig
1 15.95ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 15.26ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 26.82ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
1 0.21ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
1 0.16ms
magazine_inline
"App\Twig\Components\MagazineInlineComponent"
components/magazine_inline.html.twig
1 0.25ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
1 0.48ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
1 1.33ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 2.08ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 0.20ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 1.24ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 1.41ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 1.38ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.20ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.84ms

Render calls

user_box App\Twig\Components\UserBoxComponent 12.0 MiB 15.95 ms
Input props
[
  "user" => App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
  "stretchedLink" => false
]
Attributes
[]
Component
App\Twig\Components\UserBoxComponent {#1737
  +user: App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
  +stretchedLink: false
}
user_actions App\Twig\Components\UserActionsComponent 12.0 MiB 15.26 ms
Input props
[
  "user" => App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#2342
  +user: App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
}
entry App\Twig\Components\EntryComponent 12.0 MiB 26.82 ms
Input props
[
  "entry" => App\Entity\Entry {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  "dateAsUrl" => true
]
Attributes
[
  "dateAsUrl" => true
]
Component
App\Twig\Components\EntryComponent {#2716
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2717 …}
  -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 {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  +isSingle: false
  +showShortSentence: true
  +showBody: false
  +showMagazineName: true
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.21 ms
Input props
[
  "user" => App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3450
  +user: App\Entity\User {#261
    +avatar: null
    +cover: null
    +email: "Hekel@lemmy.world"
    +username: "@Hekel@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699406930 {#269
      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 {#248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +entries: Doctrine\ORM\PersistentCollection {#191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
    +posts: Doctrine\ORM\PersistentCollection {#79 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
    +follows: Doctrine\ORM\PersistentCollection {#1605 …}
    +followers: Doctrine\ORM\PersistentCollection {#1770 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
    +reports: Doctrine\ORM\PersistentCollection {#2421 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
    +violations: Doctrine\ORM\PersistentCollection {#2401 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
    +awards: Doctrine\ORM\PersistentCollection {#1951 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
    +categories: Doctrine\ORM\PersistentCollection {#1924 …}
    -id: 72923
    -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
    +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 {#272
      date: 2023-11-23 15:08:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699406929 {#275
      date: 2023-11-08 02:28:49.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.38 ms
Input props
[
  "date" => DateTimeImmutable @1691846391 {#1637
    date: 2023-08-12 15:19:51.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3515
  +date: DateTimeImmutable @1691846391 {#1637
    date: 2023-08-12 15:19:51.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1691846391 {#1637
    date: 2023-08-12 15:19:51.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3579
  +createdAt: DateTimeImmutable @1691846391 {#1637
    date: 2023-08-12 15:19:51.0 +02:00
  }
  +editedAt: null
}
magazine_inline App\Twig\Components\MagazineInlineComponent 12.0 MiB 0.25 ms
Input props
[
  "magazine" => Proxies\__CG__\App\Entity\Magazine {#1653
    +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
    +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 {#2769
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
    +entries: Doctrine\ORM\PersistentCollection {#2793 …}
    +posts: Doctrine\ORM\PersistentCollection {#2796 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
    +bans: Doctrine\ORM\PersistentCollection {#2804 …}
    +reports: Doctrine\ORM\PersistentCollection {#2812 …}
    +badges: Doctrine\ORM\PersistentCollection {#2825 …}
    +logs: Doctrine\ORM\PersistentCollection {#2835 …}
    +awards: Doctrine\ORM\PersistentCollection {#2817 …}
    +categories: Doctrine\ORM\PersistentCollection {#2841 …}
    -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 {#2770
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2771
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#3644
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
    +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
    +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 {#2769
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
    +entries: Doctrine\ORM\PersistentCollection {#2793 …}
    +posts: Doctrine\ORM\PersistentCollection {#2796 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
    +bans: Doctrine\ORM\PersistentCollection {#2804 …}
    +reports: Doctrine\ORM\PersistentCollection {#2812 …}
    +badges: Doctrine\ORM\PersistentCollection {#2825 …}
    +logs: Doctrine\ORM\PersistentCollection {#2835 …}
    +awards: Doctrine\ORM\PersistentCollection {#2817 …}
    +categories: Doctrine\ORM\PersistentCollection {#2841 …}
    -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 {#2770
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2771
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.48 ms
Input props
[
  "subject" => App\Entity\Entry {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3710
  +subject: App\Entity\Entry {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      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.33 ms
Input props
[
  "subject" => App\Entity\Entry {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3775
  +formDest: "entry"
  +subject: App\Entity\Entry {#1430
    +user: App\Entity\User {#261
      +avatar: null
      +cover: null
      +email: "Hekel@lemmy.world"
      +username: "@Hekel@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699406930 {#269
        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 {#248 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#244 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +entries: Doctrine\ORM\PersistentCollection {#191 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#163 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#136 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#106 …}
      +posts: Doctrine\ORM\PersistentCollection {#79 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#94 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1793 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2478 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1871 …}
      +follows: Doctrine\ORM\PersistentCollection {#1605 …}
      +followers: Doctrine\ORM\PersistentCollection {#1770 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1844 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1827 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#2415 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1794 …}
      +reports: Doctrine\ORM\PersistentCollection {#2421 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1931 …}
      +violations: Doctrine\ORM\PersistentCollection {#2401 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1885 …}
      +awards: Doctrine\ORM\PersistentCollection {#1951 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1886 …}
      +categories: Doctrine\ORM\PersistentCollection {#1924 …}
      -id: 72923
      -password: "$2y$13$36T3u8goFaHnd6iDFgU84.Lta./FF2RD5KwbzaIQuytOH9snkd/M2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1896 …}
      +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 {#272
        date: 2023-11-23 15:08:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699406929 {#275
        date: 2023-11-08 02:28:49.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1653
      +icon: Proxies\__CG__\App\Entity\Image {#2790 …}
      +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 {#2769
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2789 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2787 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2792 …}
      +entries: Doctrine\ORM\PersistentCollection {#2793 …}
      +posts: Doctrine\ORM\PersistentCollection {#2796 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2798 …}
      +bans: Doctrine\ORM\PersistentCollection {#2804 …}
      +reports: Doctrine\ORM\PersistentCollection {#2812 …}
      +badges: Doctrine\ORM\PersistentCollection {#2825 …}
      +logs: Doctrine\ORM\PersistentCollection {#2835 …}
      +awards: Doctrine\ORM\PersistentCollection {#2817 …}
      +categories: Doctrine\ORM\PersistentCollection {#2841 …}
      -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 {#2770
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2771
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1645 …}
    +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 {#1452
      date: 2024-10-15 22:01:36.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1640 …}
    +votes: Doctrine\ORM\PersistentCollection {#1648 …}
    +reports: Doctrine\ORM\PersistentCollection {#1674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1577 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1571 …}
    +badges: Doctrine\ORM\PersistentCollection {#1576 …}
    +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 {#1637
      date: 2023-08-12 15:19:51.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 2.52 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 {#4216
  +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.19 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4288
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.20 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4351
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.14 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 {#4407
  +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 0.12 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 {#4466
  +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.12 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4522
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4578
  +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.25 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4636
  +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.14 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4699
  +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.14 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4757
  +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.17 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4813
  +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.14 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4869
  +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.18 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4925
  +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.15 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4981
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5037
  +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.14 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5093
  +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 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5149
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5205
  +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.19 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5261
  +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.16 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 {#5317
  +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.15 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 {#5375
  +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
}
date App\Twig\Components\DateComponent 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1699406929 {#275
    date: 2023-11-08 02:28:49.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5448
  +date: DateTimeImmutable @1699406929 {#275
    date: 2023-11-08 02:28:49.0 +01:00
  }
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 12.0 MiB 2.08 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#5535
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#2438 …}
  -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 0.20 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#5600
  +magazine: null
  -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 1.24 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#5659
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#5660 …}
  -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 1.41 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#5729
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +post: null
  +title: "random_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#1466 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1539 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 12.0 MiB 1.38 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#5798
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +entry: null
  +title: "random_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#1772 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1539 …}
}
support_us_block App\Twig\Components\SupportUsBlock 12.0 MiB 0.20 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#5867
  +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 {#5868 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 12.0 MiB 0.84 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#5960
  +magazine: null
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#2438 …}
}