Re: Calculate pgs

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

 



On Sun, Apr 21, 2013 at 12:39 AM, Stefan Priebe - Profihost AG
<s.priebe@xxxxxxxxxxxx> wrote:
> I know it is 100*numofosds/replfactor. But I also read somewhere that it should be a value of 2^X. It this still correct? So for 24 osds and repl 3 100*24/3 => 800 => to be 2^X => 1024?

PG counts of 2^x ensure that each PG covers exactly the same amount of
hash space. This can improve your distribution, but at reasonable PG
counts is definitely not critical — I might use that if I were going
to do less than 50 PGs/OSD like you are, but it shouldn't be
necessary.
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________
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