* What the ceph do when detecting one OSD overloaded?
@ 2014-06-06 8:14 zou wonder
2014-06-06 8:27 ` Wido den Hollander
0 siblings, 1 reply; 5+ messages in thread
From: zou wonder @ 2014-06-06 8:14 UTC (permalink / raw)
To: ceph-devel
Hi buddies,
I am doing investigation on Ceph and Swift,and I am newbie to Ceph.
I am unclear to the behaviour of the Ceph when there is overload situation.
According to the doc, when Ceph do CRUSH, if it find the OSD is overload,
it will skip it to select the other OSD. It means if the OSD don't get
overloaded
the object should be put in this OSD. So how about the original on put on
this OSD when it is not get overloaded?
Can we read it ? When doing CRUSH , the OSD will be skip.
If my understanding is wrong, please correct me.
Best Regards,
zou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What the ceph do when detecting one OSD overloaded?
2014-06-06 8:14 What the ceph do when detecting one OSD overloaded? zou wonder
@ 2014-06-06 8:27 ` Wido den Hollander
2014-06-06 9:27 ` zou wonder
0 siblings, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2014-06-06 8:27 UTC (permalink / raw)
To: zou wonder, ceph-devel
On 06/06/2014 10:14 AM, zou wonder wrote:
> Hi buddies,
>
> I am doing investigation on Ceph and Swift,and I am newbie to Ceph.
>
> I am unclear to the behaviour of the Ceph when there is overload situation.
> According to the doc, when Ceph do CRUSH, if it find the OSD is overload,
> it will skip it to select the other OSD. It means if the OSD don't get
> overloaded
> the object should be put in this OSD. So how about the original on put on
> this OSD when it is not get overloaded?
> Can we read it ? When doing CRUSH , the OSD will be skip.
>
CRUSH will not take any performance characteristics into account. If a
OSD is 100% utilized it will still be selected by CRUSH.
Keep in mind however that Block Devices are striped in 4MB chunks and
the same happens for Objects stored via the RADOS Gateway.
> If my understanding is wrong, please correct me.
>
> Best Regards,
> zou
> --
> 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
>
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What the ceph do when detecting one OSD overloaded?
2014-06-06 8:27 ` Wido den Hollander
@ 2014-06-06 9:27 ` zou wonder
2014-06-06 10:35 ` Wido den Hollander
2014-06-06 15:46 ` Sage Weil
0 siblings, 2 replies; 5+ messages in thread
From: zou wonder @ 2014-06-06 9:27 UTC (permalink / raw)
To: Wido den Hollander; +Cc: ceph-devel
Hi Wido:
Thanks for your kindness, i checked the codes just now, seems there
were no overload related thing in CRUSH codes. It is a little bit not
consistent with the CRUSH paper.
So if the %100 utilized OSD is returned, the objects will still be
written on the underlined storage device?
How about the device failure case? All the objects on the failure
device will be replicated to the good ones? once the device is
recoverd, the data will be replicated back?
Best Regards
Zou
On Fri, Jun 6, 2014 at 4:27 PM, Wido den Hollander <wido@42on.com> wrote:
> On 06/06/2014 10:14 AM, zou wonder wrote:
>>
>> Hi buddies,
>>
>> I am doing investigation on Ceph and Swift,and I am newbie to Ceph.
>>
>> I am unclear to the behaviour of the Ceph when there is overload
>> situation.
>> According to the doc, when Ceph do CRUSH, if it find the OSD is overload,
>> it will skip it to select the other OSD. It means if the OSD don't get
>> overloaded
>> the object should be put in this OSD. So how about the original on put on
>> this OSD when it is not get overloaded?
>> Can we read it ? When doing CRUSH , the OSD will be skip.
>>
>
> CRUSH will not take any performance characteristics into account. If a OSD
> is 100% utilized it will still be selected by CRUSH.
>
> Keep in mind however that Block Devices are striped in 4MB chunks and the
> same happens for Objects stored via the RADOS Gateway.
>
>> If my understanding is wrong, please correct me.
>>
>> Best Regards,
>> zou
>> --
>> 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
>>
>
>
> --
> Wido den Hollander
> 42on B.V.
> Ceph trainer and consultant
>
> Phone: +31 (0)20 700 9902
> Skype: contact42on
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What the ceph do when detecting one OSD overloaded?
2014-06-06 9:27 ` zou wonder
@ 2014-06-06 10:35 ` Wido den Hollander
2014-06-06 15:46 ` Sage Weil
1 sibling, 0 replies; 5+ messages in thread
From: Wido den Hollander @ 2014-06-06 10:35 UTC (permalink / raw)
To: zou wonder; +Cc: ceph-devel
On 06/06/2014 11:27 AM, zou wonder wrote:
> Hi Wido:
>
> Thanks for your kindness, i checked the codes just now, seems there
> were no overload related thing in CRUSH codes. It is a little bit not
> consistent with the CRUSH paper.
> So if the %100 utilized OSD is returned, the objects will still be
> written on the underlined storage device?
>
Yes. If the OSD is up/in it will be selected by CRUSH and data will be
read from it and written to it.
Again, having one OSD being 100% utilized and the rest 40% is not
something you'll see very often since you stripe data over objects.
> How about the device failure case? All the objects on the failure
> device will be replicated to the good ones? once the device is
> recoverd, the data will be replicated back?
When the OSD fails recovery will kick in after 5 minutes and the data
will find a new location.
If the OSD comes back, the data goes back to that OSD.
>
> Best Regards
> Zou
>
> On Fri, Jun 6, 2014 at 4:27 PM, Wido den Hollander <wido@42on.com> wrote:
>> On 06/06/2014 10:14 AM, zou wonder wrote:
>>>
>>> Hi buddies,
>>>
>>> I am doing investigation on Ceph and Swift,and I am newbie to Ceph.
>>>
>>> I am unclear to the behaviour of the Ceph when there is overload
>>> situation.
>>> According to the doc, when Ceph do CRUSH, if it find the OSD is overload,
>>> it will skip it to select the other OSD. It means if the OSD don't get
>>> overloaded
>>> the object should be put in this OSD. So how about the original on put on
>>> this OSD when it is not get overloaded?
>>> Can we read it ? When doing CRUSH , the OSD will be skip.
>>>
>>
>> CRUSH will not take any performance characteristics into account. If a OSD
>> is 100% utilized it will still be selected by CRUSH.
>>
>> Keep in mind however that Block Devices are striped in 4MB chunks and the
>> same happens for Objects stored via the RADOS Gateway.
>>
>>> If my understanding is wrong, please correct me.
>>>
>>> Best Regards,
>>> zou
>>> --
>>> 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
>>>
>>
>>
>> --
>> Wido den Hollander
>> 42on B.V.
>> Ceph trainer and consultant
>>
>> Phone: +31 (0)20 700 9902
>> Skype: contact42on
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What the ceph do when detecting one OSD overloaded?
2014-06-06 9:27 ` zou wonder
2014-06-06 10:35 ` Wido den Hollander
@ 2014-06-06 15:46 ` Sage Weil
1 sibling, 0 replies; 5+ messages in thread
From: Sage Weil @ 2014-06-06 15:46 UTC (permalink / raw)
To: zou wonder; +Cc: Wido den Hollander, ceph-devel
On Fri, 6 Jun 2014, zou wonder wrote:
> Hi Wido:
>
> Thanks for your kindness, i checked the codes just now, seems there
> were no overload related thing in CRUSH codes. It is a little bit not
> consistent with the CRUSH paper.
> So if the %100 utilized OSD is returned, the objects will still be
> written on the underlined storage device?
The 'overload' discussion in the CRUSH paper corresonds to the
ceph osd reweight-by-utilization
command, which looks at disk utilizations and adjusts the osd reweight
values to divert some mappings away from OSDs with
significantly above-average utilizations. This tightens up the
statistical variance in utilizations across devices.
sage
>
> How about the device failure case? All the objects on the failure
> device will be replicated to the good ones? once the device is
> recoverd, the data will be replicated back?
>
> Best Regards
> Zou
>
> On Fri, Jun 6, 2014 at 4:27 PM, Wido den Hollander <wido@42on.com> wrote:
> > On 06/06/2014 10:14 AM, zou wonder wrote:
> >>
> >> Hi buddies,
> >>
> >> I am doing investigation on Ceph and Swift,and I am newbie to Ceph.
> >>
> >> I am unclear to the behaviour of the Ceph when there is overload
> >> situation.
> >> According to the doc, when Ceph do CRUSH, if it find the OSD is overload,
> >> it will skip it to select the other OSD. It means if the OSD don't get
> >> overloaded
> >> the object should be put in this OSD. So how about the original on put on
> >> this OSD when it is not get overloaded?
> >> Can we read it ? When doing CRUSH , the OSD will be skip.
> >>
> >
> > CRUSH will not take any performance characteristics into account. If a OSD
> > is 100% utilized it will still be selected by CRUSH.
> >
> > Keep in mind however that Block Devices are striped in 4MB chunks and the
> > same happens for Objects stored via the RADOS Gateway.
> >
> >> If my understanding is wrong, please correct me.
> >>
> >> Best Regards,
> >> zou
> >> --
> >> 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
> >>
> >
> >
> > --
> > Wido den Hollander
> > 42on B.V.
> > Ceph trainer and consultant
> >
> > Phone: +31 (0)20 700 9902
> > Skype: contact42on
> --
> 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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-06 15:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 8:14 What the ceph do when detecting one OSD overloaded? zou wonder
2014-06-06 8:27 ` Wido den Hollander
2014-06-06 9:27 ` zou wonder
2014-06-06 10:35 ` Wido den Hollander
2014-06-06 15:46 ` Sage Weil
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.