[ceph-users] Re: Ceph EC PG calculation

2020-11-18 Thread Frank Schilder
icated pool has replication factor R=k. = Frank Schilder AIT Risø Campus Bygning 109, rum S14 From: Frank Schilder Sent: 18 November 2020 09:25:46 To: Szabo, Istvan (Agoda); ceph-users@ceph.io Subject: [ceph-users] Re: Ceph EC PG calculatio

[ceph-users] Re: Ceph EC PG calculation

2020-11-18 Thread Frank Schilder
Its the same formula. An k-times replicated pool has replication factor R. With the formula I stated below, you can compute the entire PG budget depending on what your PG target per OSD is. I'm afraid you will have to do that yourself. Best regards, = Frank Schilder AIT Risø

[ceph-users] Re: Ceph EC PG calculation

2020-11-18 Thread Szabo, Istvan (Agoda)
Hi, Thank you Frank. And after how this affect the non EC pools? Because they will use the same device classes, which is SSD. So I'd calculate with 100PG/osd, because this will grow. If I calculate with EC it will be 512. But still have many replicated pools  Or just let the autoscaler in

[ceph-users] Re: Ceph EC PG calculation

2020-11-18 Thread Frank Schilder
Roughly speaking, if you have N OSDs, a replication factor of R and aim for P PGs/OSD on average, you can assign (N*P)/R PGs to the pool. Example: 4+2 EC has replication 6. There are 36 OSDs. If you want to place, say, 50 PGs per OSD, you can assign (36*50)/6=300 PGs to the EC pool. You may

[ceph-users] Re: Ceph EC PG calculation

2020-11-18 Thread Janne Johansson
Den ons 18 nov. 2020 kl 04:59 skrev Szabo, Istvan (Agoda) < istvan.sz...@agoda.com>: > I have this error: > I have 36 osd and get this: > Error ERANGE: pg_num 4096 size 6 would mean 25011 total pgs, which > exceeds max 10500 (mon_max_pg_per_osd 250 * num_in_osds 42) > I have 4:2 data EC pool,