All of lore.kernel.org
 help / color / mirror / Atom feed
* Recommended number of pools, one Q. ever wanted to ask
@ 2012-02-28  9:35 Oliver Francke
  2012-02-28  9:42 ` Wido den Hollander
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Francke @ 2012-02-28  9:35 UTC (permalink / raw)
  To: ceph-devel

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.

-- 

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recommended number of pools, one Q. ever wanted to ask
  2012-02-28  9:35 Recommended number of pools, one Q. ever wanted to ask Oliver Francke
@ 2012-02-28  9:42 ` Wido den Hollander
  2012-02-28  9:50   ` Oliver Francke
  0 siblings, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2012-02-28  9:42 UTC (permalink / raw)
  To: Oliver Francke; +Cc: ceph-devel

Hi,

On 02/28/2012 10:35 AM, Oliver Francke wrote:
> 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?

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

> 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.
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recommended number of pools, one Q. ever wanted to ask
  2012-02-28  9:42 ` Wido den Hollander
@ 2012-02-28  9:50   ` Oliver Francke
  2012-02-28 15:51     ` Wido den Hollander
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Francke @ 2012-02-28  9:50 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: ceph-devel

Well,

On 02/28/2012 10:42 AM, Wido den Hollander wrote:
> Hi,
>
> On 02/28/2012 10:35 AM, Oliver Francke wrote:
>> 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?
>
> 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.

>
> Wido

best regards,

Oliver.

>
>> 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.
>>
>


-- 

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recommended number of pools, one Q. ever wanted to ask
  2012-02-28  9:50   ` Oliver Francke
@ 2012-02-28 15:51     ` Wido den Hollander
  2012-02-28 17:14       ` Sage Weil
  0 siblings, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2012-02-28 15:51 UTC (permalink / raw)
  To: Oliver Francke; +Cc: ceph-devel

Hi,

On 02/28/2012 10:50 AM, Oliver Francke wrote:
> Well,
>
> On 02/28/2012 10:42 AM, Wido den Hollander wrote:
>> Hi,
>>
>> On 02/28/2012 10:35 AM, Oliver Francke wrote:
>>> 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?
>>
>> 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.

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

>
>>
>> Wido
>
> best regards,
>
> Oliver.
>
>>
>>> 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.
>>>
>>
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recommended number of pools, one Q. ever wanted to ask
  2012-02-28 15:51     ` Wido den Hollander
@ 2012-02-28 17:14       ` Sage Weil
  0 siblings, 0 replies; 5+ messages in thread
From: Sage Weil @ 2012-02-28 17:14 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: Oliver Francke, ceph-devel

On Tue, 28 Feb 2012, Wido den Hollander wrote:
> Hi,
> 
> On 02/28/2012 10:50 AM, Oliver Francke wrote:
> > Well,
> > 
> > On 02/28/2012 10:42 AM, Wido den Hollander wrote:
> > > Hi,
> > > 
> > > On 02/28/2012 10:35 AM, Oliver Francke wrote:
> > > > 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?
> > > 
> > > 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.
> 
> 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.

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


> 
> Wido
> 
> > 
> > > 
> > > Wido
> > 
> > best regards,
> > 
> > Oliver.
> > 
> > > 
> > > > 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-28 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28  9:35 Recommended number of pools, one Q. ever wanted to ask Oliver Francke
2012-02-28  9:42 ` Wido den Hollander
2012-02-28  9:50   ` Oliver Francke
2012-02-28 15:51     ` Wido den Hollander
2012-02-28 17:14       ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.