Skip to contentSkip to conversation

Move RBD Cache on clients from RAM to SSD.

DISCUSSION Mike 3 participants 5 messages Jun 16, 2015

lore
Share & tools
lore

Mike

author
#0 lore raw

Hello.

By now rbd_cache uses RAM, can we store cache on disk (SSD, SSD NVE)? In this way I look some benefits:
* Don't waste a RAM for cache
* Can make a big cache on SSD: 2-8Gb per cache
* If you use Cache Tier - don't waste space on them
* No need addition Ceph servers - use Compute with SSD.

Yes it's for write-through and read-only cache strategies mostly.

Any ideas? My be I am blind and this idea totally stupid?

#1 lore raw

This is not possible at the moment but long ago a BP was register to allow a multiple backend functionality. (can’t find it anymore) Unfortunately I don’t think this BP got much attention :/

Quoted 11 lines · Mike

Hello.

By now rbd_cache uses RAM, can we store cache on disk (SSD, SSD NVE)? In this way I look some benefits:
* Don't waste a RAM for cache
* Can make a big cache on SSD: 2-8Gb per cache
* If you use Cache Tier - don't waste space on them
* No need addition Ceph servers - use Compute with SSD.

Quoted 8 lines

Yes it's for write-through and read-only cache strategies mostly.

Any ideas? My be I am blind and this idea totally stupid?

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

Cheers.
––––
Sébastien Han
Senior Cloud Architect

"Always give 100%. Unless you're giving blood."

Mail: [email protected]
Address: 11 bis, rue Roquépine - 75008 Paris

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

author
#2 lore raw

16.06.2015 12:54, Sebastien Han пишет:

Quoted 2 lines

This is not possible at the moment but long ago a BP was register to allow a multiple backend functionality. (can’t find it anymore) Unfortunately I don’t think this BP got much attention :/

Thanks for answer. It's sad, that this feature not interesting anyone. --
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

As an alternative, would dm-cache or bcache on the client VM be an option?

Mark

Quoted 10 lines · Mike

16.06.2015 12:54, Sebastien Han пишет:

Quoted 2 lines

This is not possible at the moment but long ago a BP was register to allow a multiple backend functionality. (can’t find it anymore) Unfortunately I don’t think this BP got much attention :/

Thanks for answer. It's sad, that this feature not interesting anyone. --
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

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

author
#4 lore raw

16.06.2015 14:47, Mark Nelson пишет:

Quoted 3 lines

As an alternative, would dm-cache or bcache on the client VM be an option?

Mark

I not think it's working witch librbd in usecase with libvirt. This solution working with kernel rbd module when you can associate rbd block device with bcache device.
I think so.
--
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