Re: DPC has high latency only with SMP by ernie
ernie
Wed Aug 18 04:55:12 CDT 2004
Hallo,
thank you for your insights.
I'm not setting any processor affinity, but I think I will try soon: in
the system monitor I've noticed that when both the cpu's are 'free' the
interrupts and the dpc are mostly queued on the cpu 0 (cpu 0 handles
almost about 1000 dpc and interrupts per second, while the cpu 1 handles
about 50 interrupts and dpcs per sec.), while when I run a cpu
intensive application the load is a little better distributed (in terms
of 2/3 on cpu0 and 1/3 on cpu1, HT is disabled at the moment since I
wanted to restrict the variables number); thus I'm thinking of targeting
the dpcs to the existing processors in round robin, just to see what
happens.
I'm not sure of what HAL I have, I've installed Win2003 from scratch on
the dual processor with HT activated, so I hope it chose the correct
one, anyway how can I check ?
Another thing: HT doesn't seem to have influence on this behaviour: both
with HT activated and deactivated I have some DPC sleeping on queue for
more than 1ms until any of the CPUs has some heavy load.
I'm setting up a dual processor from another vendor, to give it a try.
Finally if it's a bugged HAL I think we're in troubles but again I
really don't know how to verify.
e.
Don Burn wrote:
> Another question is are you playing any games with processor affinity in
> your application or driver? A DPC runs on the processor it is queued on, if
> you queue the DPC on processor 2 and get your interrupts on processor 1 you
> will see a degradation in performance.
>
>
"Stephan Wolf [MVP]" <stewo68@hotmail.com> wrote in message
news:2fh4i0pl9kqhqd9vn266bbh6c53bjd475r@4ax.com...
>> I did not watch any of your earlier threads. Any chance you have the
>> wrong HAL installed (we had DELL machines here that came with the UP
>> HAL installed on HT)? Or the HAL has a bug? Can you try a machine from
>> a different vendor?
>>
>> Stephan