Re: Beta testing crush optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you can get the crushmap from
https://drive.google.com/open?id=0B5Kd4hBGEUvnUU9BcWY1NWtWNHM.

2017-06-01 20:08 GMT+08:00 Loic Dachary <loic@xxxxxxxxxxx>:
>
>
> On 06/01/2017 01:52 PM, han vincent wrote:
>> 2017-06-01 19:43 GMT+08:00 Loic Dachary <loic@xxxxxxxxxxx>:
>>>
>>>
>>> On 06/01/2017 01:38 PM, han vincent wrote:
>>>> 2017-06-01 18:21 GMT+08:00 Loic Dachary <loic@xxxxxxxxxxx>:
>>>>>
>>>>>
>>>>> On 06/01/2017 12:05 PM, han vincent wrote:
>>>>>> Hi loic:
>>>>>>    I still have two questions, in the following to commands:
>>>>>>
>>>>>>    1. crush optimize --crushmap /tmp/han-vincent-report.json --out-path /tmp/han-vincent-report-optimized.txt --out-format txt --pool 49
>>>>>>
>>>>>>    Is "--pool" options must specified in this command? if not, will it optimize all the pools without "--pool" option?
>>>>>>    if there are several pools in my cluster and each pool has a lot of pgs. If I optimize one of the, will it affect the other pools?
>>>>>>    how to use it to optimize multiple pools in a cluster of hammer?
>>>>>>
>>>>>>    2. crush analyze --crushmap /tmp/han-vincent-report-optimized.txt --pool 49 --replication-count=2 --pg-num=1024 --pgp-num=1024 --rule=replicated_ruleset --choose-args=49
>>>>>>    In this command, the value of the "--choose-args" option is 49, it is same as the pool id, what is the mean of "--choose-args" option?
>>>>>>
>>>>>
>>>>> The --pool option is required. You can only optimize one pool at a time.
>>>>>
>>>>> If multiple pools use the same crush rule or the same crush hierarchy, rebalancing one of them will hurt the balance of the others. It is possible to optimize multiple pools but only if they have different rules and crush hiearchies.
>>>>>
>>>>> The --choose-args option is the name of the weights that achieve the rebalancing. By convention it is the same as the pool id: this is required by Luminous clusters. Even though your cluster is not luminous, we stick to this convention.
>>>>>
>>>>> Cheers
>>>>>
>>>>> --
>>>>> Loïc Dachary, Artisan Logiciel Libre
>>>>
>>>>  if the pools use the same crush rule or the same crush hierarchy, is
>>>> there any way to optimize the cluster?
>>>
>>> It depends on the pools. In your cluster it does not matter because all pools except pool 49 are mostly empty. You can rebalance pool 49 and leave the other pool alone.
>>>
>>> Cheers
>>>
>>> --
>>> Loïc Dachary, Artisan Logiciel Libre
>>
>> the crushmap of which cluster I send to you is in lab environment, I
>> have a much bigger cluster in production.
>> I will send the crushmap to you later, could you help me to optimize
>> this cluster?
>
> It is an interesting use case, I will help.
>
>> If you have detailed steps, please send it to me.
>
> Using the output of "ceph report" cluster, I will be able to verify it works as expected. The steps are simple but they will require an upgrade to Luminous.
>
> Cheers
>
> --
> Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux