Thank you Stefan for interesting links, it contains much of info which I need
now.
I have one additional question to problem relating to assymetric overloaded
processors:
By info which I have, which processor os targeted in interrupts for
receiving packets is depending on APIC, maybe settings in BIOS.
I have W2K3 machine configured like router. When about 620Mbit flow one
processor is about 90% #without# my driver installed, so this is tight place
in system, not in my driver.
Has sense to try for example manually to set other interrupt in BIOS ? Or
some other settings ?
Thx !
Peter
"Stephan Wolf [MVP]" wrote:
> If one CPU is 100% busy handling interrupts, then what you need is to
> find some way to implement "interrupt moderation". That is, you should
> not have a one-to-one relation between received/sent frames and
> interrupts. Most modern network cards/chips allow for interrupt
> moderation by e.g. delaying interrupts to some extent and/or counting
> frames before issuing an interrupt.
>
> Run perfmon to visualize the number of interrupts and DPCs.
>
> See also:
>
> "Analyze Driver Performance"
> http://www.microsoft.com/whdc/driver...m/drvperf.mspx
>
> "High Performance Network Adapters and Drivers"
> http://www.microsoft.com/whdc/device...ters-Drvs.mspx
>
> "Windows Scalable Networking Initiative"
> http://www.microsoft.com/whdc/device/network/scale.mspx
>
> Stephan
> ---
> Peter wrote:
> > When two processor machine with W2K3 is overloaded by high network traffic,
> > one processor raises almost to 100% and second only 20-30%.
> > In some mails in this group this problem was discussed and explained that
> > reason is that interrupt for receiving packets is targeted to one processor.
> > Also was discussed that processor afinity for DPC is possible to force to
> > some processor.
> > My question is if such work has sense to avoid such work if it is crazy idea.
> > Has sense to try to force some DPC routines to other processor than is
> > interrupted by receiving packets ?
> > Or system does load balancing the best how it can be and my forcing of DPC
> > routines to other processor has not sense in my driver ?
> >
> > Thx!
> > Peter
>
>