[ofw] Doing queries on subnet every 30 seconds

Tzachi Dar tzachid at mellanox.co.il
Tue May 31 05:06:13 PDT 2011


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: ofw-bounces at lists.openfabrics.org [mailto:ofw-
> bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
> Sent: Tuesday, May 03, 2011 9:23 PM
> To: Hal Rosenstock; Fab Tillier
> Cc: ofw at lists.openfabrics.org
> 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:hal.rosenstock at gmail.com]
> > Sent: Tuesday, May 03, 2011 9:20 PM
> > To: Fab Tillier
> > Cc: Tzachi Dar; ofw at lists.openfabrics.org
> > Subject: Re: [ofw] Doing queries on subnet every 30 seconds
> >
> > 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
> > >
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list