3 ms·
You can also have that at block level (which is where bcache itself comes from). Facebook used it years ago and I had it on an SSD+HDD laptop... a decade ago at
by viraptor 4y ago
You can also have that at block level (which is where bcache itself comes from). Facebook used it years ago and I had it on an SSD+HDD laptop... a decade ago at least? Unless you want the filesystem to know about it, it's ready to go now.
- jwilk 4y agoLook up --write-mostly and --write-behind options in mdadm(8) man page. I can't recommend such a setup though. It works very poorly for me.
- saltcured 4y agoSee the lvmcache(7) manpage, which I think may be what the earlier poster was thinking of. It isn't an asymmetric RAID mode, but a tiered caching scheme where you can, for example, put a faster and smaller enterprise SSD in front of a larger and slower bulk store. So you can have a large bulk volume but the recently/frequently used blocks get the performance of the fast cache volume. I set it up in the past with an mdadm RAID1 array over SSDs as a caching layer in front of another mdadm array over HDDs. It performed quite well in a developer/compute workstation environment.
- viraptor 4y agoI did mean bcache specifically. https://www.kernel.org/doc/Documentation/bcache.txt https://www.kernel.org/doc/Documentation/bcache.txt