r/openstack • • Mar 30 '21

Storage Backend for Small Openstack Cluster

Trying to get a general consensus of what storage backend people are using for small clusters. I only have a single node I'm testing with, but a friend of mine has 3 storage nodes and 2 compute that I'm helping.

Currently using ceph RDB for volume storage, and the performance sucks. Currently using 3 HDDs + 1 SSD for bluestore WAL + DB. Doesn't seem to do anything. Reading around, looks like people recommend all flash, which is somewhat expensive, but don't want to dump money into a bunch of 1TB SSDs that won't improve ceph performance. Looked into gluster, but saw they deprecated the gluster driver. So gluster + iscsi is an option, but extra steps.

What are some other people using for a fault tolerant storage backend primarily for cinder storage?

7 Upvotes

8 comments sorted by

1

u/jadon_n Mar 30 '21

We actually use Ceph for volume storage for our 3 node hyperconverged (control plane + compute + storage) deployment, but we do use SSDs and NVMe SSDs. No spinners in this deployment.

The performance for general use is fine with SSDs with Ceph and VMs. Ceph can't do much to get the biggest performance out of NVMe SSDs yet. The new Ceph crimson filestore is supposed to help, but I'm still waiting to see real-world performance data on it.

Having said that, though, we are working on enabling the option for our users to deploy private clouds or compute nodes with volumes using local disks for higher performance. The idea there though is to let users use local disks for high performance workloads but keep a Ceph-backed volume mounted in the VM for storing data that cannot be lost.

If you want to test our configuration with real hardware to see how Ceph with SSDs performs as the volume storage backend I can DM you information.

0

u/[deleted] Mar 30 '21

[deleted]

1

u/jadon_n Mar 31 '21

Thanks for sharing all this info! I'm glad to hear other folks are excited about Crimson. Some of the folks on my team looking at Crimson are worried the performance boost will be less in reality than what some of the initial results suggest.

We use Ceph-Ansible to deploy Ceph right now, and it deploys all of the Ceph services as Docker containers. We use Kolla-Ansible to deploy OpenStack, so all of our OpenStack services are also Docker containers from the Kolla project.

I think it's really interesting that you had worse OPS performance from local disk for VMs than from using Ceph. I wonder if our problem is that we have not deeply optimized our Ceph configuration. I think we do use NUMA pinning and careful configuration for resource allocation to balance the resources for Ceph, OpenStack control plane services, and the compute hypervisor, but otherwise I think we use defaults for CRUSH and use the PG autoscaler.

Our Ceph configuration is meant to be more general-purpose, simple, and reproducible since we are using it in multiple deployments for different use cases.

The thinking I have heard from my team is that local disk would be better for things like MySQL, databases, or heavy IOPS loads than Ceph because you don't have to go over the network, but I don't think we have tested that extensively in real world use. We also want to be able to leverage the NVMe SSDs we have, especially when we implement NVMe-over-Fabrics.

1

u/sekh60 Mar 30 '21

5 storage nodes running just Ceph, serving out cinder volumes via rbd. What SSDs are you running? You need enterprise SSDs, consumer just can't keep up.

1

u/jimmt42 Mar 31 '21

Also if you don’t want to use SSD then you need to increase your spindle count and go with a raid configuration that is more striped like 10 (for redundancy). Secondly, your raid controller should have a lot of cache memory. You have to balance speed with capacity. It really depends on your workloads.

This is a good opportunity to analyze your workloads and see how static they are. Goal is to be more ephemeral with your designs. Back to another poster and local storage vs external. If you need speed and design your compute to be ephemeral (think scaling containers) then run that local while having long term data on shared. Shared could be CEPH or swift. Another approach to add is leverage some of the internal services that Openstack enables like other cloud providers such as Trove so you can build ephemeral compute with server less / DBaaS like database backend.

1

u/[deleted] Mar 31 '21

Yeah Ceph with HDD and small amount is really suck. You really need 20-30 HDD to have a barely usable cluster RBD. Go for SSD, 1 SSD each node is sufficient. You can try it with small partition in the same SSD for WAL/DB to use as OSD and try it

1

u/plaaplaaplaaplaa Mar 31 '21

For anything I would use CEPH just for learning, because it is everywhere and it is good to know and get familiar with it. But if you have just one node home cluster, use local storage. You don't need backend. Also it is entirely possible to use local storage for everything even in bigger environments, it really depends on your needs. Imagine instances which have no need for storage and only exists in memory, then you only need to store the images somewhere.

Funny enough, I have seen storage OS disk and storage of the node dying and instances continuing to serve because why not, they exist in memory. ;)

1

u/Public_Lychee_1923 Apr 14 '21

It really depends on the actual speed issues.
3 HDDs can get around 200-300 IOPS each so it won't be that fast compared to any SSD.
It's not even about Ceph.
What's your network speed? I assume it's not a 10Gbps links? is it?

1

u/Zealousideal-Cycle38 Jul 19 '22

you can use a deployment without cinder for best performance on LABS, but if you want to use a storage solution install cinder with LVM (it cos a 30% aprox of performance cost)