Easy way to improve CPU usage

bbinnard

New member
Pro User
Local time
12:39 AM
Messages
238
I was rendering an HD video in Sony Vegas and thought I'd check how my i7-920's 8 CPUs were doing. So I started Task Manager and noticed that only 5 of the 8 CPUs seemed busy. (Vegas is set to 8 threads for rendering video.)

So I started Resource Monitor and clicked on the CPU tab. What I discovered was that most of the time 3 CPUs were "parked". When parked they were doing no work (utilization =0.) So even though Vegas

Why? Well apparently Microsoft decided that its OK to disable some CPUs to save power (and reduce chip temperature.) But my electricity bills are OK and my PC has a good 3rd party cooler. I figured I'd rather have all 8 CPUs working on rendering.

I Googled "CPU Parking" and found that, for each Power Scheme defined in Control Panel/Power Options there are 2 parameters that control CPU parking: Min and Max. Microsoft sets Min = 0 and Max =100 which means at any time all of the CPUs can be parked. It is not clear how Windows decides which CPUs to park when, but it apparently does.

I found the following fix to disable parking:

These steps allow a multi-core CPU to use all of its processors when rendering:

- Go to Regedit

- Find this key:- " 0cc5b647-c1df-4637-891a-dec35c318583 "

- Within this key, there is a value called: " ValueMax "

- This value represents the % number of cores the system will park - the default 100% ie: all Cores are potentially park-able

- Change the value from 64 to 0 so the " ValueMin " and " ValueMax " are both zero

- You will have to find the key a few times and repeat the process for each time it is found - the number of instances will depend on the number of power profiles in your system [ in my DAW it was only found twice ]

- Do a full shutdown and power-off and cold-re-start

