All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <ejt@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: "Alasdair G. Kergon" <agk@redhat.com>
Subject: Re: [PATCH] dm-kcopyd: monitor io activity
Date: Tue, 31 May 2011 10:09:01 +0100	[thread overview]
Message-ID: <20110531090900.GA3164@ubuntu> (raw)
In-Reply-To: <Pine.LNX.4.64.1105301238460.26092@hs20-bc2-1.build.redhat.com>

On Mon, May 30, 2011 at 12:40:39PM -0400, Mikulas Patocka wrote:
> Here I'm sending three patches that limit kcopyd speed. There is global 
> limit for all kcopyds running in a system. The user can set percentage of 
> kcopyd speed in /sys/module/dm_mod/parameters/dm_kcopyd_throttle

Could you give some explanation of how to choose an appropriate value
for this please?  Should it be 100% unless there is an issue?  How
does the sys admin spot such issues?

Different kcopyd clients have different performance requirements, for
instance the initial sync of a new mirror leg may have less priority
than a copy-on-write exception for a snapshot.  This isn't something
we've addressed so far, but if you're starting to slow kcopyd down
(i.e. so the mirror sync doesn't saturate the system), then I think
you'll get some complaints from the snapshot users.

- joe

  reply	other threads:[~2011-05-31  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30 16:40 [PATCH] dm-kcopyd: monitor io activity Mikulas Patocka
2011-05-31  9:09 ` Joe Thornber [this message]
     [not found]   ` <20110531091223.GI11145@agk-dp.fab.redhat.com>
     [not found]     ` <20110531092340.GA3481@ubuntu>
2011-05-31 13:08       ` Mikulas Patocka

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=20110531090900.GA3164@ubuntu \
    --to=ejt@redhat.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@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 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.