]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add PG definition 55630/head
authorZac Dover <zac.dover@proton.me>
Sat, 17 Feb 2024 05:28:24 +0000 (15:28 +1000)
committerZac Dover <zac.dover@proton.me>
Sun, 18 Feb 2024 02:32:19 +0000 (12:32 +1000)
Add a definition of Placement Groups to
doc/rados/operations/placement-groups.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 39c809b33fe27064277292b721639cbb144fac6a)

doc/rados/operations/placement-groups.rst

index 2e2e385a5161b6feca4b6d25ad831c60ae26aa79..ab1fefe83cdb3b163e8c0891c3660e58db97e944 100644 (file)
@@ -4,9 +4,19 @@
  Placement Groups
 ==================
 
+Placement groups (PGs) are subsets of each logical Ceph pool. Placement groups
+perform the function of placing objects (as a group) into OSDs. Ceph manages
+data internally at placement-group granularity: this scales better than would
+managing individual RADOS objects. A cluster that has a larger number of
+placement groups (for example, 150 per OSD) is better balanced than an
+otherwise identical cluster with a smaller number of placement groups.
+
+Ceph’s internal RADOS objects are each mapped to a specific placement group,
+and each placement group belongs to exactly one Ceph pool.
+
 See Sage Weil's blog post `New in Nautilus: PG merging and autotuning
 <https://ceph.io/en/news/blog/2019/new-in-nautilus-pg-merging-and-autotuning/>`_
-for information about the relationship of placement groups to pools and to
+for more information about the relationship of placement groups to pools and to
 objects.
 
 .. _pg-autoscaler: