summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-01-03 14:51:33 -0800
committerJohn Wilkins <john.wilkins@inktank.com>2013-01-03 14:51:33 -0800
commit88af7d182a14355f8166cd9ec18f69da656324ec (patch)
tree86300568d8698ac624391955a4ac16c8b9fff8c1
parent73bc8ffc9059101905c15116acbaf7a2de5e3af3 (diff)
downloadceph-88af7d182a14355f8166cd9ec18f69da656324ec.tar.gz
doc: Added defaults for PGs, links to recommended settings, and updated note on splitting.
Fixes: #3555 Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r--doc/rados/operations/pools.rst35
1 files changed, 25 insertions, 10 deletions
diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst
index 7a6bc6fc61d..a13fa91bcd8 100644
--- a/doc/rados/operations/pools.rst
+++ b/doc/rados/operations/pools.rst
@@ -64,21 +64,36 @@ Where:
``{pg-num}``
-:Description: The total number of placement groups for the pool
+:Description: The total number of placement groups for the pool. See `Placement
+ Groups`_ for details on calculating a suitable number. The
+ default value ``8`` is NOT suitable for most systems.
+
:Type: Integer
-:Required: No
+:Required: Yes
+:Default: 8
``{pgp-num}``
-:Description: The total number of placement groups for placement purposes.
-:Type: Integer
-:Required: No
-
-When you create a pool, you should consider setting the number of
-placement groups.
+:Description: The total number of placement groups for placement purposes. This
+ **should be equal to the total number of placement groups**, except
+ for placement group splitting scenarios.
-.. important:: You cannot change the number of placement groups in a pool
- after you create it.
+:Type: Integer
+:Required: Yes
+:Default: 8
+
+When you create a pool, set the number of placement groups to a reasonable value
+(e.g., ``100``). Consider the total number of placement groups per OSD too.
+Placement groups are computationally expensive, so performance will degrade when
+you have many pools with many placement groups (e.g., 50 pools with 100
+placement groups each). The point of diminishing returns depends upon the power
+of the OSD host.
+
+.. important:: Increasing the number of placement groups in a pool after you
+ create the pool is still an experimental feature in Bobtail (v 0.56). We
+ recommend defining a reasonable number of placement groups and maintaining
+ that number until Ceph's placement group splitting and merging
+ functionality matures.
See `Placement Groups`_ for details on calculating an appropriate number of
placement groups for your pool.