Re: Expected behaviour when pg_autoscale_mode off

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

 



Hello Sandor,

On Fri, Apr 22, 2022 at 3:20 AM Sandor Zeestraten
<sandor@xxxxxxxxxxxxxxx> wrote:
> The autoscaler then started lowering the PGs as expected as the pool was
> still empty and I haven't set any target_size.
> However, after I turned off pg_autoscale_mode on the pool, it kept on
> lowering the PGs down to what in my case was the new pg_num_target of 32.

The autoscaler sets pg_num_target when enabled, and then it's up to
the mgr to get the system to the new pg_num_target whether or not the
autoscaler is enabled. (With the autoscaler off, setting a new pg_num
will actually set pg_num_target, to the same effect.)

In other words, turning the autoscaler off _after_ it has already
acted won't do anything for you. It needs to be disabled before it has
a chance to change your pool settings in the case that you don't want
it to act on your pool.

Josh
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux