All of lore.kernel.org
 help / color / mirror / Atom feed
* bcache on a laptop
@ 2013-09-19 23:10 Zachary Palmer
  0 siblings, 0 replies; only message in thread
From: Zachary Palmer @ 2013-09-19 23:10 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Gents,

I'm still trying to get a comfy bcache installation on a laptop.  To 
summarize thus far,

     1. I have a Debian system that boots from bcache
     2. No version of 3.10 that I have tested (either from the Linux git 
or from the bcache-stable branch of the bcache git) will allow the 
laptop to sleep or hibernate properly.
     3. Every version of 3.11 that I have tested results in severe data 
corruption.  (I wound up having to reinstall my system as a result.)  
Using 3.11.0 built from the 3.11.y branch at kernel.org, the corruption 
was subtle at first; eventually programs started segfaulting.  Running 
"sync ; echo 3 > /proc/sys/vm/drop_caches" would resolve the corruption 
issue (I'm in writethrough mode), but the root was destroyed when 
corruption occurred in the middle of a nightly upgrade.
     4. When corruption isn't an issue (e.g. in a 3.10 kernel), I'm 
getting between a 50% and 80% cache hit ratio (again in writethrough, 
not writeback).  I'm pretty happy about that.  :)
     5. Creating a large number of small files seems to be quite a lot 
slower than it was without bcache.  (For instance, installing xfce4 and 
its dependencies into a fresh chroot takes about two hours.)  I've 
noticed that Debian packages in particular take longer; kernel header 
packages often take close to half an hour by themselves.  (Can anyone 
posit a reason for this?)

I'll be trying the 3.10.12 bcache-stable shortly, though I expect that 
it won't make a huge difference in the hibernation problem.  I just 
wanted to record this information in case someone else decides to give 
this a go.

Cheers,

Zach

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-19 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19 23:10 bcache on a laptop Zachary Palmer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.