From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <150029e986ff7e10958868a983ff9794@quanstro.net> References: <20090421161033.170FD5B24@mail.bitblocks.com> <150029e986ff7e10958868a983ff9794@quanstro.net> Date: Tue, 21 Apr 2009 10:03:50 -0700 Message-ID: <3e1162e60904211003x169bff5dk2702bf8c646efc16@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd30b528b5db5046813a161 Subject: Re: [9fans] Plan9 - the next 20 years Topicbox-Message-UUID: ee5ffc14-ead4-11e9-9d60-3106f5b1d025 --000e0cd30b528b5db5046813a161 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Apr 21, 2009 at 9:25 AM, erik quanstrom wrote: > > > if the problem with 9p is latency, then here's a decision that could be > > > revisisted. it would be a complication, but it seems to me better than > > > a http-like protocol, bundling requets together or moving to a storage- > > > oriented protocol. > > > > Can you explain why is it better than bundling requests > > together? Bundling requests can cut out a few roundtrip > > delays, which can make a big difference for small files. > > What you are talking about seems useful for large files [if I > > understand you correctly]. Second, 9p doesn't seem to > > restrict any replies other than Rflushes to be sent in order. > > That means the server can still send Rreads in any order but > > if a Tflush is seen, it must clean up properly. The > > situation is analogous what happens in an an OoO processor > > (where results must be discarded in case of exceptions and > > mis-prediction on branches). > > bundling is equivalent to running the original sequence on > the remote machine and shipping only the result back. some > rtt latency is eliminated but i think things will still be largely > in-order because walks will act like fences. i think the lots- > of-small-files case will still suffer. maybe i'm not quite following > along. Perhaps you don't want to use this technique for lots of smaller files. There's nothing in the protocol Roger suggested preventing us from using different sequence id's and getting the old behavior back right? It's a bit complex... but worth thinking about. Dave > > > bundling will also require additional agent on the server to > marshal the bundled requests. > > - erik > > --000e0cd30b528b5db5046813a161 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Apr 21, 2009 at 9:25 AM, erik qu= anstrom <quan= stro@quanstro.net> wrote:
> > if the problem with 9p is latency, then here= 9;s a decision that could be
> > revisisted. =A0it would be a complication, but it seems to me bet= ter than
> > a http-like protocol, bundling requets together or moving to a st= orage-
> > oriented protocol.
>
> Can you explain why is it better than bundling requests
> together? =A0Bundling requests can cut out a few roundtrip
> delays, which can make a big difference for small files.
> What you are talking about seems useful for large files [if I
> understand you correctly]. =A0Second, 9p doesn't seem to
> restrict any replies other than Rflushes to be sent in order.
> That means the server can still send Rreads in any order but
> if a Tflush is seen, it must clean up properly. =A0The
> situation is analogous what happens in an an OoO processor
> (where results must be discarded in case of exceptions and
> mis-prediction on branches).

bundling is equivalent to running the original sequence on
the remote machine and shipping only the result back. =A0some
rtt latency is eliminated but i think things will still be largely
in-order because walks will act like fences. =A0i think the lots-
of-small-files case will still suffer. =A0maybe i'm not quite following=
along.

Perhaps you don't want to use th= is technique for lots of smaller files. =A0There's nothing in the proto= col Roger suggested preventing us from using different sequence id's an= d getting the old behavior back right?

It's a bit complex... but worth thinking about.

Dave
=A0


bundling will also require additional agent on the server to
marshal the bundled requests.

- erik


--000e0cd30b528b5db5046813a161--