]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: pg_num should always be a power of two
authorKai Wagner <kwagner@suse.com>
Fri, 26 Jul 2019 14:55:09 +0000 (16:55 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 29 Aug 2019 12:34:54 +0000 (14:34 +0200)
Signed-off-by: Kai Wagner <kwagner@suse.com>
(cherry picked from commit 3660e17e4b6a681fdca113740ff8b63b17b393d5)

doc/rados/operations/placement-groups.rst

index 63048cdd735a0c8aa39a7ba667696e32efdfff44..84e7fa47d841e21d60dea09a4424ca16051dbf17 100644 (file)
@@ -433,9 +433,11 @@ You should then check if the result makes sense with the way you
 designed your Ceph cluster to maximize `data durability`_,
 `object distribution`_ and minimize `resource usage`_.
 
-The result should be **rounded up to the nearest power of two.**
-Rounding up is optional, but recommended for CRUSH to more evenly balance
-the number of objects among placement groups.
+The result should always be **rounded up to the nearest power of two.**
+A power of two will evenly balance the number of objects among placement groups. 
+You could set it to a different value but you should be aware that this could result in 
+an uneven distribution of data across your OSDs. Use of such values shoud be limited to 
+incrementally stepping from one power of two to another.
 
 As an example, for a cluster with 200 OSDs and a pool size of 3
 replicas, you would estimate your number of PGs as follows::