From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 26 Sep 2008 21:17:18 -0400 From: Nathaniel W Filardo To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080927011718.GG4111@masters13.cs.jhu.edu> References: <140e7ec30809180257y34722805y287fd9838bd76f35@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cyV/sMl4KAhiehtf" Content-Disposition: inline In-Reply-To: <140e7ec30809180257y34722805y287fd9838bd76f35@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [9fans] 9p over high-latency Topicbox-Message-UUID: 159e0f06-ead4-11e9-9d60-3106f5b1d025 --cyV/sMl4KAhiehtf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 18, 2008 at 05:57:21PM +0800, sqweek wrote: > On Fri, Sep 12, 2008 at 7:47 PM, erik quanstrom w= rote: > > as an aside: i don't think 9p itself limits plan 9 performance > > over high-latency links. the limitations have more to do with > > the number of outstanding messages, which is 1 in the mnt > > driver. >=20 > Hm, but what's the alternative here? Readahead seems somewhat > attractive, if difficult (I worry about blocking reads and timing > sensitive file systems). But there's one problem I can't resolve - how > do you know what offset to Tread without consulting the previous > Rread's count? > Actually, I understand there has been discussion about grouping tags > to allow for things like Twalk/Topen batching without waiting for > Rwalk (which sounds like a great idea), maybe that would work here > also... > -sqweek >=20 This seems an appropriate time -- well, appropriate thread, if a few days lagged -- to bring up Dave's/my cache journaling scheme for review... I presented this at IWP9 last year and recieved mostly positive feedback, as I remember, but sadly have not had a chance to work on it since. (That said, it remains on my todo list should nobody beat me to it.) The protocol design is documented on my server at https://wiki.ietfng.org/pub/Plan9/JournalCallbacks. Sadly, it remains the case that I don't have an implementation to offer. The basic idea is to shim a client-side cache and a server-side cache controller in front of a filesystem, like fossil or exportfs, and have the cache controller snoop on all connections to the server, informing caches when the contents of their caches have become invalid. There are a few known deficiencies ([in]coherency and authentication being the two big ones), but I hope the idea remains sound. Thoughts and criticisms welcome. :) --nwf; --cyV/sMl4KAhiehtf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjdiZ4ACgkQTeQabvr9Tc83GQCdFM1P2SdcKw6Gy5qUCkAd6CX3 3FgAn1dCOCYi/gn5Pk2A2LBU1BQdHFhk =YaEf -----END PGP SIGNATURE----- --cyV/sMl4KAhiehtf--