[openib-general] Re: OpenIB Thread Usage

Sean Hefty mshefty at ichips.intel.com
Fri Nov 19 09:36:27 PST 2004


Roland Dreier wrote:
> I think the CM ends up needing its own set of workqueues so that it
> can queue MAD processing along with "time wait" events etc.  Also we
> don't want the CM to block general MAD processing while it waits for
> things like QP modify.

I thought about this approach, but wasn't sure about taking a context 
switch.  I guess with QP redirection, this wouldn't be an issue though.

> idle threads have pretty minimal impact beyond the memory they use.
> However on say a 512 CPU box with 6 HCAs, we would create 6000+ kernel
> threads, which seems pretty excessive.

Wouldn't it still just be one per port, or 12 total?




More information about the general mailing list