]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/pg_autoscaler: default to pg_num[_min] = 16 32069/head
authorSage Weil <sage@redhat.com>
Thu, 14 Nov 2019 15:37:44 +0000 (09:37 -0600)
committerNathan Cutler <ncutler@suse.com>
Fri, 6 Dec 2019 13:14:38 +0000 (14:14 +0100)
commite5135ee5b0143870f7f91069192b5faa91285b58
tree890bdf1e753f7232729dc2a77d6a51ed9684c01d
parenta67a2701414c74b705587a959f029576ef997aa6
mgr/pg_autoscaler: default to pg_num[_min] = 16

4 or 8 PGs doesn't provide much parallelism at baseline.  Start with 16
and set the floor there; that's a more reasonable number of OSDs that
will be put to work on a single pool.

Note that there is no magic number here.  At some point someone has to
tell Ceph if an empty pool should get lots of PGs across lots of devices
to get the full throughput of the cluster.  But this will be a bit less
painful/surprising for users.

Fixes: https://tracker.ceph.com/issues/42509
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 78bf92448002eece7501da01b67f900a84207e70)
doc/rados/configuration/pool-pg-config-ref.rst
src/common/options.cc
src/pybind/mgr/pg_autoscaler/module.py