[opensuse] Has some one tried bcache in openSUSE, and reported it?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, bcache is like a huge hd disk cache residing in a flash disk. <http://en.wikipedia.org/wiki/Bcache> +++······································ bcache is a Linux kernel's block layer cache (hence the name, block cache), developed by Kent Overstreet. It allows one or more fast storage devices such as flash-based solid-state drives (SSDs) to act as a cache for one or more slower hard disk drives, effectively creating hybrid volumes. It is designed around the performance characteristics of SSDs, minimizing write amplification by never performing random writes and by turning them into sequential writes instead – for both the cache and the primary storage. That helps in extending the lifetime of flash-based devices used as caches, and also improves performance of write-sensitive primary storages, like RAID 5. ······································++- Has some one tried it in openSUSE? Do you know of some document? I tried searching our site, but search is broken: <https://en.opensuse.org/Special:Search?search=bcache> : An error has occurred while searching: Error fetching URL: couldn't connect to host - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlRObZMACgkQtTMYHG2NR9W9RwCfaH62rgX7E4242QgdcCUfzJ2S 5pkAn0xcQ+sImwzrv2ghiBO9Fm+aEu1d =9iaR -----END PGP SIGNATURE-----
Le 27/10/2014 17:06, Carlos E. R. a écrit :
bcache is a Linux kernel's block layer cache (hence the name, block cache), developed by Kent Overstreet. It allows one or more fast storage devices such as flash-based solid-state drives (SSDs) to act as a cache for one or more slower hard disk drives, effectively creating hybrid volumes.
it could much interest me. I have a laptop with a small ssd nearly invisible. I don't know if it's used in any way by 13.1 (it's said to be used by windows 8). It's a bit large for swap. bcache or similar could be a solution? thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-10-27 17:32, jdd wrote:
Le 27/10/2014 17:06, Carlos E. R. a écrit :
it could much interest me. I have a laptop with a small ssd nearly invisible. I don't know if it's used in any way by 13.1 (it's said to be used by windows 8). It's a bit large for swap.
bcache or similar could be a solution?
I think it is better than installing, say, the system in ssd, and home in rotating rust. Windows does have this hybrid technology. Actually, I think it is Intel's. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 27/10/2014 17:37, Carlos E. R. a écrit :
I think it is better than installing, say, the system in ssd, and home in rotating rust.
Windows does have this hybrid technology. Actually, I think it is Intel's.
I keep windows 8, so I don't want to write anything permanent in this space, at risk to be overwriten by windows :-( jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Oct 27, 2014 at 12:06 PM, Carlos E. R. <carlos.e.r@opensuse.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
bcache is like a huge hd disk cache residing in a flash disk.
<http://en.wikipedia.org/wiki/Bcache>
+++······································ bcache is a Linux kernel's block layer cache (hence the name, block cache), developed by Kent Overstreet. It allows one or more fast storage devices such as flash-based solid-state drives (SSDs) to act as a cache for one or more slower hard disk drives, effectively creating hybrid volumes.
It is designed around the performance characteristics of SSDs, minimizing write amplification by never performing random writes and by turning them into sequential writes instead – for both the cache and the primary storage. That helps in extending the lifetime of flash-based devices used as caches, and also improves performance of write-sensitive primary storages, like RAID 5. ······································++-
Has some one tried it in openSUSE? Do you know of some document?
I tried searching our site, but search is broken:
<https://en.opensuse.org/Special:Search?search=bcache> :
An error has occurred while searching: Error fetching URL: couldn't connect to host
Carlos, No first hand experience, but I see it recommended for Linux in general from time to time. Often with multi-TB raid setups that bcache could be used with to accelerate things. It came out summer 2013 I think. The oS 13.1 userspace tools got updated to 0.9 in OSS-updates last Feb: https://build.opensuse.org/package/show/openSUSE:13.1:Update/bcache-tools.27... If you have a test machine, it certainly looks like it is worth a shot. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-10-27 18:04, Greg Freemyer wrote:
On Mon, Oct 27, 2014 at 12:06 PM, Carlos E. R. <> wrote:
Carlos,
No first hand experience, but I see it recommended for Linux in general from time to time. Often with multi-TB raid setups that bcache could be used with to accelerate things.
It is also recommended on the XFS mail list now and then. The basic idea does a lot of sense to me.
It came out summer 2013 I think.
Not too mature.
The oS 13.1 userspace tools got updated to 0.9 in OSS-updates last Feb:
https://build.opensuse.org/package/show/openSUSE:13.1:Update/bcache-tools.27...
If you have a test machine, it certainly looks like it is worth a shot.
Only one machine with more than one SATA connector, and that one is used for real. I can do a test partition, though. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlROltYACgkQtTMYHG2NR9W8HQCghFgG48Px0ga6UE9xhsD/DDaj 6TAAnjHDWuJ8v5lyRgig3qPn49+vKJmP =0I+M -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/27/2014 12:02 PM, Carlos E. R. wrote:
The basic idea does a lot of sense to me.
It came out summer 2013 I think. Not too mature.
If it were mature, it would be in the process of being deprecated and replaced with something half baked. ;-) - -- Explain again the part about rm -rf / -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlROnS4ACgkQv7M3G5+2DLIhhwCeOS1GeNGmzUbOTG3yTMwxHOWv 2PwAnRFhFLHp9nk4hx8BeUhi1CXVZHJr =di63 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 27.10.2014, at 17:06, "Carlos E. R." <carlos.e.r@opensuse.org> wrote:
bcache is like a huge hd disk cache residing in a flash disk.
<http://en.wikipedia.org/wiki/Bcache>
Has some one tried it in openSUSE? Do you know of some document?
I have used it with openSUSE 13.1, it works great. In particular, when used in front of a RAID array of spinning disks, it can speed up writes significantly. With write-back caching enabled, applications write to the SSD cache and return, then bcache dumps it all to the RAID array later. Eventually I stopped using it simply because I don't really need the extra performance. After all, it is one more thing that can break. Also, I tried to bcache two RAID arrays on one machine. One problem with that is that the corresponding bcache devices (called /dev/bcache0 and /dev/bcache1) can't be used in /etc/fstab directly because they get assigned "randomly" by udev. The solution to that is supposed to be mapping by UUID using the links in /dev/bcache/by-uuid/, but unfortunately that's broken: http://bugzilla.opensuse.org/show_bug.cgi?id=880858 Using a single bcache shouldn't be a problem, though. Regards, Olav-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon 27 Oct 2014 05:06:43 PM CDT, Carlos E. R. wrote: Hi Here you go.... https://forums.opensuse.org/entry.php/159-Setting-up-bcache-on-openSUSE-13-2 -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default up 14 days 21:14, 4 users, load average: 0.19, 0.21, 0.20 CPU Intel® B840@1.9GHz | GPU Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-11-07 17:58, Malcolm wrote:
On Mon 27 Oct 2014 05:06:43 PM CDT, Carlos E. R. wrote: Hi Here you go.... https://forums.opensuse.org/entry.php/159-Setting-up-bcache-on-openSUSE-13-2
Oh!
Thanks :-)) [...] Not /very/ complicated. Some. :-) Kind of similar to using encryption. You have to add empty partitions, so not for partitions already with data. There are remaining questions: how about handling corruption (fsck), how about whole disk (ie, system, not data), and what about upgrades (zypper dup or dvd-boot-upgrade...) I was considering the other day replacing my system disk. I saw a model, I think it has 2 TB, joined with an 8 GiB SSD, transparently. 108€, perhaps. But it does not quite convince me. 40..50 euros for an 8 GiB SSD? - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlRdS8YACgkQtTMYHG2NR9W7kgCcC/ivKkV/rGt/cToikLAHqSSk 8JUAnRRfj7Iz3IkWRhPLqAB6K//1CiOW =vF17 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri 07 Nov 2014 11:46:32 PM CST, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-11-07 17:58, Malcolm wrote:
On Mon 27 Oct 2014 05:06:43 PM CDT, Carlos E. R. wrote: Hi Here you go.... https://forums.opensuse.org/entry.php/159-Setting-up-bcache-on-openSUSE-13-2
Oh!
Thanks :-))
[...]
Not /very/ complicated. Some. :-) Kind of similar to using encryption. You have to add empty partitions, so not for partitions already with data.
There are remaining questions: how about handling corruption (fsck), how about whole disk (ie, system, not data), and what about upgrades (zypper dup or dvd-boot-upgrade...)
I was considering the other day replacing my system disk. I saw a model, I think it has 2 TB, joined with an 8 GiB SSD, transparently. 108€, perhaps. But it does not quite convince me. 40..50 euros for an 8 GiB SSD?
Hi AFAIK, you should run a UPS, just in-case.... The data remains on the rotating disk. For a system upgrade (since I would assume just data) you to need to de-register the bcache, recreate and re-attach to the updated system from what I can gather. -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default up 15 days 3:07, 4 users, load average: 0.01, 0.05, 0.10 CPU Intel® B840@1.9GHz | GPU Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Carlos E. R.
-
Carlos E. R.
-
Greg Freemyer
-
jdd
-
John Andersen
-
Malcolm
-
Olav Reinert