[openib-general] [PATCH 07/16] ehca: interrupt handling routines
Pradeep Satyanarayana
pradeep at us.ibm.com
Wed May 10 06:23:49 PDT 2006
openib-general-bounces at openib.org wrote on 05/09/2006 04:35:57 PM:
> > Heiko> Yes, I agree. It would not be an optimal solution, because
> > Heiko> other upper level protocols (e.g. SDP, SRP, etc.) or
> > Heiko> userspace verbs would not be affected by this
> > Heiko> changes. Nevertheless, how can an improved "scaling" or
> > Heiko> "SMP" version of IPoIB look like. How could it be
> > Heiko> implemented?
> >
> > The trivial way to do it would be to use the same idea as the current
> > ehca driver: just create a thread for receive CQ events and a thread
> > for send CQ events, and defer CQ polling into those two threads.
> >
> > Something even better may be possible by specializing to IPoIB of
> > course.
>
> The hardware IRQ should go to some CPU close to the hardware itself.
> The
> softirq (or whatever else) should go to the same CPU that is handling
> the
> user-level task for that message. Or a CPU close to it, at least.
>
I believe softirqs have a strong CPU affinity and will execute on the same
CPU that
handled the hard irq.
Pradeep
pradeep at us.ibm.com
>
> Segher
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060510/6ae78082/attachment.html>
More information about the general
mailing list