linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Strange dm-cache activity at startup
Date: Thu, 10 Sep 2015 14:59:45 +0200	[thread overview]
Message-ID: <55F17EC1.6070903@redhat.com> (raw)
In-Reply-To: <CAAxjCEwMqpAWFc+BBNW6bLUC7mkjkjdvFkRz66WnZEB__qW2dw@mail.gmail.com>

Dne 10.9.2015 v 11:30 Stefan Ring napsal(a):
> I have a fairly simple dm-cache setup with one PV on an HDD partition
> as the origin block device, and the cache LVs live on a partition on
> an SSD. The cache is in writethrough mode. Since I have no prior
> experience with this, I basically followed the lvmcache man page when
> creating this setup a few months ago.
>
> Every morning at startup, the system immediately starts prolonged
> activity on the devices involved in the cache setup. iostat shows
> reading activity from the cache device and constant write activity on
> the HDD. The HDD is fully utilized, and this goes on for more than an
> hour. After that, everything goes into what I would consider the
> "normal" state with only the IO activity going on that I actively
> throw at it.
>
> Is this normal/expected? What does it do? Why does it write back huge
> amounts of data to the HDD after each system start?
>
> Kernel is currently 3.17.8-200.fc20.x86_64 (Fedora)
> Userland has been upgraded to fc22 meanwhile

Please first try to use the latest kernel.
Kernel 3.17 is almost a year old.

Lots of optimizations went in meanwhile.
It's pointless to hunt already fixed bug.

Zdenek

  reply	other threads:[~2015-09-10 12:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10  9:30 [linux-lvm] Strange dm-cache activity at startup Stefan Ring
2015-09-10 12:59 ` Zdenek Kabelac [this message]
2015-09-10 13:11   ` Stefan Ring
2015-09-10 13:48     ` Zdenek Kabelac
2015-09-11 12:51 ` Joe Thornber
2015-09-11 13:28   ` John Stoffel
2015-09-11 14:50     ` Simon O'Riordan
2015-09-11 15:32       ` John Stoffel
2015-09-16  7:48   ` Stefan Ring
2015-09-17 15:08     ` Stefan Ring
2015-10-16 17:54   ` [linux-lvm] LVM cache (or dm-cache) shutdown Ian Pilcher
2015-10-17 17:49     ` Zdenek Kabelac

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=55F17EC1.6070903@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).