Skip to contentSkip to conversation

RGW placement multi data pool support

DISCUSSION Yang Honggang 2 participants 3 messages Mar 18, 2016 – Mar 21, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

In the current RGW implementation, only one ‘data pool’ is allowed in the placement target. So the size of a bucket is limited by the backend pool size. We can add osds into the backend pool, but it would trigger PG data rebalance. Also, we might have to do PG split when the OSD count is close to the pre-defined PG number, however, it would trigger data rebalance as well. We try to avoid data rebalance as many as we can by adding multiple pools into one placement target. Then a scheduler between pools of a placement target is needed.

I have a immature proposal would like to discuss with you. We can extend placement's data pool to a pool list. When a new object is created through RGW, we can choose one data pool from placement's data pool list. In order to do that, the pool ID need to be added into the bucket index for each object.

How do you guys think?

thx,

Joseph
--
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,

In-progress work (planned for Kraken) will make storage layout more cleanly abstract, and so should make this kind of thing less intrusive to build.

Matt

----- Original Message -----

Quoted 33 lines

From: "Yang Honggang" <[email protected]>
To: "ceph-devel" <[email protected]>
Cc: "Javen Wu" <[email protected]>
Sent: Friday, March 18, 2016 7:07:09 AM
Subject: RGW placement multi data pool support

Hello,

In the current RGW implementation, only one ‘data pool’ is allowed in the placement target. So the size of a bucket is limited by the backend pool size. We can add osds into the backend pool, but it would trigger PG data rebalance. Also, we might have to do PG split when the OSD count is close to the pre-defined PG number, however, it would trigger data rebalance as well. We try to avoid data rebalance as many as we can by adding multiple pools into one placement target. Then a scheduler between pools of a placement target is needed.

I have a immature proposal would like to discuss with you. We can extend placement's data pool to a pool list. When a new object is created through RGW, we can choose one data pool from placement's data pool list. In order to do that, the pool ID need to be added into the bucket index for each object.

How do you guys think?

thx,

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

Signature · 14 lines
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-707-0660
fax.  734-769-8938
cel.  734-216-5309
--
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
#2 lore raw

(clarifying, this is refactoring specific to rgw by Dan, not cluster-level placement)

----- Original Message -----

Quoted 65 lines

From: "Matt Benjamin" <[email protected]>
To: "Yang Honggang" <[email protected]>
Cc: "ceph-devel" <[email protected]>, "Javen Wu" <[email protected]>, "Daniel Gryniewicz" <[email protected]>
Sent: Monday, March 21, 2016 3:54:38 PM
Subject: Re: RGW placement multi data pool support

Hi,

In-progress work (planned for Kraken) will make storage layout more cleanly abstract, and so should make this kind of thing less intrusive to build.

Matt

----- Original Message -----

Quoted 25 lines

From: "Yang Honggang" <[email protected]>
To: "ceph-devel" <[email protected]>
Cc: "Javen Wu" <[email protected]>
Sent: Friday, March 18, 2016 7:07:09 AM
Subject: RGW placement multi data pool support

Hello,

In the current RGW implementation, only one ‘data pool’ is allowed in the placement target. So the size of a bucket is limited by the backend pool size. We can add osds into the backend pool, but it would trigger PG data rebalance. Also, we might have to do PG split when the OSD count is close to the pre-defined PG number, however, it would trigger data rebalance as well. We try to avoid data rebalance as many as we can by adding multiple pools into one placement target. Then a scheduler between pools of a placement target is needed.

I have a immature proposal would like to discuss with you. We can extend placement's data pool to a pool list. When a new object is created through RGW, we can choose one data pool from placement's data pool list. In order to do that, the pool ID need to be added into the bucket index for each object.

How do you guys think?

Quoted 8 lines

thx,

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

--
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-707-0660
fax.  734-769-8938
cel.  734-216-5309

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

Signature · 14 lines
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-707-0660
fax.  734-769-8938
cel.  734-216-5309
--
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