Re: How to set correct pg_num?

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

 




于 2014/3/19 15:11, alan.zhang 写道:
As the doc http://ceph.com/docs/master/rados/operations/placement-groups/

I get this formula:
(OSDs * 100)
Total PGs = ------------

This formula is recommended that pg nums assigned to each OSD controls below 100.

Replicas

In my ceph cluster have 1 pool, 5 osds,2 replicas, so I have set pg_num to 250.

one day , i ned to add a pool(2 pools), what number shoud i set the pg_num?
if you have two pools,each pool may set pg_num=125,

another question, if i set the pg_num as 1024, it will be get slow request?
yes,may be.

Thanks for help.



_______________________________________________
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