• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Unlock Core Parking

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
21,059 (6.22/day)
Likes
10,186
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#1
This program is a rethink on Set Core Parking Max in that it assumes the best way to control these settings is by using Windows' Power Options settings.

First, simply download and run UnlockCoreParking.exe (attached). If it doesn't seem to work correctly, try running as administrator. It should automatically open the Advanced Power Options dialog. Open Advanced Power Options manually if it doesn't by way of the Control Panel.

Second, select the Power Plan to configure via the combo box at the top.

Third, scroll down to "Processor power management" and expand it. Now expand "Processor performance core parking min cores." Change the Setting from 10% to 100% and apply. Core parking is now disabled for this power plan.



Attributes DWORD 1 means hide the value in Power Options. I simply delete that key--the first is for min cores and the second is for max cores. The Process.Start opens Power Options and the ,,1 specifies to open Advanced.
Code:
using Microsoft.Win32;
using System;
using System.Diagnostics;

namespace UnlockCoreParking
{
  class Program
  {
    static void Main()
    {
      try { Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583", true).DeleteValue("Attributes"); }
      catch { }
      try { Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\ea062031-0e34-4ff1-9b6d-eb1059334028", true).DeleteValue("Attributes"); }
      catch { }
      try { Process.Start("control", "powercfg.cpl,,1"); }
      catch { }
    }
  }
}
 

Attachments

Last edited:

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
14,908 (3.43/day)
Likes
5,425
System Name A dancer in your disco of fire
Processor i3 4130 3.4Ghz
Motherboard MSI B85M-E45
Cooling Cooler Master Hyper 212 Evo
Memory 4 x 4GB Crucial Ballistix Sport 1400Mhz
Video Card(s) Asus GTX 760 DCU2OC 2GB
Storage Crucial BX100 120GB | WD Blue 1TB x 2
Display(s) BenQ GL2450HT
Case AeroCool DS Cube White
Power Supply Cooler Master G550M
Mouse Intellimouse Explorer 3.0
Keyboard Dell SK-3205
Software Windows 10 Pro
#2
Didn't you make this already?
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
21,059 (6.22/day)
Likes
10,186
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#3
The other program (link in OP) adjusts it for the current scheme. This one doesn't adjust anything beyond making the settings in Power Options visible.
 
Last edited:
Joined
Mar 26, 2010
Messages
7,680 (2.69/day)
Likes
1,998
Location
Jakarta, Indonesia
System Name micropage7
Processor Intel G4400
Motherboard MSI B150M Bazooka D3
Cooling Stock ( Lapped )
Memory 16 Gb Team Xtreem DDR3
Video Card(s) Nvidia GTX460
Storage Seagate 1 TB, 5oo Gb and SSD A-Data 128 Gb
Display(s) LG 19 inch LCD Wide Screen
Case HP dx6120 MT
Audio Device(s) Stock
Power Supply Be Quiet 600 Watt
Software Windows 7 64-bit
Benchmark Scores Classified
#4
its interesting how simple thing could affect much
Core Parking is a sleep state (C6) supported by most newer x86 processors, and newer editions of Windows. Core Parking dynamically disables unused logical cores, turning them back on as the load on the CPU(s) increases. This technology is very similar to frequency scaling, in that it seeks to throttle the CPU's power consumption when idle.

Unfortunately, Window's default power profiles are far too aggressive when it comes to parking, especially on workstations. A large number of complex parameters control when a core is parked, so it is not hard to imagine these being less than ideal in many situations. And, Yes, core parking is enabled by default even in the High Performance power profile.

The core parking settings in Windows are exposed as parameters of power profiles. That means you can, for example, disable core parking for the High Performance profile, but leave it enabled for other profiles.
Real World Effects

It is difficult to precisely quantify the performance impact of core parking. However, my experience has been that disabling core parking on some CPUs, with some types of CPU loads, makes a real and substantial improvement in the fluidity of the OS. Fewer lags, stalls, freezes, etc...

Many other users have written to express that disabling core parking made a real and obvious difference.

I will also comment that disabling core parking for newer AMD processors seems to result in the largest performance improvement. I theorize that the recent changes to AMD processor architectures in Bulldozer+, where cores were paired together as 'modules' that share some computational resources, caused a situation where the Windows CPU scheduler is inefficiently managing these CPUs.
http://bitsum.com/about_cpu_core_parking.php
 
Joined
Oct 21, 2005
Messages
4,096 (0.92/day)
Likes
1,898
Location
USA
System Name Small ATX Desktop
Processor Intel i5 8600K @ 5 GHz
Motherboard Asrock Z370 Taichi
Cooling PHTC12DX CPU + MK-13 VGA, Fans: Delta, Yate Loon, Corsair
Memory G-Skill DDR4 3200 F4-3200C14D-16GTZ
Video Card(s) PNY Geforce GTX 770 XLR8 2GB
Storage Seagate 600 240GB SSD + 2xWD Caviar Blue WD10EZEX 1TB Data
Display(s) Asus PB258Q 2560x1440 + Asus VH242H 1920x1080
Case Lian Li PC A05NB (Inverted Mobo)
Audio Device(s) Audiotechnica ATH M50X, Antlion Mod Mic 4, SYBA SD-CM-UAUD
Power Supply Seasonic SS-660XP2 660 Watt Platinum
Mouse Zowie EC2A, Corsair MM600
Keyboard Filco Majestouch II Ninja TKL, Goldtouch GTC 0033 Ten Key
Software Win7 Pro 64
#5
Easiest way is to disable C6 when in doubt!
 
Joined
Nov 27, 2007
Messages
2,229 (0.60/day)
Likes
375
System Name HOMECOMPUTER
Processor Intel I7-4790k @ 4.8Ghz 1.30v
Motherboard Gigabyte z97 gaming 7
Cooling ek supremacy evo full nickle, xspc megarad
Memory 16GB Corsair ddr3 2400
Video Card(s) Sapphire r9 Fury Tri-x @ 1200/500
Storage 2x samsung 840 evo in raid 0
Display(s) LG 35", LG 27"
Case Thermaltake Core x5
Audio Device(s) Asus xonar dsx pcie
Power Supply Corsair 1000watt
Mouse Zowie FK1+
Keyboard Corsair Strafe rgb silent
Software Windows 10 Pro
Benchmark Scores i'm working on that
#6
I always disabled c6 in bios. I've never had them show up as parked.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
21,059 (6.22/day)
Likes
10,186
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#7
"A large number of complex parameters control when a core is parked"
The full list is in this post:
http://www.techpowerup.com/forums/threads/set-core-parking-max.194248/#post-3014206

This program only enables two: min cores which can be used to disable parking and max cores which can be used to force parking. The author of the post is referring to the dozens of other policies related to parking.

Two things to note:
1) Core parking only affects logical processors (e.g. hyper-threading and Bulldozer). If your processor only has physical cores, parking won't change anything.
2) These options really only exist in Windows Vista and 7. In Windows 8, Microsoft finally figured out that the High Performance power profile shouldn't have parking at all so just change to High Performance to disable it.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
14,663 (3.97/day)
Likes
8,236
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K at stock (hits 5 gees+ easily)
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (4 x 4GB Corsair Vengeance DDR3 PC3-12800 C9 1600MHz)
Video Card(s) Zotac GTX 1080 AMP! Extreme Edition
Storage Samsung 850 Pro 256GB | WD Green 4TB
Display(s) BenQ XL2720Z | Asus VG278HE (both 27", 144Hz, 3D Vision 2, 1080p)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair HX 850W v1
Software Windows 10 Pro 64-bit
#8
How can I tell if a core is parked? Is it with a flatlined graph in Task Manager? I just checked now and all "8" of my cores (4 core+HT) are showing activity
 
Joined
Dec 14, 2006
Messages
377 (0.09/day)
Likes
53
System Name Ed-PC
Processor Intel i5-3570k
Motherboard Asus P8Z77 V-Pro
Cooling CM 212 evo
Memory Crucial Ballistix Tactical Tracer DDR3 1600 8GB
Video Card(s) Nvidia MSI 660ti PE OC
Storage WD black 500gig
Case Corsair 500R
Audio Device(s) onboard
Power Supply Corsair 650TX V2
Software Win7 Pro 64bit
#9
How can I tell if a core is parked? Is it with a flatlined graph in Task Manager? I just checked now and all "8" of my cores (4 core+HT) are showing activity
Bring up task-manager>performance tab , click resource monitor .
Now look on right side CPU graphs , if any are parked it will say in the graph .
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
15,371 (3.98/day)
Likes
4,781
Location
US
Processor 2500k \ 3770k
Motherboard ASRock Z68 \ Z77
Memory Samsung low profile 1600
Video Card(s) XFX 6770 \ XFX R9 390X
Storage Intel 80Gb (SATA2) WD 250Gb \ Team SSD+Samsung Evo 250Gb+500Gb+ 2xCorsair Force+WD250GbHDD
Display(s) Samsung 1080P \ Toshiba HDTV 1080P
Case HTPC400 \ Thermaltake Armor case ( original ), With Zalman fan controller ( wattage usage ).
Audio Device(s) Yamaha RX-V475 \ Marantz SR5008 Tannoy Mercury MKII Paradigm 5SE + Tannoy Mercury F4
Power Supply PC&Power 750w \ Seasonic 750w MKII
Mouse MS intelimouse \ Logitech G700s + Steelseries Sensei wireless
Keyboard Logitech K120 \ ROCCAT MK Pro ( modded amber leds )
Benchmark Scores Meh benchmarks.

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
21,059 (6.22/day)
Likes
10,186
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#11
How can I tell if a core is parked? Is it with a flatlined graph in Task Manager? I just checked now and all "8" of my cores (4 core+HT) are showing activity
Here is an example of forcing Windows to park all cores (0% min, 0% max):

It's effectively the same as turning hyper-threading off on my Core i7 920.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
14,663 (3.97/day)
Likes
8,236
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K at stock (hits 5 gees+ easily)
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (4 x 4GB Corsair Vengeance DDR3 PC3-12800 C9 1600MHz)
Video Card(s) Zotac GTX 1080 AMP! Extreme Edition
Storage Samsung 850 Pro 256GB | WD Green 4TB
Display(s) BenQ XL2720Z | Asus VG278HE (both 27", 144Hz, 3D Vision 2, 1080p)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair HX 850W v1
Software Windows 10 Pro 64-bit
#12
Thanks for clarifying this people. None of my cores are parked.

I want peddle to the metal performance from my 2700K CPU, so I've got all the power saves turned off (which I expect might disable core parking). Note it's not overclocked at the moment, but it was previously, at 4.7GHz.
 
Joined
Apr 16, 2010
Messages
2,954 (1.04/day)
Likes
936
Location
Portugal
System Name _JP_'s Daily Driver
Processor AMD Ryzen 7 1700
Motherboard MSI X370 Gaming Plus
Cooling Noctua NH-C12P SE14 + NM-AM4 + NF-P14r
Memory 2x 8GB G.Skill Trident Z (F4-3200C16D-16GTZB)(Hynix)
Video Card(s) MSI AMD Radeon R9 280X Gaming
Storage HyperX Savage 240GB + KC300 240GB + 750EVO 500GB
Display(s) LG Flatron W2361V 23'' FHD
Case NOX Blaze
Audio Device(s) ASUS Xonar DX
Power Supply Corsair TX650M
Mouse Microsoft Comfort Mouse 4500
Keyboard Logitech Media Keyboard (PS/2)
Software Windows 10 x86-64 (1703)
#13
Thank you for this wonderful tool! I was aware of the earlier version, but back then I was using a Core 2.
I was debating between disabling C6/Parking or applying the bulldozer hotfixes, since I got my APU.
I read that the hotfixes didn't always work and that some vishera-based installs didn't like them at all actually.
Parking be damned!
I still have C'n'Q, so I still get some power savings.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
21,059 (6.22/day)
Likes
10,186
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#14
I put the full source in the original post. It is literally only 20 lines of code.