Daniel Smedegaard Buus
2014-02-06 13:05:08 UTC
Hi :)
Sorry if this isn't the right place to ask questions like this, but
I'm having a bit of trouble getting information about this.
Thing is, I'm trying to set up bcache for an Amazon EC2 machine which
has two ephemeral SSDs. They're not very large, and I'm going to need
more space than what they provide, so I was thinking about using
bcache and use them together with larger (and much slower) EBS drives,
then add mdadm striping on top of that.
This works (I'm using kernel 3.13, by the way), but the performance is
pretty bad. I'm wondering about what the optimal settings would be for
such a setup. Both for the bcache backed devices, and for the md array
itself.
I'm thinking that the chunk size of the md array might negatively
affect the way bcache works, and that it might be better to set it to
something like 4k, assuming that that's what bcache works with
internally (the SSDs being 4k and so on)?
Any ideas?
Thanks in advance,
Daniel
Sorry if this isn't the right place to ask questions like this, but
I'm having a bit of trouble getting information about this.
Thing is, I'm trying to set up bcache for an Amazon EC2 machine which
has two ephemeral SSDs. They're not very large, and I'm going to need
more space than what they provide, so I was thinking about using
bcache and use them together with larger (and much slower) EBS drives,
then add mdadm striping on top of that.
This works (I'm using kernel 3.13, by the way), but the performance is
pretty bad. I'm wondering about what the optimal settings would be for
such a setup. Both for the bcache backed devices, and for the md array
itself.
I'm thinking that the chunk size of the md array might negatively
affect the way bcache works, and that it might be better to set it to
something like 4k, assuming that that's what bcache works with
internally (the SSDs being 4k and so on)?
Any ideas?
Thanks in advance,
Daniel