[ofa-general] IPOIB CM (NOSRQ)[PATCH V3] patch for review
Roland Dreier
rdreier at cisco.com
Thu May 3 17:16:07 PDT 2007
> > also I think the RING name is wrong -- it's not a ring, it's a table,
> > right? I don't like having a static limit on the number of nosrq
> > connections; could this be a hash table instead?
> >
>
> I will just call this an array. Nosrq will hog memory and my thought was
> that 1024 was pretty large. I envisioned using nosrq for a small number
> (maybe a
> few dozen), and so did not think it was necessary to make this a module
> paramater
> either. What do you suggest?
Maybe make it a hash table of size 32 or 64 or something like that.
You use less memory in the expected case, and degrade fairly
gracefully when things get bigger. If you want to get really fancy,
make it a hash table that you grow when it gets too full.
I agree that we don't want yet another module parameter that has to be
tuned here.
- R.
More information about the general
mailing list