[ofa-general] Couple of questions about OpenSM
Sasha Khapyorsky
sashak at voltaire.com
Fri Mar 20 18:38:05 PDT 2009
On 17:03 Fri 20 Mar , Nicolas Morey-Chaisemartin wrote:
>
> Good. There should be one table for each switch and each of them as one entry per (port/lid) couple no?
One minhops table per switch which consists hops per port arrays for
*only* switches' lids (CA and router lids entries are never used).
> Well it about 15% of computation time (for Ftree at least) is spent in set_hops and specifically in malloc/memset part
> If we do it only once at the start, it should probably be much faster !
>
> By the way, is there a reason you don't use likely/unlikely commands in conditions?
No any special reason.
Sasha
More information about the general
mailing list