[ofw] [PATCH] Limit time spent at DISPATCH_LEVEL when processingMADs

Fab Tillier ftillier at windows.microsoft.com
Mon Jul 14 10:45:28 PDT 2008


Hi Tzachi,

> From: Tzachi Dar [mailto:tzachid at mellanox.co.il]
> Sent: Sunday, July 13, 2008 12:23 AM
>
> Hi Fab,
>
> For the long term, we should probably change the way that we work:
>
> Today's machines always come with more than one core. I'm quit sure that
> in the situation that you are facing, there are other cores that are not
> doing anything, while other cores are competing on one core. The natural
> solution is to use more than one core for this requests.
>
> I believe that once we will move to MSI on server 2008, this should
> become more natural.

I agree spreading the load on more cores would be beneficial, however we still want to limit how long we spend in DPCs.

I think a worthwhile change to CQ creation would be for the client to pass in the DPC object they want to use for notifications.  This would allow the client to set the affinity and priority of the DPC, not to mention clients that stay too long in their DPC would get the blame rather than the HCA driver.

-Fab



More information about the ofw mailing list