doc/rados, sample.ceph.conf: pg_num should always be a power of two

Signed-off-by: Thomas Schneider <thomas@brainfuck.space>
This commit is contained in:
Thomas Schneider 2019-11-11 22:21:11 +01:00
parent 8971dd7cdc
commit f84ea48b80
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,7 @@
# divided by the number of replicas (i.e., osd pool default size). So for
# 10 OSDs and osd pool default size = 4, we'd recommend approximately
# (100 * 10) / 4 = 250.
# always use the nearest power of 2
osd pool default pg num = 250
osd pool default pgp num = 250
osd pool default pg num = 256
osd pool default pgp num = 256

View File

@ -113,6 +113,7 @@
## divided by the number of replicas (i.e., osd pool default size). So for
## 10 OSDs and osd pool default size = 3, we'd recommend approximately
## (100 * 10) / 3 = 333
## always round to the nearest power of 2
# Description: The default number of placement groups for a pool. The
# default value is the same as pg_num with mkpool.