This works. (You just have to restart after making the change; power off is not req'd.) After the change what I noticed is 2 things:

1. All CPUs are working during rendering

2. The workload is spread much more evenly across the CPUs than when some were parked

Here is the webpage I found that has lots of background and additional links on this:

Windows 7 & Core Parking .... a *better* way to Turn It OFF ....

From what I can tell from initial tests this change has speeded up rendering on my system by about 20%. I think this is a nice performance improvement for a simple registry tweak.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built
OS
Win7-64
CPU
Intel i7-3770S
Motherboard
ASUS P8Z77-M
Memory
16GB
Graphics Card(s)
nVidia GT630
Sound Card
onboard
Monitor(s) Displays
dual
Screen Resolution
1920x1200 (primary) 1050x1680 (secondary)
Hard Drives
128GB SSD (boot)
64GB SSD (Temp/My Documents)
500GB (photos/videos)
1TB (rendered video, backups)
PSU
650W
Case
Thermaltake A30
Cooling
Thermaltake
Keyboard
Logitech Lighted
Mouse
Kensington Expert Mouse (trackball)
Internet Speed
FIOS 35/35
Antivirus
MS Security Essentials
Browser
Chrome (beta)
this looks like a great tip - are there any downsides in doing this, apart from increased electricity bills?
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
I was rendering an HD video in Sony Vegas and thought I'd check how my i7-920's 8 CPUs were doing. So I started Task Manager and noticed that only 5 of the 8 CPUs seemed busy. (Vegas is set to 8 threads for rendering video.)

Why? Well apparently Microsoft decided that its OK to disable some CPUs to save power (and reduce chip temperature.) But my electricity bills are OK and my PC has a good 3rd party cooler. I figured I'd rather have all 8 CPUs working on rendering.


This is a different setting than that found in the advanced Control Panel/Power Options setting?

Ap
 

My Computer

Computer Manufacturer/Model Number
Assembled in my workshop
OS
Windows 7 Home Premium
CPU
Intel Core 2 Duo @ 3.00gHz
Motherboard
Gigabyte GA-P35-S3G
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Sound Card
RME 24/96 Card, Realtek Internal Audio PreSonus FireStudio
Monitor(s) Displays
Acer 1917 (x2)
Screen Resolution
1280 x 1024 on both monitors
Hard Drives
Three 250GB Seagate SATA Barracuda 7200rpm
PSU
Rosewill 500-watt
Case
Rosewill mid-tower
Cooling
Noctua NH-U9B (CPU), PwrSupply fan + single large case Fan
Keyboard
Macally w/2/USB ports.
Mouse
Trackman Wheel
Other Info
Event 20/20 bas studio monitors, Yamaha sub.
Rackmount Korg/Roland/Yamaha synthesizers,
Cubase MIDI/audio recording. Sony Soundforge audio/mastering software. CD Architect Mastering. RME & Presonus audio interfaces.
Did it improve rendering performance or just distribute the load better?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Interesting, the state and cache transfer to a different core actually slows things down.

Thanks Shawn.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
.....and another Urban Legend bites the dust.

Thanks Brink
 

My Computer

Computer Manufacturer/Model Number
Hopalong/ Godzilla
OS
Windows7 Pro 64bit SP-1; Windows XP Pro 32bit
CPU
Intel Core i7-870 Lynnfield 2.93GHz LGA 1156 95W Quad-Core
Motherboard
ASUS P7P55D-E PRO
Memory
8GB@1400MHz Crucial Ballistix DDR3-1600 4x2GB
Graphics Card(s)
ASUS ENGTX460 DirectCU/2DI/1GD5 1GB 256-bit GDDR5
Sound Card
VIA Onboard
Monitor(s) Displays
Asus VS248H-P 24"; Samsung SyncMaster 941BW 19"ws
Screen Resolution
1920x1080; 1440x900
Hard Drives
Samsung 830 120GB SSD
Intel 320 120GB SSD
Western Digital Caviar Black WD7501AALS 750GB 7200 RPM SATA 3.0Gb/s
Western Digital Caviar Black WD6401AALS 640GB 7200 RPM SATA 3.0Gb/s
PSU
COOLER MASTER Silent Pro RS850-AMBAJ3-US 850W Modular
Case
COOLER MASTER HAF 932 RC-932-KKN5-GP Black
Cooling
Scythe "Mugen-2 Rev.B" (2 ScytheKaze-Jyuni PWM fans)
Keyboard
Logitech K-320
Mouse
Kensington
Antivirus
Avast Inernet Suite
Browser
IE 9 ; Chrome
You're welcome. I was thinking about doing a tutorial on it when I read what was in that link and how it could more likely slow things down instead. Oh well, maybe the next one. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
.....and another Urban Legend bites the dust.

Well I'm not so sure.....

I read those papers too. And it seemed to me the primary reason for introducing core parking was to prolong laptop battery life, which of course it will do. And naturally, since less power is being used, less heat is produced. I have no problem for this for laptop users.

But a desktop system is not the same. Obviously desktops have neither battery or power/heat limitations (unless you do over-clocking which is another matter altogether.)

The point about switching tasks between cores is exactly correct - since each core has its own look-ahead buffer any time a task has to switch cores that buffer has to be emptied and refilled. Plus all the CPU registers have to be reloaded. Clearly this cause a performance hit.

But how can anyone say parking reduces this hit? It seems to me it can only increase the likelihood of this happening. Here's why:

Most Win7 systems have something like 60 - 80 individual processes running, independent of applications. I've pared mine down to what I think is the bare minimum and it runs with 39. What this means is there are at least 39 pieces of software active on the system at all times, any of which can ask for CPU service at any time. And this is with no applications running at all.

So if I have more cores active (8 in my case) doesn't it seem logical that there would be less switching between cores than if I had fewer? In the most extreme case (1 single threaded core) only one instruction stream can be processed at a time, so if there are multiple streams that need processing the system is forced to task switch for each one in turn. With 8 cores active at least the system is able to keep 8 instruction streams running continuously.

Without a detailed trace of internal activities it is impossible to know exactly what processes get CPU service when, but with (say) 50 active Windows processes along with however many apps are running I think it's safe to say there is a fair amount of task switching going on all the time. So how can anyone say that fewer instruction stream processors is better than more? If this were true, why not turn all of them off except one? And why have multi-threaded chips anyway? Does that make sense? I don't think so.

More instruction stream processors = less switching between instruction streams and this is the desired result.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built
OS
Win7-64
CPU
Intel i7-3770S
Motherboard
ASUS P8Z77-M
Memory
16GB
Graphics Card(s)
nVidia GT630
Sound Card
onboard
Monitor(s) Displays
dual
Screen Resolution
1920x1200 (primary) 1050x1680 (secondary)
Hard Drives
128GB SSD (boot)
64GB SSD (Temp/My Documents)
500GB (photos/videos)
1TB (rendered video, backups)
PSU
650W
Case
Thermaltake A30
Cooling
Thermaltake
Keyboard
Logitech Lighted
Mouse
Kensington Expert Mouse (trackball)
Internet Speed
FIOS 35/35
Antivirus
MS Security Essentials
Browser
Chrome (beta)
You have 4 cores active. Intel® Core

Hyper threading shows as a core but just increases speed because it is bidirectional. That is the way Windows recognizes it. Always has even on the P4 HT.

Intel® Hyper-Threading technology enables highly threaded applications to get more work done in parallel. With 8 threads available to the operating system, multi-tasking becomes even easier³.
Intel® Hyper-Threading Technology (Intel® HT Technology)

A quad core CPU such as yours is equivalent to four Pentium 4 HT CPU's at one time.
One P4 does the work at hand for start up processes.
You start rendering videos it kicks in a second P4 to help. If necessary it uses the third and fourth core.
All the time it is using the fastest internal links of the quad core structure to its advantage.
The firmware built into the CPU by Intel (even AMD's multi cores) uses internal structure for maximum efficiency and synchronization.

What you have done is make four CPU's that work independently first.
Synchronization between them comes second.
The firmware synchronization has been limited by your software overrides.

That is the simplified basics. Dig in to the Intel website if you wish.

Mike
 

My Computer

Computer Manufacturer/Model Number
Hopalong/ Godzilla
OS
Windows7 Pro 64bit SP-1; Windows XP Pro 32bit
CPU
Intel Core i7-870 Lynnfield 2.93GHz LGA 1156 95W Quad-Core
Motherboard
ASUS P7P55D-E PRO
Memory
8GB@1400MHz Crucial Ballistix DDR3-1600 4x2GB
Graphics Card(s)
ASUS ENGTX460 DirectCU/2DI/1GD5 1GB 256-bit GDDR5
Sound Card
VIA Onboard
Monitor(s) Displays
Asus VS248H-P 24"; Samsung SyncMaster 941BW 19"ws
Screen Resolution
1920x1080; 1440x900
Hard Drives
Samsung 830 120GB SSD
Intel 320 120GB SSD
Western Digital Caviar Black WD7501AALS 750GB 7200 RPM SATA 3.0Gb/s
Western Digital Caviar Black WD6401AALS 640GB 7200 RPM SATA 3.0Gb/s
PSU
COOLER MASTER Silent Pro RS850-AMBAJ3-US 850W Modular
Case
COOLER MASTER HAF 932 RC-932-KKN5-GP Black
Cooling
Scythe "Mugen-2 Rev.B" (2 ScytheKaze-Jyuni PWM fans)
Keyboard
Logitech K-320
Mouse
Kensington
Antivirus
Avast Inernet Suite
Browser
IE 9 ; Chrome
Back
Top