Increasing the placement group
Learn how to increase the placement group.
Before you begin
- A running IBM Storage Ceph cluster in a healthy state.
- Root-level access to the node.
About this task
Insufficient placement group (PG) count impacts the performance of the Ceph cluster and data distribution. It is one of the main causes of the nearfull osds error messages.
The recommended ratio is between 100 and 300 PGs per OSD. This ratio can decrease when you add more OSDs to the cluster.
The pg_num and pgp_num parameters determine the PG
count. These parameters are configured per each pool, and therefore, you must adjust each pool with
low PG count separately.
Important: Increasing the PG count is the most intensive
process that you can run on a Ceph cluster. This process might have a serious performance impact if
not done in a slow and methodical way. After you increase pgp_num, you will not
be able to stop or reverse the process and you must complete it. Consider increasing the PG count
outside of business-critical processing time allocation, and alert all clients about the potential
performance impact. Do not change the PG count if the cluster is in the HEALTH_ERR
state.
For more information, see Nearfull OSDs and Monitoring placement group sets.