|
|
Log in / Subscribe / Register

Bcache: Caching beyond just RAM

Bcache: Caching beyond just RAM

Posted Jul 9, 2010 3:36 UTC (Fri) by mwalls (guest, #6268)
Parent article: Bcache: Caching beyond just RAM

Isn't this substantially duplicating Facebook's flashcache, so are they related?


to post comments

Bcache: Caching beyond just RAM

Posted Jul 9, 2010 3:52 UTC (Fri) by koverstreet (✭ supporter ✭, #4296) [Link]

Completely different design and completely unrelated. I started bcache a couple months before flashcache was announced. Flashcache is simpler and being used in production now. Bcache has, in my opinion, a lot more potential than flashcache.

Bcache: Caching beyond just RAM

Posted Jul 17, 2010 3:55 UTC (Sat) by bill_mcgonigle (guest, #60249) [Link]

I was wondering the same thing. As I understand it, the main difference is that with Flashcache you tell it, "here, you're in front of this device". And then you mount the flashcache device.

bcache uses a kernel feature that lets it hook in 'from the side'. So, you still mount the regular device. In theory you can insert/pull/insert bcache as much as you want and your apps would be fine to keep on running. I think that makes it ultimately more powerful.

You could even imagine a workload where you have a bazillion disks that receive sporadic heavy access (maybe remote disks where old data isn't useful), and you could have some sort of monitor that would keep a few SSD's busy by inserting them as bcaches on-demand.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds