Windows power plan settings explorer utility

Discussion in 'Operating Systems' started by mbk1969, Aug 3, 2017.

  1. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,128
    Likes Received:
    394
    GPU:
    ASUS TUF 3060ti
  2. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,128
    Likes Received:
    394
    GPU:
    ASUS TUF 3060ti
    I guess this app could read the reg values and then it looks like it makes it own power plan that you edit it, so it just adds a plan.
    I don't feel like adding a new program that is not portable, it does look cool but I already have ways to edit most of the setting this app does.

    It does look like a handy app for someone starting off fresh.
     
  3. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    http://www.mediafire.com/file/wt37sbsejk7iepm/PowerSettingsExplorer.zip
    MD5 hash for zip-file: 9136C849E52A1A402F0513C9DA605F58

    1. A bit of optimisation.
    2. I forgot that possible values (for enumerated settings) can have descriptions (like shown in drop-down cells - "value - description"), so now app shows values with descriptions in details pane.
     
    Last edited: Oct 7, 2020
    ira1234 likes this.
  4. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    SputNick likes this.

  5. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,128
    Likes Received:
    394
    GPU:
    ASUS TUF 3060ti
    Seems good.
     
  6. franpa

    franpa Guest

    Messages:
    58
    Likes Received:
    0
    GPU:
    Gigabyt 760 4GB WForce x3
    Hi, my Ryzen X570 motherboard doesn't expose an option to stop the CPU from under-clocking when idle/under a low demand. Is it possible to modify Windows Power Profile to emulate disabling Cool 'n' Quiet?

    I tried a bunch of stuff and the only thing which *seemed* to accomplish it was setting "Processor Idle Disable" to Disabled, but that seemingly breaks Task Manager's ability to properly report CPU utilization and makes the situation a little scary feeling >.>" since every core is reported as 100% utilized all the time and any task, no matter how simple, is reported as using ginormous CPU resources (High utilization %).

    Surely disabling Idle States doesn't place the CPU under a constant extreme multi-threaded load... right? So it's just a cosmetic bug with Task Manager... (or some oddity with how the CPU reports utilization when it can't idle, I guess it technically never stops processing if it can't idle)?

    I monitor clock speeds using Ryzen Master and am using Windows 10, 2004.
     
    Last edited: Oct 12, 2020
  7. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    @franpa

    There are P-states, C-states and Turbo Boost. C-states are called "idle" in power plan settings. P-states are called "performance".

    These are P-states related settings:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance increase threshold (06cadf0e-64ed-448a-8927-ce7bf90eb35d)
    Description
        Specify the upper busy threshold that must be met before increasing the processor's performance state (as a percentage).
    Range, Units
        0 .. 100 %
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance decrease threshold (12a0ab44-fe28-4fa9-b3bd-4b64f44960a6)
    Description
        Specify the lower busy threshold that must be met before decreasing the processor's performance state (as a percentage).
    Range, Units
        0 .. 100 %
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance decrease policy (40fbefc7-2e9d-4d25-a185-0cfd8574bac6)
    Description
        Specify the algorithm used to select a new performance state when the ideal performance state is lower than the current performance state.
    Possible values
        Ideal - Select the ideal processor performance state.
        Single - Select the processor performance state one closer to ideal than the current processor performance state.
        Rocket - Select the lowest speed/power processor performance state.
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance increase policy (465e1f50-b610-473a-ab58-00d1077dc418)
    Description
        Specify the algorithm used to select a new performance state when the ideal performance state is higher than the current performance state.
    Possible values
        Ideal - Select the ideal processor performance state.
        Single - Select the processor performance state one closer to ideal than the current processor performance state.
        Rocket - Select the highest speed/power processor performance state.
        IdealAggressive - Select the ideal processor performance state optimised for responsiveness
    
    * I omit some secondary settings *

    These are settings related to Turbo Boost:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance boost mode (be337238-0d82-4146-a960-4f3749d470c7)
    Description
        Specify how processors select a target frequency when allowed to select above maximum frequency by current operating conditions.
    Possible values
        Disabled - Don't select target frequencies above maximum frequency.
        Enabled - Select target frequencies above maximum frequency.
        Aggressive - Always select the highest possible target frequency above nominal frequency.
        Efficient Enabled - Select target frequencies above maximum frequency if hardware supports doing so efficiently.
        Efficient Aggressive - Always select the highest possible target frequency above nominal frequency if hardware supports doing so efficiently.
        Aggressive At Guaranteed - Always select the highest possible target frequency above guaranteed frequency.
        Efficient Aggressive At Guaranteed - Always select the highest possible target frequency above guaranteed frequency if hardware supports doing so efficiently.
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance boost policy (45bcc044-d885-43e2-8605-ee0ec6e96b59)
    Description
        Specify by how much processors may opportunistically increase frequency above the maximum when allowed by current operating conditions.
    Range, Units
        0 .. 100 %
    

    These are settings related to autonomous mode - so called hardware P-states, but I don`t know whether AMD CPUs have them:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor autonomous activity window (cfeda3d0-7697-4566-a922-a9086cd49dfa)
    Description
        Specify the time period over which to observe processor utilisation when operating in autonomous mode.
    Range, Units
        0 .. 1270000000 Microseconds
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor energy performance preference policy (36687f9e-e3a5-4dbf-b1dc-15eb381c6863)
    Description
        Specify how much processors should favour energy savings over performance when operating in autonomous mode.
    Range, Units
        0 .. 100 %
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor performance autonomous mode (8baa4a8a-14c6-4451-8e8b-14bdbd197537)
    Description
        Specify whether processors should autonomously determine their target performance state.
    Possible values
        Disabled - Determine target performance state using operating system algorithms.
        Enabled - Determine target performance state using autonomous selection.
    

    These are C-states relates settings:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor idle demote threshold (4b92d758-5a24-4851-a470-815d78aee119)
    Description
        Specify the upper busy threshold that must be met before demoting the processor to a lighter idle state (as a percentage).
    Range, Units
        0 .. 100 %
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor idle promote threshold (7b224883-b3cc-4d79-819f-8374152cbe7c)
    Description
        Specify the lower busy threshold that must be met before promoting the processor to a deeper idle state (as a percentage).
    Range, Units
        0 .. 100 %
    
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor idle disable (5d76a2ca-e8c0-402f-a133-2158492d58ad)
    Description
        Specify if idle states should be disabled.
    Possible values
        Enable idle - Enable idle states.
        Disable idle - Disable idle states.
    
    * I omit one secondary setting *

    And this one idle setting relates C-states to P-states - you can link C-states to P-states:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Processor idle threshold scaling (6c2993b0-8f48-481f-bcc6-00dd2742aa06)
    Description
        Specify if idle state promotion and demotion values should be scaled based on the current performance state.
    Possible values
        Disable scaling - Disable scaling of idle state promotion and demotion values based on the current performance state.
        Enable scaling - Enable scaling of idle state promotion and demotion values based on the current performance state.
    

    If you disable idle in power plan then CPU will not use C-states.

    PS
    P-states are about frequency and voltage.
    C-states are about switching off parts of CPU and stopping some activity inside CPU.

    PPS I believe idle CPU report in Task Manager is not related to power management at all. It related to the time CPU spent in so called Idle Thread (in kernel) - i.e. not executing actual code.

    PPPS Usually you can disable both P-states and C-states in BIOS.
     
    Last edited: Oct 12, 2020
  8. franpa

    franpa Guest

    Messages:
    58
    Likes Received:
    0
    GPU:
    Gigabyt 760 4GB WForce x3
    Let me rephrase my request, how do I achieve this configuration when Cool 'n' Quiet isn't an available option to toggle?

    1) Minimum CPU Core speed = 3.6GHz.
    2) Can dynamically boost up to 4.4GHz if conditions allow it.

    I've tried specifying a 36 Core Ratio for the CPU in the BIOS but according to Ryzen Master the CPU cores are still idling at around 300MHz and under load the CPU won't boost beyond 3.6GHz.
     

    Attached Files:

    Last edited: Oct 13, 2020
  9. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    @franpa

    Have you tried this setting:
    Code:
    Subgroup
        Processor power management (54533251-82be-4824-96c1-47b60b740d00)
    Setting
        Minimum processor state (893dee8e-2bef-41e0-89c6-b55d0929964c)
    Description
        Specify the minimum performance state of your processor (as a percentage). 
    Range, Units
        0 .. 100 %
    
     
  10. franpa

    franpa Guest

    Messages:
    58
    Likes Received:
    0
    GPU:
    Gigabyt 760 4GB WForce x3
    That's set to 100%, should it instead be set to 0%? Ideally Asus would add an option to turn off Cool 'n' Quiet (AMD technology equivalent to Intel's EIST). I've disabled Global C-States which stops the cores from entering a Sleep state, but it does not stop them from underclocking.

    Here's an export of my Power Plans: https://pastebin.com/gmGqv0F4
    This is what Task Manager looks like if I disable the "Idle State" and the computer is idle (Ryzen Master reports all cores operating at around 4.20GHz and speed gradually decreases as heat increases): https://cdn.discordapp.com/attachments/628080126630035466/765015460504141854/unknown.png
     
    Last edited: Oct 13, 2020

  11. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    @franpa

    If CPU and OS do not respect that minimum CPU state setting then it can mean that CPU and OS are configured to use hardware P-states
    https://forums.guru3d.com/threads/s...0-for-skylake-cpus.409110/page-2#post-5761267

    or at more theoretical level CPPC
    https://forums.guru3d.com/threads/s...0-for-skylake-cpus.409110/page-2#post-5761555

    I always configured P-states (and C-states) for two power plans - "performance on demand" (balanced one) and "continuous performance". But on my new rig I have noticed that P-states are no longer behave like on the old rig. After some study I found out that CPU is configured to use SpeedShift (Intel`s technology name) which is CPPC interface, and OS does not respect P-states in power plan settings, and only respects settings related to autonomous mode. I could disable SpeedShift in BIOS to utilize old P-states mechanics, but I chose hardware P-states and CPPC implementation - OS sees preferable CPU cores and can schedule threads there, but CPU cores do not stay on maximum P-state.

    As I take it AMD CPUs offer that "preferable cores" feature too, but it should be correctly configured in BIOS and in OS. I would advise you to create dedicated thread in AMD CPUs subforum to get info from gurus with AMD CPUs.
     
  12. FerchogtX

    FerchogtX Guest

    Messages:
    6
    Likes Received:
    1
    GPU:
    Radeon R7
    Hi there!

    I just found this thread, I have some little doubts regarding this app and it's utilization.

    I've found that I can barely reach the 3.40 Ghz mark unless I'm playing a game or something, which causes me some lag with certain software, like Clip Studio. This lag is specially notorious now that this laptop uses the latest BIOS (1.31 for an Aspire E5-553-1786)

    My CPU is an AMD A12-9700P... will this utility help me configure the needed states to get better performance? I get decent temps so I am sure I have problems with power settings which causes me lag and makes the processor never pass the 2.99 Ghz mark (it even decreases speed if I add load to the system... strange enough temps are just fine)

    Next is, what settings I should fiddle with to get the turbo boost kick more often instead of almost never like it does currently? I have the latest stable drivers for chipset and graphics from AMD Website.

    Thanks in advance guys, you are my last resource before I downgrade my BIOS and reinstall windows, because since this BIOS update my performance is terrible... :(

    Cheers!
     
  13. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    P-states and Turbo mode are affected by settings in BIOS and in Windows power plan settings. This app allows to configure Windows power plan settings, it has no other meanings.

    Turbo mode and highest P-states are not guaranteed to kick in on all CPU cores simultaneously.

    Maybe you see decent CPU temps only because of that - CPU cores do not enter Turbo mode all together (and for long time).

    Laptops sucks in that subject because:
    - their BIOS hides many settings from user;
    - their cooling is bad comparing to big computers;
    - APU processors get additional heat from iGPU;
    - dual GPU (iGPU + dGPU) rig is a bad combo.

    You can try to ask here - https://www.win-raid.com/forum.php - whether BIOS of your laptop has hidden settings related to CPU P-states and Turbo mode.

    I already described settings related to P-states and C-states:
    https://forums.guru3d.com/threads/w...-explorer-utility.416058/page-10#post-5841742
     
    HK-1 likes this.
  14. FerchogtX

    FerchogtX Guest

    Messages:
    6
    Likes Received:
    1
    GPU:
    Radeon R7
    Thank you so much for this. Definitely will be asking in that forum and see if I have any luck. I think this laptop has some hidden settings for turbo boost, because prior BIOS version used to have better states for kicking in Turbo boost, now this thing is stuck with 2.88 - 2.99 Ghz at most, seems only some windows kernel processes are able to max out the processor, as well as some games I play.

    Thank you so much!
     
  15. HungryBear

    HungryBear Guest

    Messages:
    1
    Likes Received:
    0
    GPU:
    Radeon RX 550
    I'm getting "One or more errors occurred" when trying to run this utility on Windows 7.

    What could be wrong?

    [​IMG]
     

  16. FerchogtX

    FerchogtX Guest

    Messages:
    6
    Likes Received:
    1
    GPU:
    Radeon R7
    I don't know if I should ask this here... but taking in mind this is about power settings...

    I finally found a way to access advanced settings to my BIOS, by now, I think disabling cool n' quiet and enabling the Thermal control (it's on auto, the only setting available besides disabled) I seem to have recovered some lost performance. Temps are still great and all is good.

    Can I ask about the AMD PSPP Policy option? Supposedly it works with PCIe, but I wonder if this could boost performance a bit in this laptop. It's currently set at Balanced-Low... Here the thing:
    Code:
    0x1AA1B             Setting: PSPP Policy, Variable: 0x15A {05 91 65 02 66 02 0B 00 34 12 5A 01 00 10 00 05 00}
    0x1AA2C                 Option: Disabled, Value: 0x0 {09 07 27 00 00 00 00}
    0x1AA33                 Option: Performance, Value: 0x1 {09 07 67 02 00 00 01}
    0x1AA3A                 Option: Balanced-High, Value: 0x2 {09 07 68 02 00 00 02}
    0x1AA41                 Option: Balanced-Low, Value: 0x3 (default) {09 07 69 02 10 00 03}
    0x1AA48                 Option: Power Saving, Value: 0x4 {09 07 6A 02 00 00 04}
    0x1AA4F                 Option: Auto, Value: 0x5 {09 07 9E 01 00 00 05}
    0x1AA56             End of Options {29 02}
    This are the options... I have an EFI table of the options for this BIOS in case you wanna look in it.

    Thanks a bunch!
     
  17. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    Try to save this dll-file (from Windows OS) into the folder with the app
    https://www.mediafire.com/file/ke0g2g60gb34pse/powrprof.dll/file

    Also, have you tried to launch as administrator? It was not needed, if I remember correct, but who knows...

    PS But do not forget that on Win7 utility can only unhide/hide settings.

    PPS Anyway, most probably I should re-work the code to show actual text of error(s)...
     
    Last edited: Dec 23, 2020
  18. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    If you do not care about working on battery, then switch to Performance or Disabled
     
  19. FerchogtX

    FerchogtX Guest

    Messages:
    6
    Likes Received:
    1
    GPU:
    Radeon R7
    Oh, okay, I switched to balanced-high, if nothing changes, I'll try performance or disabled.
    What does this setting actually do? Speeds up the PCIe performance? Descriptions are quite confusing X3

    https://drive.google.com/file/d/1ZrnjCuyahnj3a9TGGhZ4eMwtd6zhExwo/view?usp=sharing

    I'm sharing here the options this BIOS had, is an EFI table as far as I remember I got from bios-mods, they show some of the power options this has. Any recommendations? I'm specially confused with S3 and S4 related stuff (and S5? What's that? o.o)

    Sorry if I ask too much, but this settings have little to no info, and google searches rarely give me anything concrete.

    Thanks so much for your patience dude, and Merry Christmas! ^^
     
    Last edited: Dec 24, 2020
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,541
    Likes Received:
    13,561
    GPU:
    GF RTX 4070
    As I take it PSPP Policy is about dynamically switching PCI-Express bus between v1 - v2 - v3 speeds (2.5 - 5.0 - 8.0 Gbps). With "Disabled" the bus stays at maximum speed, with other options it can switch speeds on the fly.

    These are ACPI sleep states
    https://www.usenix.org/legacy/publi...full_papers/watanabe/watanabe_html/node6.html
    https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/system-sleeping-states

    Again if you do not care about saving the battery then you can avoid sleep states.
     

Share This Page