From: Bruce Ellis <bruce.ellis@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Async clunk?
Date: Mon, 9 Aug 2010 03:02:18 +1000 [thread overview]
Message-ID: <AANLkTimyFXMpVzPv2ghxuAH8LLPe_JZGbPt2Y7c1wUJq@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim2XrHLayyiheei7zJzzUVD6-SM1T_8NQLjx3cU@mail.gmail.com>
trust me - experiment. ask questions. i'll send code. it can be an
enormous speedup.
brucee
On Mon, Aug 9, 2010 at 12:17 AM, Venkatesh Srinivas <me@acm.jhu.edu> wrote:
> On Sun, Aug 8, 2010 at 3:10 AM, Charles Forsyth <forsyth@terzarima.net>
> wrote:
>>
>> >Perhaps we could turn on async clunk for other files when the chan has
>> >CCACHE set (mount -C iirc). We already believe that the fileserver is
>> >'decent' then...
>>
>> that's more plausible, since you've declared that you're not interested
>> in certain details, but then the larger question arises: why pick on
>> clunk?
>> in Op, the thing that reduces network latency is combining the sequence
>> open, (read|write), close
>> into a single operation.
>
> When we tried out async Clunk in the Journal Callbacks work, it offered some
> fairly great improvements; and the details that it varies in are very minor
> compared to uncached 9p, particularly for decent fileservers.
> Since Clunk cannot fail, this also admits a simple (perhaps) approximation -
> issue the clunk as expected, but do not wait for RClunk.
>> services that wait for a close to commit,
> Hmm. Does this mean that any modification to devmnt, to keep a larger pool
> of FDs active for example, rather than clunking eagerly while walking, is
> unsafe? That would hold around directory FDs, which would make services like
> the above unhappy, or at least behave differently. Perhaps those file
> servers are assuming something not specified in the 9p definitions?
> Also, cyclic structures in Limbo with file descriptors embedded will not
> release the FD immediately after the outer structure is discarded. In a
> sense, that is also a delayed Clunk...
> -- vs
>
>
prev parent reply other threads:[~2010-08-08 17:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-07 17:18 Venkatesh Srinivas
2010-08-07 21:28 ` Charles Forsyth
2010-08-07 21:33 ` Charles Forsyth
2010-08-08 3:56 ` Bruce Ellis
2010-08-08 7:04 ` Charles Forsyth
2010-08-08 7:13 ` Bruce Ellis
2010-08-08 6:18 ` Venkatesh Srinivas
2010-08-08 7:10 ` Charles Forsyth
2010-08-08 14:17 ` Venkatesh Srinivas
2010-08-08 17:02 ` Bruce Ellis [this message]
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=AANLkTimyFXMpVzPv2ghxuAH8LLPe_JZGbPt2Y7c1wUJq@mail.gmail.com \
--to=bruce.ellis@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).