From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: In-Reply-To: From: Skip Tavakkolian Date: Wed, 18 May 2016 17:03:13 +0000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=94eb2c0628e8d8765d053320d527 Subject: Re: [9fans] bug in authdial() Topicbox-Message-UUID: 8f310f8a-ead9-11e9-9d60-3106f5b1d025 --94eb2c0628e8d8765d053320d527 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable i don't think it's the auth lookup: supermic% time ndb/csquery /net/cs net!luna.nyx.link!ticket /net/tcp/clone 115.36.102.252!567 /net/tcp/clone 2402:6b00:4040:b600::8!567 0.00u 0.00s 0.34r ndb/csquery /net/cs net!luna.nyx.link!ticket supermic% time ndb/csquery /net/cs net!grid.nyx.link!cpu /net/tcp/clone 115.36.102.252!17010 /net/tcp/clone 2402:6b00:4040:b600::9!17010 0.00u 0.00s 0.01r ndb/csquery /net/cs net!grid.nyx.link!cpu supermic% i suspect it's auth negotiations. On Wed, May 18, 2016 at 6:07 AM Charles Forsyth wrote: > > On 18 May 2016 at 01:43, arisawa wrote: > >> - p =3D netmkaddr(nt->val, netroot, "ticket"); >> rv =3D dial(p, 0, 0, 0); >> if(rv >=3D 0) >> break; >> >> + p =3D netmkaddr(nt->val, =E2=80=9Ctcp", "ticket"= ); >> rv =3D dial(p, 0, 0, 0); >> if(rv >=3D 0) >> break; >> + p =3D netmkaddr(nt->val, =E2=80=9Cil", "ticket")= ; >> + rv =3D dial(p, 0, 0, 0); >> + if(rv >=3D 0) >> + break; >> > > But that's just (eventually) moving the cs search into every application > and bound to specific network types. > Why is the cs search with "net" so slow? > --94eb2c0628e8d8765d053320d527 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i don't think it's the auth lookup:

=
supermic% time ndb/csquery /net/cs net!luna.nyx.link!ticket
=
/net/tcp/clone 115.36.102.252!567
/net/tcp/clone 2402:6b00:4= 040:b600::8!567
0.00u 0.00s 0.34r ndb/csquery /net/cs net!luna.nyx.link!ti= cket
supermic% time ndb/csquery /net/cs net!grid.nyx.link!cpu
/net/tcp/clone 115.36.102.252!17010
/net/tcp/clone 2402:6b= 00:4040:b600::9!17010
0.00u 0.00s 0.01r ndb/csquery /net/cs net!grid.nyx.l= ink!cpu
supermic%=C2=A0

i suspect = it's auth negotiations.



On Wed, May 18, 2016 at 6:07 AM C= harles Forsyth <charles.for= syth@gmail.com> wrote:

On 18= May 2016 at 01:43, arisawa <arisawa@ar.aichi-u.ac.jp> wrote:
-=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D netmkaddr(= nt->val, netroot, "ticket");
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rv =3D dial(p, 0, 0, 0);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 if(rv >=3D 0)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 break;

+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0p =3D netmkaddr(nt->val, =E2=80=9Ctcp", "ticket"= ;);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rv =3D dial(p, 0, 0, 0);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 if(rv >=3D 0)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 break;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0p =3D netmkaddr(nt->val, =E2=80=9Cil", "ticket"= );
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0rv =3D dial(p, 0, 0, 0);
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0if(rv >=3D 0)
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0break;
But that's ju= st (eventually) moving the cs search into every application and bound to sp= ecific network types.
Why is the cs search = with "net" so slow?
--94eb2c0628e8d8765d053320d527--