All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there any way to throttle recovery?
@ 2012-09-03  6:42 Vladimir Bashkirtsev
  2012-09-03  8:11 ` Wido den Hollander
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Bashkirtsev @ 2012-09-03  6:42 UTC (permalink / raw)
  To: ceph-devel

Hello devs,

I have noticed that while ceph recovering from OSD failure RBD 
performance becomes dismal. Judging by load on the net ceph attempts to 
shuffle around huge amount of data leaving virtually no bandwidth for 
normal operations. Is there any way to throttle recovery process? 
Network throttling is out of question as it will slow everything down. 
So I guess ceph should have (or already has) a setting which says do not 
recover faster than X.

Regards,
Vladimir

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is there any way to throttle recovery?
  2012-09-03  6:42 Is there any way to throttle recovery? Vladimir Bashkirtsev
@ 2012-09-03  8:11 ` Wido den Hollander
  0 siblings, 0 replies; 2+ messages in thread
From: Wido den Hollander @ 2012-09-03  8:11 UTC (permalink / raw)
  To: Vladimir Bashkirtsev; +Cc: ceph-devel



On 09/03/2012 08:42 AM, Vladimir Bashkirtsev wrote:
> Hello devs,
>
> I have noticed that while ceph recovering from OSD failure RBD
> performance becomes dismal. Judging by load on the net ceph attempts to
> shuffle around huge amount of data leaving virtually no bandwidth for
> normal operations. Is there any way to throttle recovery process?
> Network throttling is out of question as it will slow everything down.
> So I guess ceph should have (or already has) a setting which says do not
> recover faster than X.
>

I don't know if there is a bandwidth throttle, but you could lower the 
number of recovery ops with:

osd recovery max active = 1

By default it is set to 5, by tuning this down you'll put less stress on 
the OSDs and it will probably also result in less network traffic.

Wido

> Regards,
> Vladimir
> --
> 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] 2+ messages in thread

end of thread, other threads:[~2012-09-03  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03  6:42 Is there any way to throttle recovery? Vladimir Bashkirtsev
2012-09-03  8:11 ` Wido den Hollander

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.