Hi all,
In order to deal with PG uneven problem[1, 2] which further leads to uneven
disk usage, I recently developed a simple script which aims to do *osd crush*
reweight right after creating the pool (which has the most significant data,
e.g. .rgw.buckets), we had good experience to tune the distribution difference
to less than 10% with use of this tool.
Here is the tool -
https://github.com/guangyy/ceph_misc/blob/master/osd_crush_reweight/ceph_osd_crush_reweight.pl
If you have a similar experience with relatively high PG distribution across
OSDs by default, you can check out the script and see if that serve your
purpose or not, all reviews and suggestions (especially the algorithm for a
even better distribution) are welcomed.
[1] https://www.mail-archive.com/ceph-users@lists.ceph.com/msg04216.html
[2] http://www.spinics.net/lists/ceph-devel/msg17509.html
Thanks,
Guang
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com