9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Francisco Ballesteros <nemo@lsub.org>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] reliability and failing over.
Date: Fri,  9 Sep 2005 18:24:34 -0400	[thread overview]
Message-ID: <ee9e417a050909152442b0a400@mail.gmail.com> (raw)
In-Reply-To: <600308d6050909151067389b35@mail.gmail.com>

> Funny. The 9p reliability project looks to me a lot like the redirfs
> that we played with before introducing the Plan B volumes into the kernel.
> It provided failover (on replicated FSs, by some other means) and could
> recover the fids just by keeping track of their paths.
> 
> The user level process I'm with now is quite similar to that (appart from
> including the language to select particular volumes) it maintains a fid
> table knowning which server, and which path within the server are the ones
> for each fid. It's what the Plan B kernel ns does, but within a server.
> 
> Probably, the increase in latency you are seeing is the one I'm going to
> see in volfs. The 2x penalty in performace is what one could expect, because
> you have twice the latency. However, the in-kernel implementation has no
> penalty at all, because the kernel can rewrite the mount tables.
> 
> Maybe we should talk about this.
> Eric? Russ? What do you say? Is it worth to pay the extra
> latency just to avoid a change (serious, I admit) in the kernel?

I keep seeing that 2x number but I still don't believe it's actually
reasonable to measure the hit on an empty loopback file server.
Do something over a 100Mbps file server connection
talking to fossil and see what performance hit you get then.

Stuff in the kernel is much harder to change and debug.
Unless there's a compelling reason, I'd like to see it stay
in user space.  And I'm not yet convinced that performance
is a compelling reason.

Russ


  reply	other threads:[~2005-09-09 22:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-09 20:55 [9fans] sept. town hall meeting Francisco Ballesteros
2005-09-09 21:05 ` Uriel
2005-09-09 22:10   ` [9fans] reliability and failing over Francisco Ballesteros
2005-09-09 22:24     ` Russ Cox [this message]
2005-09-09 22:50       ` Gorka guardiola
2005-09-09 23:02         ` Francisco Ballesteros
2005-09-09 23:06           ` Russ Cox
2005-09-09 23:16             ` Francisco Ballesteros
2005-09-10 13:11           ` Sape Mullender
2005-09-10 21:36             ` Francisco Ballesteros
2005-09-10  1:22     ` Eric Van Hensbergen

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=ee9e417a050909152442b0a400@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    --cc=nemo@lsub.org \
    /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).