* bcache with SSD instead of battery powered raid cards
@ 2012-03-13 10:06 Kiran Patil
2012-03-21 4:47 ` Justin Sharp
0 siblings, 1 reply; 2+ messages in thread
From: Kiran Patil @ 2012-03-13 10:06 UTC (permalink / raw)
To: linux-btrfs
Hi,
Is anybody using bcache with SSD instead of battery powered raid cards
with Btrfs ?
Hard drives are cheap and big, SSDs are fast but small and expensive.
Wouldn't it be nice if you could transparently get the advantages of
both? With Bcache, you can have your cake and eat it too.
Bcache is a patch for the Linux kernel to use SSDs to cache other
block devices. It's analogous to L2Arc for ZFS, but Bcache also does
writeback caching, and it's filesystem agnostic. It's designed to be
switched on with a minimum of effort, and to work well without
configuration on any setup. By default it won't cache sequential IO,
just the random reads and writes that SSDs excel at. It's meant to be
suitable for desktops, servers, high end storage arrays, and perhaps
even embedded.
http://bcache.evilpiepirate.org/
http://news.gmane.org/gmane.linux.kernel.bcache.devel
Thanks,
Kiran.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bcache with SSD instead of battery powered raid cards
2012-03-13 10:06 bcache with SSD instead of battery powered raid cards Kiran Patil
@ 2012-03-21 4:47 ` Justin Sharp
0 siblings, 0 replies; 2+ messages in thread
From: Justin Sharp @ 2012-03-21 4:47 UTC (permalink / raw)
To: Kiran Patil; +Cc: linux-btrfs
On 03/13/2012 04:06 AM, Kiran Patil wrote:
> Hi,
>
> Is anybody using bcache with SSD instead of battery powered raid cards
> with Btrfs ?
>
> Hard drives are cheap and big, SSDs are fast but small and expensive.
> Wouldn't it be nice if you could transparently get the advantages of
> both? With Bcache, you can have your cake and eat it too.
>
> Bcache is a patch for the Linux kernel to use SSDs to cache other
> block devices. It's analogous to L2Arc for ZFS, but Bcache also does
> writeback caching, and it's filesystem agnostic. It's designed to be
> switched on with a minimum of effort, and to work well without
> configuration on any setup. By default it won't cache sequential IO,
> just the random reads and writes that SSDs excel at. It's meant to be
> suitable for desktops, servers, high end storage arrays, and perhaps
> even embedded.
>
> http://bcache.evilpiepirate.org/
Did you ever experiment with this? What results did you find?
There is also something similar called flashcache developed by some
facebook engineer that I'm interested in trying. They are supposedly
using this to speed up mysql+innodb. It is out of mainline tree code
though, and I don't think there is much of an effort to get it in. It
supports writeback, writethrough and writearound (blocks are never
cached on write, only on read) caching. It uses dm-mapper to combine
your 'cache block' with your 'slow spinning block' and then you put your
filesystem on top of that dm device. https://github.com/facebook/flashcache
Regards,
--Justin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-21 4:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13 10:06 bcache with SSD instead of battery powered raid cards Kiran Patil
2012-03-21 4:47 ` Justin Sharp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).