Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Assigning tasks to processors

10 Apr 2014   #1
bobpsi

win 7 64bit
 
 
Assigning tasks to processors

Using a 16 core machine (2x8), I am performing some parallel processing speed testing. I am using "affinity..." to force certain tasks onto certain processors/cores, and this appears to be working fine. Assuming I set up a 14 task on 14 core run, is there any way I can PREVENT the myriad OS Windows tasks from running on these 14 cores? I want to restrict them to the remaining 2 cores.

Also, while instrumenting certain functions and their calling trees with the real time clock, I notice their duration is always a multiple of about 15.5 milliseconds. Is this a tunable parameter?

Thank you!


My System SpecsSystem Spec
.
10 Apr 2014   #2
LMiller7

Windows 7 Home Premium 32 bit
 
 

CPU affinity is a restriction on processes to use only specific cores. There is no provision for reserving cores for any purpose or imposing restrictions on how individual cores will be used. The system thread scheduler can and will use all cores for any processes, subject to affinity restrictions they may have.

Affinity is a restriction on processes, not on cores.

As a general rule it is best to let Windows manage thread scheduling as it wishes. The goal of this is always to optimize performance. There are complex rules that control this. Manually setting affinity is usually not beneficial. Of course there are a few exceptions.

Most system timing on multi core systems has a granularity of 15.5 ms. This is part of system design and is not user alterable.
My System SpecsSystem Spec
Reply

 Assigning tasks to processors




Thread Tools




Similar help and support threads
Thread Forum
Assigning drive letters
i am not sure which forum this belongs in, so please move it to the correct forum if required. I am in the process of preparing my pc to migrate to a SSD. I am trying to relocate various files. I have a primary partition E, labeled 'Data', about 9GB, which I want to copy to a different HDD....
General Discussion
Assigning NIC in Virtual XP
OK, my problem is simple yet, I do not use virtual xp at all so I am kinda lost here. I have a customer that wants to run his IP based printer from this VM using a software that is not win7 supported. The software loaded perfectly. I just need to get a NIC to work so I can ping the printer at a...
Network & Sharing
Is assigning a different user possible?
I have a Acer Aspire One that crashed and blew smoke out the power plug hole a few weeks ago. I had Windows 7 installed on it. Sent it to the factory. They replaced the motherboard, keyboard, LCD cable and HARD DRIVE........ S'ok didn't loose any data. Knew I'd just re-install all of the programs I...
General Discussion
Assigning speakers
How can I assign my Headphones (front jack) to play from a certain program, and the main speakers another. What I'm trying to do is assign my Head phones to play everything from Xfire, and to play my game sounds from my speakers. This is possible right? Thanks in advanced - MUZZIES
Sound & Audio
Assigning bandwidth
Hello geeks and gurus allover this planet and beyond. This is not a problem per se, it is only something I would like to do if it is possible. I get TV from my home country here where I live over the net. I subscribe a Finnish IPTV service, receiving signal with a Motorola VIP1920-9T IPTV box....
Network & Sharing
Does assigning windows 7 RAM take it away even when off
I assigned winodws 7 1GB of ram out of 1.99GB, when windows 7 is turned off and virtual pc isn't running will my host os (windows xp) still only have .99GB of ram left to use? or do I get my 1GB back once I shut it down?
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:59.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App