Re: ceph mgr balancer bad distribution

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

 



On Fri, Mar 2, 2018 at 10:12 AM, Stefan Priebe - Profihost AG
<s.priebe@xxxxxxxxxxxx> wrote:
> Thanks! Your patch works great!

Cool! I plan to add one more feature to allow operators to switch off
components of the score function. Currently, by only changing the key
to 'bytes', we aren't able to fully balance things because at some
point the pgs score gets too suboptimal and the overall score reaches
a min value.

> The only problem I still see is that the
> balancer kicks in even when the old optimize has not finished. It seems it
> only evaluated the degraded of value. But while remapping it can happen that
> none are degraded but a lot are still misplaced.
>
> I think the balancer should evaluate the ceph health status as well.

I guess this point is debatable. On our clusters we use max_misplaced
= 0.01 and set the begin_hour end_hour to daytime hours so that by the
late evening, every day, the cluster is back to HEALTH_OK.

Cheers, Dan

> Stefan
>
> Excuse my typo sent from my mobile phone.
>
> Am 01.03.2018 um 13:12 schrieb Dan van der Ster <dan@xxxxxxxxxxxxxx>:
>
> On Thu, Mar 1, 2018 at 1:08 PM, Stefan Priebe - Profihost AG
> <s.priebe@xxxxxxxxxxxx> wrote:
>
> nice thanks will try that soon.
>
>
> Can you tell me how to change the log lever to info for the balancer module?
>
>
> debug mgr = 4/5
>
> -- dan
--
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