Skip to contentSkip to conversation

Recommended number of pools, one Q. ever wanted to ask

DISCUSSION Oliver Francke 3 participants 5 messages Feb 28, 2012

lore
Share & tools
lore
#0 lore raw

Hi *,

well, there was once a comment on our layout in means of "too many pools". Our setup is to have a pool per customer, to simplify the view on used storage capacity.
So, if we have - in a couple of months, we hope - more then some hundred customers, this setup was not recommended, cause the whole system is not designed for handling that. ( Sage)

What does "not recommended" mean? Is it, that per OSD the used memory will be too high?
Is this a general performance issue?

Well, if we read "pool", this gave us the basic idea/concept to put all per-customers data into it.

Please sched some light in 8-)

Kind regards,

Oliver.

Signature · 15 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Hi,

Quoted 10 lines · Oliver Francke

Hi *,

well, there was once a comment on our layout in means of "too many pools". Our setup is to have a pool per customer, to simplify the view on used storage
capacity.
So, if we have - in a couple of months, we hope - more then some hundred customers, this setup was not recommended, cause the whole system is not designed for handling that. ( Sage)

Quoted 3 lines

What does "not recommended" mean? Is it, that per OSD the used memory will be
too high?

Yes. Every new pool you create will consume some memory on the OSD. So if you start creating a lot of pools, you will also start consuming more and more memory.

I haven't followed this lately, but that is the current information I have.

The number of objects in a pool is also not a problem, you can have millions without any issues. It's the number of pools which will haunt you later on.

Wido

Quoted 12 lines

Is this a general performance issue?

Well, if we read "pool", this gave us the basic idea/concept to put all per-customers
data into it.

Please sched some light in 8-)

Kind regards,

Oliver.

#2 lore raw

Well,

Quoted 17 lines · Wido den Hollander

Hi,

Quoted 10 lines · Oliver Francke

Hi *,

well, there was once a comment on our layout in means of "too many pools". Our setup is to have a pool per customer, to simplify the view on used storage
capacity.
So, if we have - in a couple of months, we hope - more then some hundred customers, this setup was not recommended, cause the whole system is not designed for handling that. ( Sage)

Quoted 3 lines

What does "not recommended" mean? Is it, that per OSD the used memory will be
too high?

Quoted 5 lines

Yes. Every new pool you create will consume some memory on the OSD. So if you start creating a lot of pools, you will also start consuming more and more memory.

I haven't followed this lately, but that is the current information I have.

The number of objects in a pool is also not a problem, you can have millions without any issues. It's the number of pools which will haunt you later on.

thnx for the quick reply, so if we can imagine, that the number of pool per OSD is the limiting factor, we shall not have more than let's say ~100, means, we shall be safe.

Quoted 2 lines

Wido

best regards,

Oliver.

Quoted 14 lines
Quoted 13 lines

Is this a general performance issue?

Well, if we read "pool", this gave us the basic idea/concept to put all per-customers
data into it.

Please sched some light in 8-)

Kind regards,

Oliver.

Signature · 15 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

Hi,

Quoted 32 lines · Oliver Francke

Well,

Quoted 22 lines · Wido den Hollander

Hi,

Quoted 11 lines · Oliver Francke

Hi *,

well, there was once a comment on our layout in means of "too many pools".
Our setup is to have a pool per customer, to simplify the view on used storage
capacity.
So, if we have - in a couple of months, we hope - more then some hundred customers, this setup was not recommended, cause the whole system is not designed for handling that. ( Sage)

Quoted 3 lines

What does "not recommended" mean? Is it, that per OSD the used memory will be
too high?

Yes. Every new pool you create will consume some memory on the OSD. So if you start creating a lot of pools, you will also start consuming more and more memory.

Quoted 6 lines

I haven't followed this lately, but that is the current information I have.

The number of objects in a pool is also not a problem, you can have millions without any issues. It's the number of pools which will haunt you later on.

Quoted 5 lines

thnx for the quick reply, so if we can imagine, that the number of pool per OSD is
the limiting factor, we shall not have more than let's say ~100, means, we shall be
safe.

IIRC the number of pools is a problem, but for every pool you have a number of Placement Groups (PG's) (pg_num). Each PG eats a small amount of memory.

As the number of OSD's increases you also want to increase the number of PG's, this improves performance.

But as you have more PG's per pool, you start increasing memory usage. Now, PG's will be spread out over your OSD's, but it could still increase the usage.

This probably won't be a problem with 500 pools, or maybe a thousand pools (but it could), but going above that could be a problem.

Wido

Quoted 24 lines
Quoted 3 lines

Wido

best regards,

Oliver.

Quoted 14 lines
Quoted 13 lines

Is this a general performance issue?

Well, if we read "pool", this gave us the basic idea/concept to put all per-customers
data into it.

Please sched some light in 8-)

Kind regards,

Oliver.

#4 lore raw
Quoted 47 lines · Wido den Hollander

Hi,

Quoted 32 lines · Oliver Francke

Well,

Quoted 22 lines · Wido den Hollander

Hi,

Quoted 11 lines · Oliver Francke

Hi *,

well, there was once a comment on our layout in means of "too many pools".
Our setup is to have a pool per customer, to simplify the view on used storage
capacity.
So, if we have - in a couple of months, we hope - more then some hundred customers, this setup was not recommended, cause the whole system is not designed for handling that. ( Sage)

Quoted 3 lines

What does "not recommended" mean? Is it, that per OSD the used memory will be
too high?

Yes. Every new pool you create will consume some memory on the OSD. So if you start creating a lot of pools, you will also start consuming more and more memory.

Quoted 6 lines

I haven't followed this lately, but that is the current information I have.

The number of objects in a pool is also not a problem, you can have millions without any issues. It's the number of pools which will haunt you later on.

Quoted 5 lines

thnx for the quick reply, so if we can imagine, that the number of pool per OSD is
the limiting factor, we shall not have more than let's say ~100, means, we shall be
safe.

IIRC the number of pools is a problem, but for every pool you have a number of Placement Groups (PG's) (pg_num). Each PG eats a small amount of memory.

As the number of OSD's increases you also want to increase the number of PG's, this improves performance.

Quoted 6 lines

But as you have more PG's per pool, you start increasing memory usage. Now, PG's will be spread out over your OSD's, but it could still increase the usage.

This probably won't be a problem with 500 pools, or maybe a thousand pools (but it could), but going above that could be a problem.

Right.

Oliver, just to clarify your requirements... is it just that you want to be able to easily measure the amount of used storage per customer, and the pools let you do that? Are there other requirements (independent rbd image namespaces, security) that are important?

We've talked some about adding the ability to create separate namespace inside each pool, so that we don't have a single abstraction (pool) that combines both placement and namespace/accounting in an awkward way. Before we move forward with any of that it would be helpful to understand exactly what people want/need.

Thanks!
sage

Quoted 34 lines

Wido

Quoted 24 lines
Quoted 3 lines

Wido

best regards,

Oliver.

Quoted 14 lines
Quoted 13 lines

Is this a general performance issue?

Well, if we read "pool", this gave us the basic idea/concept to put all per-customers
data into it.

Please sched some light in 8-)

Kind regards,

Oliver.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html