I have changed the default on checkin #3117

Thanks
Tzachi

Index: B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ioc_pnp.c
===================================================================
--- B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ioc_pnp.c (revision 8124)
+++ B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ioc_pnp.c (revision 8125)
@@ -294,7 +294,6 @@
        cl_async_proc_item_t    async_item;
        sweep_state_t                   state;
        ioc_pnp_svc_t                   *p_svc;
-       atomic32_t                              query_cnt;
        cl_fmap_t                               iou_map;
 
 }      ioc_sweep_results_t;
@@ -313,7 +312,7 @@
 ioc_pnp_mgr_t  *gp_ioc_pnp = NULL;
 uint32_t               g_ioc_query_timeout = 250;
 uint32_t               g_ioc_query_retries = 4;
-uint32_t               g_ioc_poll_interval = 30000;
+uint32_t               g_ioc_poll_interval = 0;
 
 
 
Index: B:/users/tzachid/projinf6/trunk/hw/mlx4/kernel/hca/mlx4_hca.inx
===================================================================
--- B:/users/tzachid/projinf6/trunk/hw/mlx4/kernel/hca/mlx4_hca.inx     
(revision 8124)
+++ B:/users/tzachid/projinf6/trunk/hw/mlx4/kernel/hca/mlx4_hca.inx     
(revision 8125)
@@ -411,7 +411,7 @@
 HKR,"Parameters","SmiPollInterval",%REG_DWORD_NO_CLOBBER%,20000
 HKR,"Parameters","IocQueryTimeout",%REG_DWORD_NO_CLOBBER%,250
 HKR,"Parameters","IocQueryRetries",%REG_DWORD_NO_CLOBBER%,4
-HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000
+HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,0
 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000
 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1
 


> -----Original Message-----
> From: [email protected] [mailto:ofw-
> [email protected]] On Behalf Of Tzachi Dar
> Sent: Tuesday, May 03, 2011 9:23 PM
> To: Hal Rosenstock; Fab Tillier
> Cc: [email protected]
> Subject: Re: [ofw] Doing queries on subnet every 30 seconds
> 
> The new algorithm can be implemented later (if you will tell us exactly what
> it is).
> 
> Currently we are only talking about a change in the default.
> 
> Thanks
> Tzachi
> 
> > -----Original Message-----
> > From: Hal Rosenstock [mailto:[email protected]]
> > Sent: Tuesday, May 03, 2011 9:20 PM
> > To: Fab Tillier
> > Cc: Tzachi Dar; [email protected]
> > Subject: Re: [ofw] Doing queries on subnet every 30 seconds
> >
> > On Tue, May 3, 2011 at 2:15 PM, Fab Tillier <[email protected]> wrote:
> > > Hal Rosenstock wrote on Mon, 2 May 2011 at 05:09:46
> > >
> > >> On Mon, May 2, 2011 at 4:54 AM, Tzachi Dar <[email protected]>
> 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
> > >>> [email protected]
> > >>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> > >>>
> > >> _______________________________________________
> > >> ofw mailing list
> > >> [email protected]
> > >> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> > >
> _______________________________________________
> ofw mailing list
> [email protected]
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to