mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
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:
parent
8971dd7cdc
commit
f84ea48b80
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user