* How to reduce the influenct on the IO when an osd is marked out?
@ 2015-10-10 3:52 wangsongbo
2015-10-10 12:29 ` [ceph-users] " Martin Bureau
2015-10-10 13:39 ` Sage Weil
0 siblings, 2 replies; 3+ messages in thread
From: wangsongbo @ 2015-10-10 3:52 UTC (permalink / raw)
To: ceph-devel, ceph-users-Qp0mS5GaXlQ
Hi all,
when an osd is marked out, relative IO will be blocked, in which case,
application built on ceph will fail.According to test result, the larger
a data is,the longer it will take to elapse.
How to reduce the impact of this process on the IO?
Thanks and Regards,
WangSongbo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ceph-users] How to reduce the influenct on the IO when an osd is marked out?
2015-10-10 3:52 How to reduce the influenct on the IO when an osd is marked out? wangsongbo
@ 2015-10-10 12:29 ` Martin Bureau
2015-10-10 13:39 ` Sage Weil
1 sibling, 0 replies; 3+ messages in thread
From: Martin Bureau @ 2015-10-10 12:29 UTC (permalink / raw)
To: wangsongbo, ceph-devel, ceph-users@ceph.com
Hello,
You can use these settings to lower the impact of backfilling and recovery operations:
osd max backfills
osd recovery max active
Additionally, if you are using the cfq io scheduler, with these you can set the io priority of recovery operations versus client operations:
osd client op priority
osd recovery op priority
Finally, if the osd is down temporarily because of a maintenance for example, you can set the noout flag (ceph osd set noout) so that backfilling will not occur during this time.
Regards,
Martin
________________________________________
From: ceph-users <ceph-users-bounces@lists.ceph.com> on behalf of wangsongbo <songbo1227@gmail.com>
Sent: October 9, 2015 11:52 PM
To: ceph-devel; ceph-users@ceph.com
Subject: [ceph-users] How to reduce the influenct on the IO when an osd is marked out?
Hi all,
when an osd is marked out, relative IO will be blocked, in which case,
application built on ceph will fail.According to test result, the larger
a data is,the longer it will take to elapse.
How to reduce the impact of this process on the IO?
Thanks and Regards,
WangSongbo
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to reduce the influenct on the IO when an osd is marked out?
2015-10-10 3:52 How to reduce the influenct on the IO when an osd is marked out? wangsongbo
2015-10-10 12:29 ` [ceph-users] " Martin Bureau
@ 2015-10-10 13:39 ` Sage Weil
1 sibling, 0 replies; 3+ messages in thread
From: Sage Weil @ 2015-10-10 13:39 UTC (permalink / raw)
To: wangsongbo; +Cc: ceph-devel, sjust
[dropping ceph-users]
On Sat, 10 Oct 2015, wangsongbo wrote:
> Hi all,
> when an osd is marked out, relative IO will be blocked, in which case,
> application built on ceph will fail.According to test result, the larger a
> data is,the longer it will take to elapse.
> How to reduce the impact of this process on the IO?
When you mark an osd out the mon is doing prime_pg_temp, which
preemptively remaps the PG to the same OSDs. This should make peering
fast... except that the OSDs still have to do a cycle of up_thru updates.
Sam, I think we can do the following to avoid this:
- in build prior, we can infer that that interval for last_epoch_start is
also a rw interval (because clearly it finished peering).
- if the acting set and primary do not change, we can skip the up_thru
update (because we will already infer rw from above).
I think the only caveat is that we can only skip the up_thru update
once the entire cluster has a feature bit indicating they understand
that last_epoch_started implies rw.
Anyway, this would mean that there's no subsequent mon interaction after
the mark out (and probably lots of other common scenarios)...
What do you think?
sage
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-10 13:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-10 3:52 How to reduce the influenct on the IO when an osd is marked out? wangsongbo
2015-10-10 12:29 ` [ceph-users] " Martin Bureau
2015-10-10 13:39 ` 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.