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
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to