[ofw] Doing queries on subnet every 30 seconds

Hal Rosenstock hal.rosenstock at gmail.com
Tue May 3 11:20:01 PDT 2011


On Tue, May 3, 2011 at 2:15 PM, Fab Tillier <ftillier at microsoft.com> wrote:
> Hal Rosenstock wrote on Mon, 2 May 2011 at 05:09:46
>
>> On Mon, May 2, 2011 at 4:54 AM, Tzachi Dar <tzachid at mellanox.co.il> wrote:
>>> It seems that currently we have code that scans for srp targets every 30
>>> seconds (and creates qpr).
>>>
>>> See the function __ioc_query_sa for more details.
>>>
>>
>> What is __ioc_query_sa doing ? Where is this code found ? Is this an
>> SA query ? Which one ?
>
> Basically, if I recall correctly, it queries the SM for all port records and all path records, does a join of the tables to get all paths to ports that have the IOC bit set, and then sends DM MADs to discover I/O devices.

There is a much better optional algorithm for this with more recent SMs.

-- Hal

> -Fab
>
>>
>> -- Hal
>>
>>>
>>> When the cluster gets big it creates load on the sm.
>>>
>>>
>>>
>>> Is there any objection to disable it by default?
>>>
>>>
>>>
>>> Thanks
>>>
>>> Tzachi
>>>
>>> _______________________________________________
>>> ofw mailing list
>>> ofw at lists.openfabrics.org
>>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>>>
>> _______________________________________________
>> ofw mailing list
>> ofw at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>



More information about the ofw mailing list