From: Kenny Lasse Hoff Levinsen <kennylevinsen@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] cpu command latency
Date: Wed, 11 May 2016 15:44:36 +0200 [thread overview]
Message-ID: <D58680F1-C61E-492B-9414-FDECD31708DE@gmail.com> (raw)
In-Reply-To: <DC50FC0A-0449-4E45-BDCD-A0065B17908B@ar.aichi-u.ac.jp>
Your loop only seems to dials the server once, then reuses the channel from /srv. 9fs(4) is just a convenience wrapper for common hosts and tasks that ultimately calls srv(4) and mount(1) as necessary - if the channel exists, it is simply a call to mount(1), which translates to an attach(5) 9P message on the existing connection.
Delete the channel from /srv in the loop to test a full remote mount dance, including the initial dial. It shouldn't take 3s to dial, though.
Best regards,
Kenny Levinsen
> On 11. maj 2016, at 15.12, arisawa <arisawa@ar.aichi-u.ac.jp> wrote:
>
> thanks charles for your quick response.
>
> the times below are mount latency just after rebooting.
> the first is much larger than others.
> 0.00u 0.00s 3.73r 9fs sources
> 0.00u 0.00s 0.71r 9fs sources
> 0.00u 0.00s 0.21r 9fs sources
> with the script below:
> for(i in 1 2 3){
> time 9fs $host
> unmount /n/$host
> sleep 3
> }
> }
>
> probably cpu command latency will show similar behavior with much more time.
>
> Kenji Arisawa
>
>
next prev parent reply other threads:[~2016-05-11 13:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 9:04 arisawa
2016-05-11 9:23 ` Charles Forsyth
[not found] ` <CAFSF3XOQY2rH2fRmFEV2d5vGbc6ONkVpRvKY=dR7AvorqB7aKA@mail.gmail.com>
2016-05-11 13:12 ` arisawa
2016-05-11 13:44 ` Kenny Lasse Hoff Levinsen [this message]
2016-05-11 14:13 ` Charles Forsyth
2016-05-11 15:23 ` Kenny Lasse Hoff Levinsen
2016-05-11 15:58 ` lucio
2016-05-11 21:05 ` arisawa
2016-05-11 22:39 ` Skip Tavakkolian
2016-05-12 13:18 ` arisawa
2016-05-12 15:40 ` Skip Tavakkolian
2016-05-12 16:00 ` Balaji
2016-05-14 13:30 ` arisawa
2016-05-18 7:31 ` arisawa
2016-05-12 13:06 ` arisawa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D58680F1-C61E-492B-9414-FDECD31708DE@gmail.com \
--to=kennylevinsen@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).