public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Wundram <modelnine-EqIAFqbRPK3NLxjTenLetw@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: bcache hangs with continuous write I/O to SSD device, bcache device stops working
Date: Fri, 22 Mar 2013 15:19:40 +0100	[thread overview]
Message-ID: <514C687C.4010304@modelnine.org> (raw)
In-Reply-To: <20130322141613.GA29496-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Am 22.03.2013 15:16, schrieb Dongsu Park:
> that sounds pretty much the same as what I experienced this week.
> After finishing some write benchmarks on a bcache device, dirty data
> blocks have to be synchronized to backing devices really slowly.
> (20~30 MB/s in my case)
> That sync job usually takes more than 5 minutes,
> which makes end users unable to do anything.

In my case, the syncing was still going on after around 16 hours (I 
simply let the system run after it got locked in this state). As I've 
only got around 2GB of page cache in the corresponding system that was 
used as the test bed, most probably, the system wasn't (still) flushing 
data, but rather spinning on something else.

The process that took most CPU time was a kworker, which migrated 
between CPUs. If there's any sensible way to debug this (without 
availability of a serial console, alas...), I'd appreciate any hints.

-- 
--- Heiko.

  parent reply	other threads:[~2013-03-22 14:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 12:34 bcache hangs with continuous write I/O to SSD device, bcache device stops working Heiko Wundram
     [not found] ` <514C4FC1.6090804-EqIAFqbRPK3NLxjTenLetw@public.gmane.org>
2013-03-22 14:16   ` Dongsu Park
     [not found]     ` <20130322141613.GA29496-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-22 14:19       ` Heiko Wundram [this message]
     [not found]         ` <514C687C.4010304-EqIAFqbRPK3NLxjTenLetw@public.gmane.org>
2013-03-27 19:17           ` Heiko Wundram

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=514C687C.4010304@modelnine.org \
    --to=modelnine-eqiafqbrpk3nlxjtenletw@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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