Re: [9fans] /acme/edit commands?

2016-05-18 Thread Staven
On Thu, May 19, 2016 at 12:32:18AM +, Brian Vito wrote: > Are the /acme/edit commands (as discussed in the Acme paper and included with > the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is > the > workflow replacement? Thanks. Doesn't the Edit command provide the sa

Re: [9fans] bug in authdial()

2016-05-18 Thread arisawa
hello, thanks for the information. the lookup depends on dns cache but I also don’t think it has a problem. I think the negotiation process is innocent. plan9 auth negotiation is fairly simple, that needs only a single step: C→A: ticket request A→C: encrypted ticket I measured th

Re: [9fans] /acme/edit commands?

2016-05-18 Thread Skip Tavakkolian
i've attached a screen dump that shows /acme/bin in my Plan 9 environment. it tends to become customized after a while. > Are the /acme/edit commands (as discussed in the Acme paper and included with > the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is > the > workflow

[9fans] /acme/edit commands?

2016-05-18 Thread Brian Vito
Are the /acme/edit commands (as discussed in the Acme paper and included with the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is the workflow replacement? Thanks.

Re: [9fans] bug in authdial()

2016-05-18 Thread Skip Tavakkolian
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/t

Re: [9fans] bug in authdial()

2016-05-18 Thread Charles Forsyth
On 18 May 2016 at 01:43, arisawa wrote: > - p = netmkaddr(nt->val, netroot, "ticket"); > rv = dial(p, 0, 0, 0); > if(rv >= 0) > break; > > + p = netmkaddr(nt->val, “tcp", "t

Re: [9fans] bug in authdial()

2016-05-18 Thread cinap_lenrek
yes, passing netroot to netmkaddr() is wrong. however, i dont see where we pass anything other than netroot=nil to authdial(). i suspect what you'r experiencing is that dial() tried IL first (with !fasttimeout option), which fails and then tries TCP causing the delay. so you changing it to try tc

Re: [9fans] cpu command latency

2016-05-18 Thread arisawa
Hello, fixing authdial bug I got remarkable result. I measured using mobile wireless network (the bandwidth is a few tens mega bps). before fixing: 0.00u 0.00s 44.73r cpu -h grid.nyx.link -k dom=outside.plan9.bell-labs.com ... 0.00u 0.00s 9.35rcpu -h grid.nyx.link -k dom=outside.