* Any way to allow contiguous writes to be cached?
@ 2014-04-01 7:10 Daniel Smedegaard Buus
2014-04-01 9:29 ` Sitsofe Wheeler
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Smedegaard Buus @ 2014-04-01 7:10 UTC (permalink / raw)
To: linux-bcache
On Amazon EC2, SSD devices on instances are wiped when a machine
crashes and between stop/start cycles.
Therefore, I'm using them with writethrough bcache in front of slower
EBS storage to ensure that my data survives such scenarios, while
still benefiting from (some of) the speed they provide.
My actual data set isn't expected to grow beyond the size that the
cache device offers any time soon, if ever, and so in my case, the
optimum behavior of bcache would be to not just cache random data, but
contiguous as well.
I realize that this isn't how bcache behaves, but I'm wondering if
there's any way to tell it to do so?
Thanks in advance,
Daniel :)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Any way to allow contiguous writes to be cached?
2014-04-01 7:10 Any way to allow contiguous writes to be cached? Daniel Smedegaard Buus
@ 2014-04-01 9:29 ` Sitsofe Wheeler
2014-04-01 10:50 ` Daniel Smedegaard Buus
0 siblings, 1 reply; 3+ messages in thread
From: Sitsofe Wheeler @ 2014-04-01 9:29 UTC (permalink / raw)
To: Daniel Smedegaard Buus; +Cc: linux-bcache
Hi,
On Tue, Apr 01, 2014 at 09:10:23AM +0200, Daniel Smedegaard Buus wrote:
>
> My actual data set isn't expected to grow beyond the size that the
> cache device offers any time soon, if ever, and so in my case, the
> optimum behavior of bcache would be to not just cache random data, but
> contiguous as well.
>
> I realize that this isn't how bcache behaves, but I'm wondering if
> there's any way to tell it to do so?
A very frequent question - see TROUBLESHOOTING PERFORMANCE in the
bcache.txt document
(http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/bcache.txt#n130
) - explicitly the "Bad performance, or traffic not going to the SSD that
you'd expect".
--
Sitsofe | http://sucs.org/~sits/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Any way to allow contiguous writes to be cached?
2014-04-01 9:29 ` Sitsofe Wheeler
@ 2014-04-01 10:50 ` Daniel Smedegaard Buus
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Smedegaard Buus @ 2014-04-01 10:50 UTC (permalink / raw)
To: Sitsofe Wheeler; +Cc: linux-bcache
On Tue, Apr 1, 2014 at 11:29 AM, Sitsofe Wheeler <sitsofe@yahoo.com> wrote:
> Hi,
>
> A very frequent question - see TROUBLESHOOTING PERFORMANCE in the
> bcache.txt document
> (http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/bcache.txt#n130
> ) - explicitly the "Bad performance, or traffic not going to the SSD that
> you'd expect".
>
Ah, that's great, thank you Sitsofe :)
> --
> Sitsofe | http://sucs.org/~sits/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-01 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 7:10 Any way to allow contiguous writes to be cached? Daniel Smedegaard Buus
2014-04-01 9:29 ` Sitsofe Wheeler
2014-04-01 10:50 ` Daniel Smedegaard Buus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox