mirror of
https://github.com/ceph/ceph
synced 2025-02-20 09:27:35 +00:00
documentation: adapt PG formula for erasure coded pools
Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
04f8e0effa
commit
ab0db34eaa
@ -43,9 +43,13 @@ across your cluster. We recommend approximately 50-100 placement groups per OSD
|
||||
to balance out memory and CPU requirements and per-OSD load. For a single pool
|
||||
of objects, you can use the following formula::
|
||||
|
||||
(OSDs * 100)
|
||||
Total PGs = ------------
|
||||
Replicas
|
||||
(OSDs * 100)
|
||||
Total PGs = ------------
|
||||
OSD per object
|
||||
|
||||
Where **OSD per object** is the number of replicas (or pool size) for
|
||||
replicated pools or the K+M sum for erasure coded pools (as returned
|
||||
by **ceph osd erasure-code-profile get**).
|
||||
|
||||
The result should be **rounded up to the nearest power of two.**
|
||||
Rounding up is optional, but recommended if you want to ensure that
|
||||
|
Loading…
Reference in New Issue
Block a user