Windows XP Community - XPHeads



Dual Core CPU Affinity

microsoft.public.windowsxp.basics


Reply
  #1 (permalink)  
Old 07-08-2008, 12:19 AM
sierrabravobravo@gmail.com
 
Posts: n/a
Dual Core CPU Affinity
I am using an Intel core 2 duo processor.

When I use the task manager to view the affinity of the number
processes it appears that all have only CPU 0 Checked. Further, when
I have two CPU intensive processes executing simultaneously there
seems to be very little activity on CPU 1 and CPU 0 is fully
saturated.

I fear that there is some setting that enables the task scheduler use
both CPUs that is not set correctly. What, if anything, can I do to
get some sort load-balancing between the two processors?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-08-2008, 02:43 AM
Andrew E.
 
Posts: n/a
RE: Dual Core CPU Affinity
Go to intel.com/downloads/processor/software,get the processor id utility,
it'll show whats running.

"sierrabravobravo@gmail.com" wrote:

> I am using an Intel core 2 duo processor.
>
> When I use the task manager to view the affinity of the number
> processes it appears that all have only CPU 0 Checked. Further, when
> I have two CPU intensive processes executing simultaneously there
> seems to be very little activity on CPU 1 and CPU 0 is fully
> saturated.
>
> I fear that there is some setting that enables the task scheduler use
> both CPUs that is not set correctly. What, if anything, can I do to
> get some sort load-balancing between the two processors?
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2008, 02:53 AM
Ian D
 
Posts: n/a
Re: Dual Core CPU Affinity

<sierrabravobravo@gmail.com> wrote in message
news:4f42a868-d7fa-4447-904a-8bd9e0a65f51@34g2000hsh.googlegroups.com...
>I am using an Intel core 2 duo processor.
>
> When I use the task manager to view the affinity of the number
> processes it appears that all have only CPU 0 Checked. Further, when
> I have two CPU intensive processes executing simultaneously there
> seems to be very little activity on CPU 1 and CPU 0 is fully
> saturated.
>
> I fear that there is some setting that enables the task scheduler use
> both CPUs that is not set correctly. What, if anything, can I do to
> get some sort load-balancing between the two processors?


The task scheduler's job is to run applications at predetermined
times. It has nothing to do with scheduling CPU affinity. Only
XP/Vista and multithreaded software will make simultaneous use of
both CPUs. However in Task Manager you can set the affinities
of your two processes so that one will run on CPU1 and the other
on CPU2. You will have to do this each time you start those
processes. By default, applications have the affinity set to both
CPUs. If the bar graph to the right of the individual CPU graphs
goes beyond 50%, then both CPUs are being used.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2008, 06:10 PM
Steve Behman
 
Posts: n/a
Re: Dual Core CPU Affinity
Thanks for the replies.

Every process that I have examined in task manager has its affinity set only
CPU 0 and, since I have never (knowingly) altered the default behavior, this
might contradict your assertion.

I think I would be happy if the affinity of all processes were set to both
processors. This leaves me with two questions:
How can it be accomplished (i.e. restoring the default behavior)?
Is there a downside to having done this?

It would also be nice to know how the default behavior was altered so that,
in the future, I can avoid it happening again.


"Ian D" wrote:

>
> <sierrabravobravo@gmail.com> wrote in message
> news:4f42a868-d7fa-4447-904a-8bd9e0a65f51@34g2000hsh.googlegroups.com...
> >I am using an Intel core 2 duo processor.
> >
> > When I use the task manager to view the affinity of the number
> > processes it appears that all have only CPU 0 Checked. Further, when
> > I have two CPU intensive processes executing simultaneously there
> > seems to be very little activity on CPU 1 and CPU 0 is fully
> > saturated.
> >
> > I fear that there is some setting that enables the task scheduler use
> > both CPUs that is not set correctly. What, if anything, can I do to
> > get some sort load-balancing between the two processors?

>
> The task scheduler's job is to run applications at predetermined
> times. It has nothing to do with scheduling CPU affinity. Only
> XP/Vista and multithreaded software will make simultaneous use of
> both CPUs. However in Task Manager you can set the affinities
> of your two processes so that one will run on CPU1 and the other
> on CPU2. You will have to do this each time you start those
> processes. By default, applications have the affinity set to both
> CPUs. If the bar graph to the right of the individual CPU graphs
> goes beyond 50%, then both CPUs are being used.
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-08-2008, 06:16 PM
Steve Behman
 
Posts: n/a
Re: Dual Core CPU Affinity
The undersigned is the same person who initiated this thread! I'm sorry
about that.

"Steve Behman" wrote:

> Thanks for the replies.
>
> Every process that I have examined in task manager has its affinity set only
> CPU 0 and, since I have never (knowingly) altered the default behavior, this
> might contradict your assertion.
>
> I think I would be happy if the affinity of all processes were set to both
> processors. This leaves me with two questions:
> How can it be accomplished (i.e. restoring the default behavior)?
> Is there a downside to having done this?
>
> It would also be nice to know how the default behavior was altered so that,
> in the future, I can avoid it happening again.
>
>
> "Ian D" wrote:
>
> >
> > <sierrabravobravo@gmail.com> wrote in message
> > news:4f42a868-d7fa-4447-904a-8bd9e0a65f51@34g2000hsh.googlegroups.com...
> > >I am using an Intel core 2 duo processor.
> > >
> > > When I use the task manager to view the affinity of the number
> > > processes it appears that all have only CPU 0 Checked. Further, when
> > > I have two CPU intensive processes executing simultaneously there
> > > seems to be very little activity on CPU 1 and CPU 0 is fully
> > > saturated.
> > >
> > > I fear that there is some setting that enables the task scheduler use
> > > both CPUs that is not set correctly. What, if anything, can I do to
> > > get some sort load-balancing between the two processors?

