On Thu, May 21, 2015 at 12:12 PM, [email protected] <[email protected]> wrote:
> Re: what's the difference between pg and pgp?
pg-num is the number of PGs, pgp-num is the number of PGs that will be
considered for placement, i.e. it's the pgp-num value that is used by
CRUSH, not pg-num. For example, consider pg-num = 1024 and pgp-num
= 1. In that case you will see 1024 PGs but all of those PGs will map
to the same set of OSDs.
When you increase pg-num you are splitting PGs, when you increase
pgp-num you are moving them, i.e. changing sets of OSDs they map to.
Thanks,
Ilya
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com