[ofa-general] Re: [PATCH 2 of 3] IB/mthca: support multiple completion vectors

Roland Dreier rdreier at cisco.com
Thu May 3 12:37:12 PDT 2007


 > > I think #vectors == O(#CPUs) is what we should aim for.
 > 
 > What do you suggest to do about memory scalaibility?

Right now we default to 64K CQs, so each completion EQ uses 64K * 32 bytes,
which is 2 MB.  Which is a lot but not a killer on modern servers.
And I would expect memory to scale as O(#CPUs) too.  So I think 1 or 2
completion EQs per CPU is the right amount.

I guess it would be nice if there was something tricky we could do to
adjust things on the fly but I don't think it's worth getting too tricky.

 - R.



More information about the general mailing list