Windows power plan settings explorer utility

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

  1. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    Typically use round robin policy to avoid using SMT, cores policy is the traditional behavior.
     
    Guru3Dmember likes this.
  2. Guru3Dmember

    Guru3Dmember Active Member

    Messages:
    92
    Likes Received:
    15
    GPU:
    6900XT
    Thank you!
     
  3. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,161
    Likes Received:
    402
    GPU:
    ASUS TUF 3060ti
    Hi Donduck, Can you explain what you see/test that this round-robin setting improves on over default?
     
  4. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    You will need to tune other settings together, like min core count<=50%, decrease CP concurrency threshold or increase CP headroom threshold. The effect would just be Windows try not to use both SMT threads. I expect performance would be about the same as disabling SMT in BIOS, but you get a more flexible option.
     

  5. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    @mbk1969
    Why the percentage of core parking core count doesn't really match calculation? For example on quad-core CPU, minimum count 40% is enough to unpark 2 cores.
     
  6. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,897
    Likes Received:
    13,841
    GPU:
    GF RTX 4070
    Here is description from MS document (for Win7):
    According to that definition specified amount of cores are always unparked. While you are talking about unparking of already parked cores.

    ***

    In that document I noticed example of pwrtest usage for live PPM monitoring - pwrtest.exe /ppm /live - and it works on my Win10 with pwrtest v.10_0_17134
     
  7. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    I have decreased concurrency threshold and using a high headroom threshold to ensure no additional cores are unparked.
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,897
    Likes Received:
    13,841
    GPU:
    GF RTX 4070
    I will repeat - MS devs did a shitty job with power plan settings.
    Either you do not understand the settings correctly or the settings have "cumulative" effects.
     
  9. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    @EdKiefer
    Can you run this and see what it returns on heterogenous CPU?
    Code:
     (Get-CimInstance Win32_Processor).MaxClockSpeed
     
  10. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,161
    Likes Received:
    402
    GPU:
    ASUS TUF 3060ti
    3686
    My 12600k is slightly OC, here stock and my settings.
    stock P= 49, 49, 47, 47, 45, 45. E= 36, 36, 36, 36
    My setting P=50, 50, 49, 48, 48, 47. E= 39, 39, 39, 38

    3686 comes close to the P core base freq which is 3.7ghz for 12600k.
    here specs stock from Intel.
    https://ark.intel.com/content/www/u...2600k-processor-20m-cache-up-to-4-90-ghz.html
     
    Last edited: May 12, 2024

  11. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    I was hoping there could be an easy way to determine base frequencies respectively.
     
  12. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,161
    Likes Received:
    402
    GPU:
    ASUS TUF 3060ti
    What are you trying to do, make a power plan with a limited freq cap?
     
  13. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    Trying to have lower bound at 1GHz regardless of CPUs.
     
  14. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    Confirmed via MSR that Processor duty cycling (4e4450b3-6179-4e91-b8f1-5bb9938f81a1) is indeed Intel's hardware duty cycling. However, the MSR counters always report 0% residency due to HDC for unknown reason.
    Also, disabling autonomous mode doesn't mean disabling HWP or CPPC, it means the desired performance register is non zero, hardware autonomous selection is disabled and OS must convey hints for performance; HWP and CPPC are still essentially enabled.
    This is the tool, easy to use.

    @EdKiefer
    Can you look for 0x000017D1 and 0x000017D4's bit 0 when switching on&off autonomous mode, just run
    Code:
    msr-cmd.exe read 0x000017D1
    msr-cmd.exe read 0x000017D4
    0x17D1's bit 1 is thread director from package's scope and bit 0 is hardware feedback interface, 0x17D4 is thread director from processor's scope, I want to know if the autonomous mode power setting could affect heterogenous scheduling MSR.
    You can also try to write to these MSR and see if the disable status can persist:
    Code:
    msr-cmd.exe write 0x000017D1 0x00000000 0x00000000
    msr-cmd.exe write -A 0x000017D4 0x00000000 0x00000000
     
    Last edited: May 13, 2024
  15. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7

  16. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    Processor power management options has been updated today, some notable changes:
    many performance settings are labeled not applicable when autonomous mode enabled, including Processor performance core parking distribution threshold and Initial performance for Processor Power Efficiency Class 1 when unparked;
    LatencyHintEpp added;
    LowPower profile is not applicable when Multimedia QoS is configured;
    A floor performance for Processor Power Efficiency Class 0 when there are Processor Power Efficiency Class 1 processors unparked is not applicable with QoS;
    many settings mention "HeteroPolicy", but MS still doesn't have a page for it;
    "normalized architectural class" is still not explained;
    more description on performance boost mode, I think "ACPI P-State" would be platforms that don't have CPPC, "CPPC/PEP" is autonomous mode disabled
    [​IMG]

    Heterogeneous thread scheduling policy on automatic "lets the OS determines the policy based on system configuration and QoS type", aka background threads scheduled to efficient cores.
     
    Last edited: May 21, 2024
  17. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,897
    Likes Received:
    13,841
    GPU:
    GF RTX 4070
    Win11?
     
  18. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    If not present in Windows 10, then Windows 11 exclusively.
     
  19. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,897
    Likes Received:
    13,841
    GPU:
    GF RTX 4070
    There were no updates for Win10 today.
     
  20. Donduck

    Donduck Master Guru

    Messages:
    381
    Likes Received:
    26
    GPU:
    Radeon RX Vega 7
    They just updated the documents today, MS is not going to backport new features to Windows 10.
     

Share This Page