Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Affinity

Reply
 
 
Andyistic
Guest
Posts: n/a

 
      09-24-2006
Using Dual-Core CPU's, when you set a process to use just one of the two
cores, which part of the process is confined to that specific core?
Just the main thread called by CreateProcess when the program was launched,
or does the core also handle the API functions called from within the
program?
I'm asking this so I can figure out the best way to dedicate CPU time to a
running program while still allowing other processes (services) to use the
other core.

-- Andy



 
Reply With Quote
 
 
 
 
Bruce
Guest
Posts: n/a

 
      11-01-2006
I have not been able to set affinity in Vista. ("Access denied") so I need
help getting the right security credentials.

In WindowsXP, if you set the affinity of a process, the child processes
inherit the same affinity mask. Without further information, I'd assume that
Vista works the same way.

"Andyistic" wrote:

> Using Dual-Core CPU's, when you set a process to use just one of the two
> cores, which part of the process is confined to that specific core?
> Just the main thread called by CreateProcess when the program was launched,
> or does the core also handle the API functions called from within the
> program?
> I'm asking this so I can figure out the best way to dedicate CPU time to a
> running program while still allowing other processes (services) to use the
> other core.
>
> -- Andy
>
>
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Affinity using command prompt? zachlr1@gmail.com Windows Vista General Discussion 3 12-22-2007 10:39 PM
Set Affinity Norbert Windows Vista General Discussion 8 05-31-2007 02:52 AM
Getting Affinity/Priority to stick. Metal_Steed Windows Vista General Discussion 0 04-24-2007 01:36 PM
Affinity troy marrs Windows Vista Performance 6 03-19-2007 05:20 PM
Set Affinity Troy Marrs Windows Vista Performance 0 03-04-2007 10:55 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59