All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@dreamhost.com>
To: huang jun <hjwsm1989@gmail.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: workload balance
Date: Thu, 30 Jun 2011 11:04:21 -0700	[thread overview]
Message-ID: <4E0CBAA5.50804@dreamhost.com> (raw)
In-Reply-To: <BANLkTi=rSvuawL_VqVYZqpif=GEj+iivmQ@mail.gmail.com>

On 06/27/2011 05:25 PM, huang jun wrote:
> thanks,Josh
> By default,we set two replicas for each PG,so if we use ceph
> as back-end storage of a website, you know, some files will be frequently read,
> if then of thousands clients do this, some osd's workload will be very high.
> so in this circumstance, how to balance the whole  cluster's workload?

If the files don't change often, they can be cached by the clients. If
there really is one object that is being updated and read frequently,
there's not much you can do currently. To reduce the load on the primary
OSD, we could add a flag to the MDS to tell clients to read from
replicas based on the usage.

Josh
--
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:[~2011-06-30 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  9:34 workload balance huang jun
2011-06-27 21:06 ` Josh Durgin
2011-06-28  0:25   ` huang jun
2011-06-30 18:04     ` Josh Durgin [this message]
2011-07-01  0:13       ` huang jun
2011-07-17 10:31       ` srimugunthan dhandapani
2011-07-19 14:39         ` 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=4E0CBAA5.50804@dreamhost.com \
    --to=josh.durgin@dreamhost.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=hjwsm1989@gmail.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 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.