Re: what's the difference between pg and pgp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 21, 2015 at 12:12 PM, baijiaruo@xxxxxxx <baijiaruo@xxxxxxx> 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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux