Hey everyone,
I've got a delidded i9-7900X that's OC'd to 4.7Ghz All Core / 3.1Ghz Cache on Adaptive Voltages (-0.075, 1.285 core / 0.1, 1.1 Cache), which is great! However, my rig is pulling on average about 190-210 watts from the wall with this profile idled :S - which isn't great when you're running it 24x7 as a media server in the background and your electricity is $0.28/kwh.
By modifying the maximum processor state in the power options to 80%, I'm able to downclock the CPU and only pull a constant 175 watts when it's not in active use =).
The problem was the annoyance of having to go into the advanced power settings everytime I wanted to use my desktop to its full potential and revert it back to the power saving setting once done with it. (Note that the "Minimum Processor State" in your advanced power options should be set at 5%. 80% max processor state provides more than enough processing power to transcode / download / unrar in the background.)
So I created a simple batch file script that I'd like to share with everyone in similar situations. Simply copy the code below, paste it into a new text document, and rename the file extension from txt to bat. What this does is sets the current power profile in windows 10 to 100% max CPU for 2 hours before timing out and reverting back to 80%. All you need to do is double click on it to initialize and start the high performance countdown. If you wish to keep your cpu at 100%, just exit the cmd before the countdown ends. If you're done with the computer and wish to put it in the "80% away mode", hit any key and the program will set the cpu at 80% before exiting after 3 seconds. Modify the variables below to customize it. Hope you find it useful!
@Echo off
echo ---------------------------------------------------------------------------
echo CPU Max of 100%% for 2 hours before going back to 80%% for Energy Efficiency
echo ---------------------------------------------------------------------------
set runforseconds=7200
@Echo on
powercfg -setacvalueindex SCHEME_CURRENT SUB_PROCESSOR PROCTHROTTLEMAX 100
powercfg -s SCHEME_CURRENT
@Echo off
echo Power Saving Mode Activates in %runforseconds% seconds
timeout %runforseconds%
@Echo on
powercfg -setacvalueindex SCHEME_CURRENT SUB_PROCESSOR PROCTHROTTLEMAX 80
powercfg -s SCHEME_CURRENT
@Echo off
timeout 3