From: Jevon Qiao <qiaojianfeng@unitedstack.com>
To: "Stefan Priebe" <s.priebe@profihost.ag>,
"Samuel Just" <sjust@redhat.com>, 乔建峰 <scaleqiao@gmail.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>,
ceph-users <ceph-users@ceph.com>,
cbt@ceph.com
Subject: Re: [ceph-users] Is it safe to increase pg number in a production environment
Date: Wed, 5 Aug 2015 09:50:39 +0800 [thread overview]
Message-ID: <55C16BEF.20907@unitedstack.com> (raw)
In-Reply-To: <55C0ED88.2050102@profihost.ag>
Got it, thank you for the suggestion.
Regards,
Jevon
On 5/8/15 00:51, Stefan Priebe wrote:
> We've done the splitting several times. The most important thing is to
> run a ceph version which does not have the linger ops bug.
>
> This is dumpling latest release, giant and hammer. Latest firefly
> release still has this bug. Which results in wrong watchers and no
> working snapshots.
>
> Stefan
> Am 04.08.2015 um 18:46 schrieb Samuel Just:
>> It will cause a large amount of data movement. Each new pg after the
>> split will relocate. It might be ok if you do it slowly. Experiment
>> on a test cluster.
>> -Sam
>>
>> On Mon, Aug 3, 2015 at 12:57 AM, 乔建峰 <scaleqiao@gmail.com> wrote:
>>> Hi Cephers,
>>>
>>> This is a greeting from Jevon. Currently, I'm experiencing an issue
>>> which
>>> suffers me a lot, so I'm writing to ask for your
>>> comments/help/suggestions.
>>> More details are provided bellow.
>>>
>>> Issue:
>>> I set up a cluster having 24 OSDs and created one pool with 1024
>>> placement
>>> groups on it for a small startup company. The number 1024 was
>>> calculated per
>>> the equation 'OSDs * 100'/pool size. The cluster have been running
>>> quite
>>> well for a long time. But recently, our monitoring system always
>>> complains
>>> that some disks' usage exceed 85%. I log into the system and find
>>> out that
>>> some disks' usage are really very high, but some are not(less than
>>> 60%).
>>> Each time when the issue happens, I have to manually re-balance the
>>> distribution. This is a short-term solution, I'm not willing to do
>>> it all
>>> the time.
>>>
>>> Two long-term solutions come in my mind,
>>> 1) Ask the customers to expand their clusters by adding more OSDs.
>>> But I
>>> think they will ask me to explain the reason of the imbalance data
>>> distribution. We've already done some analysis on the environment, we
>>> learned that the most imbalance part in the CRUSH is the mapping
>>> between
>>> object and pg. The biggest pg has 613 objects, while the smallest pg
>>> only
>>> has 226 objects.
>>>
>>> 2) Increase the number of placement groups. It can be of great help for
>>> statistically uniform data distribution, but it can also incur
>>> significant
>>> data movement as PGs are effective being split. I just cannot do it
>>> in our
>>> customers' environment before we 100% understand the consequence. So
>>> anyone
>>> did this under a production environment? How much does this
>>> operation affect
>>> the performance of Clients?
>>>
>>> Any comments/help/suggestions will be highly appreciated.
>>>
>>> --
>>> Best Regards
>>> Jevon
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>> --
>> 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
>>
> --
> 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
--
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
next prev parent reply other threads:[~2015-08-05 1:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 7:57 Is it safe to increase pg number in a production environment 乔建峰
2015-08-04 16:46 ` [ceph-users] " Samuel Just
2015-08-04 16:51 ` Stefan Priebe
2015-08-04 19:16 ` Ketor D
[not found] ` <CAM9_UU8Mxycvk91NSrFSMQ5=jDxaXcajzB7CTGDZ2sJJ0YW7-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-04 19:48 ` Stefan Priebe
2015-08-11 15:31 ` [ceph-users] " Dan van der Ster
2015-08-11 16:02 ` Jan Schermer
2015-08-05 1:50 ` Jevon Qiao [this message]
2015-08-04 16:52 ` Marek Dohojda
2015-08-04 17:23 ` Jan Schermer
2015-08-05 3:45 ` Jevon Qiao
2015-08-05 11:36 ` Jan Schermer
2015-08-07 1:39 ` Jevon Qiao
2015-08-05 1:43 ` Jevon Qiao
[not found] ` <55C16A52.4040403-OsJI6HhKm/eMe3Hu20U6GA@public.gmane.org>
2015-08-05 16:04 ` Marek Dohojda
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=55C16BEF.20907@unitedstack.com \
--to=qiaojianfeng@unitedstack.com \
--cc=cbt@ceph.com \
--cc=ceph-devel@vger.kernel.org \
--cc=ceph-users@ceph.com \
--cc=s.priebe@profihost.ag \
--cc=scaleqiao@gmail.com \
--cc=sjust@redhat.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.