Re: [ceph-users] CHOOSING THE NUMBER OF PLACEMENT GROUPS

2018-03-23 Thread David Turner
PGs per pool also has a lot to do with how much data each pool will have. If 1 pool will have 90% of the data, it should have 90% of the PGs. If it will be common for you to create and delete pools (not usually common and probably something you can do simpler), then you can aim to start at a

Re: [ceph-users] CHOOSING THE NUMBER OF PLACEMENT GROUPS

2018-03-09 Thread Caspar Smit
Hi Will, Yes, adding new pools will increase the number of PG's per OSD. But you can always decrease the number of pg's per OSD by adding new Hosts/OSD's. When you design a cluster you have to calculate how many pools you're going to use and use that information with PGcalc.

Re: [ceph-users] CHOOSING THE NUMBER OF PLACEMENT GROUPS

2018-03-09 Thread Will Zhao
Hi Janne: Thanks for your response. Approximately 100 PGs per OSD, yes, I missed out this part. I am still a little confused. Because 100-PGs-per-OSD rule is the result of sumation of all used pools . I konw I can create many pools.Assume that I have 5 pools now , and the rule has already been

Re: [ceph-users] CHOOSING THE NUMBER OF PLACEMENT GROUPS

2018-03-09 Thread Janne Johansson
2018-03-09 10:27 GMT+01:00 Will Zhao : > Hi all: > > I have a tiny question. I have read the documents, and it > recommend approximately 100 placement groups for normal usage. > Per OSD. Approximately 100 PGs per OSD, when all used pools are summed up. For things like

[ceph-users] CHOOSING THE NUMBER OF PLACEMENT GROUPS

2018-03-09 Thread Will Zhao
Hi all: I have a tiny question. I have read the documents, and it recommend approximately 100 placement groups for normal usage. Because the pg num can not be decreased, so if in current cluster, the pg num have met this rule, and when I try to create a new pool , what pg num I should set ?