]> git.apps.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)
committerKai Wagner <kwagner@suse.com>
Tue, 30 Jul 2019 06:35:16 +0000 (08:35 +0200)
Signed-off-by: Kai Wagner <kwagner@suse.com>
doc/rados/operations/placement-groups.rst

index 25135d6314b8e336ee538750d3ca570c07e45f81..cffceda9d4759f28bf9b831a298ec4e8a9739ce9 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::