Linux bcache driver list
 help / color / mirror / Atom feed
* bcache and load average
@ 2015-05-15 16:50 Emmanuel Florac
  2015-05-15 17:55 ` Eric Wheeler
  0 siblings, 1 reply; 8+ messages in thread
From: Emmanuel Florac @ 2015-05-15 16:50 UTC (permalink / raw)
  To: linux-bcache


Hi everyone,

Going through various forum messages and bug reports (for
Debian: https://lists.debian.org/debian-kernel/2015/03/msg00060.html for
Arch: https://bugs.archlinux.org/task/38843 for some other distro:
https://groups.google.com/forum/#!msg/esos-users/NXp8tG7sVE8/QXZyPdZ2saIJ
) it looks like the bcache_writeback kernel thread, being in
uninterruptible sleep, keeps the load average at 1.0 (or maybe more)
always. Could you please confirm this ?


 - this behaviour should be described in the bcache documentation
   because it feels to me (and many other) like a true gotcha. It's
   apparently completely undocumented. A "CAVEATS" section at the
   bottom of bcache.txt in the kernel Documentation explaining this
   would be nice, what do you think?

 - Is there any way around this? Some people seem to grow uneasy (maybe
   irrationnally) having a constant load on an otherwise unused system
   (I know that a sleeping thread actually does nothing, but many 
   system administrators can't wrap their head around this idea). 

I've tried some advice I've found on the web, like switching to
writethrough and "echo 0 > /sys/block/bcache0/bcache/writeback_running"
but to absolutely no effect.

Any advice and idea is welcome :)

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-05-19 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 16:50 bcache and load average Emmanuel Florac
2015-05-15 17:55 ` Eric Wheeler
2015-05-15 20:37   ` Darrick J. Wong
2015-05-15 22:47     ` Ming Lin
2015-05-18 19:17       ` Eric Wheeler
2015-05-18 20:27         ` Ming Lin
2015-05-19 17:54           ` Eric Wheeler
2015-05-18 11:35   ` Emmanuel Florac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox