Re: [PATCH] tests/subnet_discover: discover test utility

Sasha Khapyorsky
2010-01-12T09:31:45Z

Hi Hal,

On 08:56 Mon 11 Jan , Hal Rosenstock wrote:
> >
> > diff --git a/tests/subnet_discover.c b/tests/subnet_discover.c
> > index 7f8a85c..42e7aee 100644
> > --- a/tests/subnet_discover.c
> > +++ b/tests/subnet_discover.c
> > @@ -40,6 +40,7 @@ static struct node *node_array[32 * 1024];
> >  static unsigned node_count = 0;
> >  static unsigned trid_cnt = 0;
> >  static unsigned outstanding = 0;
> > +static unsigned max_outstanding = 8;
>
> Any reason why this default is different from the one which OpenSM
> uses ? Seems to me it should be the same (or less).

In my tests I found that '8' is more optimal number (the tool works
faster and without drops) than '4' used in OpenSM.

Of course it would be helpful to run this over bigger cluster than
what I have to see that the results are consistent.