> >
> > The task scheduler's job is to run applications at predetermined
> > times. It has nothing to do with scheduling CPU affinity. Only
> > XP/Vista and multithreaded software will make simultaneous use of
> > both CPUs. However in Task Manager you can set the affinities
> > of your two processes so that one will run on CPU1 and the other
> > on CPU2. You will have to do this each time you start those
> > processes. By default, applications have the affinity set to both
> > CPUs. If the bar graph to the right of the individual CPU graphs
> > goes beyond 50%, then both CPUs are being used.
> >
> >
> >

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-08-2008, 07:46 PM
Ian D
 
Posts: n/a
Re: Dual Core CPU Affinity

"Steve Behman" <SteveBehman@discussions.microsoft.com> wrote in message
news:2E04BDFB-C3DE-4EFE-9804-74F4415BED42@microsoft.com...
> Thanks for the replies.
>
> Every process that I have examined in task manager has its affinity set
> only
> CPU 0 and, since I have never (knowingly) altered the default behavior,
> this
> might contradict your assertion.
>
> I think I would be happy if the affinity of all processes were set to
> both
> processors. This leaves me with two questions:
> How can it be accomplished (i.e. restoring the default behavior)?
> Is there a downside to having done this?
>
> It would also be nice to know how the default behavior was altered so
> that,
> in the future, I can avoid it happening again.
>
>
>

There's something not quite right there. On my desktop with a Core 2 Duo,
and my laptop with an HT P4, all applications I run have affinity with both
CPU1 and CPU2. When you look at Computer in Device Manager does
it say, 'ACPI Multiprocessor PC'?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-09-2008, 01:12 AM
Steve Behman
 
Posts: n/a
Re: Dual Core CPU Affinity
Ian, that is exactly what it says!

"Ian D" wrote:

>
> "Steve Behman" <SteveBehman@discussions.microsoft.com> wrote in message
> news:2E04BDFB-C3DE-4EFE-9804-74F4415BED42@microsoft.com...
> > Thanks for the replies.
> >
> > Every process that I have examined in task manager has its affinity set
> > only
> > CPU 0 and, since I have never (knowingly) altered the default behavior,
> > this
> > might contradict your assertion.
> >
> > I think I would be happy if the affinity of all processes were set to
> > both
> > processors. This leaves me with two questions:
> > How can it be accomplished (i.e. restoring the default behavior)?
> > Is there a downside to having done this?
> >
> > It would also be nice to know how the default behavior was altered so
> > that,
> > in the future, I can avoid it happening again.
> >
> >
> >

> There's something not quite right there. On my desktop with a Core 2 Duo,
> and my laptop with an HT P4, all applications I run have affinity with both
> CPU1 and CPU2. When you look at Computer in Device Manager does
> it say, 'ACPI Multiprocessor PC'?
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-09-2008, 03:36 PM
Ian D
 
Posts: n/a
Re: Dual Core CPU Affinity

"Steve Behman" <SteveBehman@discussions.microsoft.com> wrote in message
news:2ADE907C-CDBF-4561-94F3-BB01BE3A6BD9@microsoft.com...
> Ian, that is exactly what it says!
>
> "Ian D" wrote:
>
>>
>> "Steve Behman" <SteveBehman@discussions.microsoft.com> wrote in message
>> news:2E04BDFB-C3DE-4EFE-9804-74F4415BED42@microsoft.com...
>> > Thanks for the replies.
>> >
>> > Every process that I have examined in task manager has its affinity set
>> > only
>> > CPU 0 and, since I have never (knowingly) altered the default behavior,
>> > this
>> > might contradict your assertion.
>> >
>> > I think I would be happy if the affinity of all processes were set to
>> > both
>> > processors. This leaves me with two questions:
>> > How can it be accomplished (i.e. restoring the default behavior)?
>> > Is there a downside to having done this?
>> >
>> > It would also be nice to know how the default behavior was altered so
>> > that,
>> > in the future, I can avoid it happening again.
>> >
>> >
>> >

>> There's something not quite right there. On my desktop with a Core 2
>> Duo,
>> and my laptop with an HT P4, all applications I run have affinity with
>> both
>> CPU1 and CPU2. When you look at Computer in Device Manager does
>> it say, 'ACPI Multiprocessor PC'?
>>


What happens if you set affinity to both CPUs in Task Manager,
for running applications?

The utility mentioned here is supposed to enable you to preassign CPU
affinity to specific applications.

http://forums.tweaktown.com/f60/how-...ffinity-25932/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-10-2008, 06:42 AM
January
 
Posts: n/a
Re: Dual Core CPU Affinity

Yeah I totally agree with you.
Maybe there's something wrong with your computer.




--
January
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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



All times are GMT. The time now is 05:04 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74