CEPH filesystem development
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Is there any way to throttle recovery?
Date: Mon, 03 Sep 2012 10:11:47 +0200	[thread overview]
Message-ID: <50446643.2010705@widodh.nl> (raw)
In-Reply-To: <50445150.7080804@bashkirtsev.com>



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

      reply	other threads:[~2012-09-03  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03  6:42 Is there any way to throttle recovery? Vladimir Bashkirtsev
2012-09-03  8:11 ` Wido den Hollander [this message]

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=50446643.2010705@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    --cc=vladimir@bashkirtsev.com \
    /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