From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <201102181445.41877.dexen.devries@gmail.com> <201102181753.30125.dexen.devries@gmail.com> <7769a67a9fbc1fae2186ff9315457e0d@ladd.quanstro.net> <20110218194658.8BEA75B77@mail.bitblocks.com> Date: Fri, 18 Feb 2011 13:06:43 -0800 Message-ID: From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely Topicbox-Message-UUID: b171c11e-ead6-11e9-9d60-3106f5b1d025 On Fri, Feb 18, 2011 at 12:15 PM, erik quanstrom wr= ote: >> > i don't think that it makes sense to say that since replica >> > is slow and hg/rsync are fast, it follows that 9p is slow. >> >> It is the other way around. 9p can't handle latency so on >> high latency pipes programs using 9p won't be as fast as >> programs using streaming (instead of rpc). Granted that there >> are many other factors when it comes to hg & replica but >> latency is a major one. > > you're still comparing apples and girraffes. =A0rsync/hg have > protocols ment for syncing. =A0replica uses 9p, which is not a > protocol designed for syncing. =A0it's designed for regular file > access. =A0it would be similarly difficult to use rsync's protocol > directly for file access. > So why does replica use 9P? Because it's *The Plan 9 Protocol*. If *The Plan 9 Protocol* turns out to not serve our needs, we need to figure out why. You like to put forward devmnt's penchant for only having one Tread/Twrite per process in flight at one time. I agree that this is a problem, now, how do we fix it? All it needs is somebody willing to rewrite devmnt... I think you may just have to rewrite mntrdwr to be just a little smarter. Any takers? 9P as specified in the documentation might not necessarily be the problem, but the implementation apparently is. > while 9p can and should be improved upon, this case doesn't > seem like a real motivator. =A0the nfs guys don't complain similarly > about nfs loosing to rsync. > > - erik I don't see the NFS guys pretending that NFS is a good protocol for transferring large files across high-latency links... I've only ever heard of it being used in LAN environments. Yet 9P, which is not really that dissimilar for NFS in basic concept, gets presented as something we ought to be using over the Internet, for example to keep our systems updated. John