Linux bcache driver list
 help / color / mirror / Atom feed
From: Emmanuel Florac <eflorac@intellique.com>
To: linux-bcache@vger.kernel.org
Subject: bcache and load average
Date: Fri, 15 May 2015 18:50:32 +0200	[thread overview]
Message-ID: <20150515185032.6b129595@harpe.intellique.com> (raw)


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
------------------------------------------------------------------------

             reply	other threads:[~2015-05-15 16:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-15 16:50 Emmanuel Florac [this message]
2015-05-15 17:55 ` bcache and load average 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150515185032.6b129595@harpe.intellique.com \
    --to=eflorac@intellique.com \
    --cc=linux-bcache@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox