All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Fick <mogulguy@yahoo.com>
To: "Cláudio Martins" <ctpm@ist.utl.pt>, "Sage Weil" <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: RBD/OSD questions
Date: Thu, 6 May 2010 14:41:59 -0700 (PDT)	[thread overview]
Message-ID: <784866.39317.qm@web36101.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1005061430230.18563@cobra.newdream.net>

--- On Thu, 5/6/10, Sage Weil <sage@newdream.net> wrote:
> On Thu, 6 May 2010, Cláudio Martins
> wrote:
> > On Thu, 6 May 2010 14:02:40 -0700 (PDT) Martin Fick
> <mogulguy@yahoo.com>
> wrote:
> > > To put this in the perspective of OSD setups, if you 
> > > already have stripping, using the replicas also may 
> > > not make much of a difference, but I wonder how a two
> > > node OSD setup with double redundancy would fair?  
> > > With such a setup there will not really be any 
> > > stripping will there?  With such a setup (one that I 
> > > can easily see being popular for simple/minimal RBD
> > > redundancy setups), perhaps replica "stripping"
> > > would help.  A 'smart' RBD could detect non
> > > contiguous reads and spread the reads out in that
> > > case.
> > 
> >  Unless I understood wrongly the Ceph papers, the
> > current situation is not that bad.
> > 
> >  IIRC, a big file will be stripped over many
> > different objects. Each object ID will map to 
> > its own primary replica, which will be vary from
> > object to object. Thus, given many clients reading
> > different chunks of that file, even 2 OSDs should
> > see a fairly equal amount of traffic. The same 
> > should be true for small files. Unless you have
> > lots of clients all reading the same file.
> 
> Yeah, you've got it right.  The rbd image is striped
> over small objects, which are independently assigned 
> to OSDs.  The load should be very well distributed.


How can that be on a 2 OSD setup with double redundancy?
In this case, if all of a replicas smaller objects are
not on a single node, how will it recover from an OSD 
failure?  

The only way I see this possible is if file foo is 
split into small objects A1 A2 A3 A4 and replicas B1 
B2 B3 B4 and you spread those across 2 OSDs like this:

replica 1 (A1 B2 A3 B4)
replica 2 (B1 A2 B3 A4)

but then A1 has to know that it is the same as B1.  Is
that the case?  If so, cool, that would mean that 
redundancy would already be providing some stripping
and thus, it would indeed seem harder to find a case
where more stripping/fanout is needed.

Ciao,

-Martin



      
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-05-06 21:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06 21:02 RBD/OSD questions Martin Fick
2010-05-06 21:22 ` Sage Weil
2010-05-06 21:24 ` Cláudio Martins
2010-05-06 21:31   ` Sage Weil
2010-05-06 21:41     ` Martin Fick [this message]
2010-05-06 21:54       ` Gregory Farnum
2010-05-06 22:20       ` Sage Weil
2010-05-07 16:38         ` Andreas Grimm
2010-05-07 16:43           ` Sage Weil
2010-05-11  8:39             ` Anton
2010-05-11 16:26               ` Sage Weil
  -- strict thread matches above, loose matches on Subject: below --
2010-05-06 22:28 Martin Fick
2010-05-06 16:07 Martin Fick
2010-05-06 17:14 ` Sage Weil

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=784866.39317.qm@web36101.mail.mud.yahoo.com \
    --to=mogulguy@yahoo.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=ctpm@ist.utl.pt \
    --cc=sage@newdream.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.