All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jos� Luis Domingo L�pez" <jdomingo@internautas.org>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Raid5 sync problem
Date: Thu, 24 May 2001 20:00:01 +0000	[thread overview]
Message-ID: <20010524200000.A1280@dardhal.mired.net> (raw)
In-Reply-To: <200105241704.f4OH4Rom014186@webber.adilger.int>; from adilger@turbolinux.com on Thu, May 24, 2001 at 11:04:27AM -0600

On Thursday, 24 May 2001, at 11:04:27 -0600,
Andreas Dilger wrote:

> Kaj-Michael Lang writes:
> [...]
> This is the "RAID5 speed limit" which only kicks in if you have I/O to
> the volume while you are resyncing.  You can change a parameter somewhere
> in the RAID code which increases the minimum speed at which resync is
> done on active volumes (at the expense of performance for other apps).
> 
Under 2.4.x there are two "tunnables" on /proc, namely:
/proc/sys/dev/raid/speed_limit_min
/proc/sys/dev/raid/speed_limit_max

Both are expressed in KB/s. The latter sets the maximun array
reconstruction speed for RAID-1,4,5 (taking available IO), and the former
sets the minimun "guaranteed" reconstruction speed.

At least on my 2.4.4, "minumun speed" is set to 100 KB/s, and "maximun
speed" equals 100000 KB/s, but it seems that array reconstruction always
operate at the minimun guaranteed speed, 100 KB/s.

So echo "5000" > /proc/sys/dev/raid/speed_limit_min should help
determining whether this speed limit is causing the problems described.

-- 
Jos� Luis Domingo L�pez
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk

      parent reply	other threads:[~2001-05-24 20:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-24 11:24 [linux-lvm] Raid5 sync problem Kaj-Michael Lang
2001-05-24 16:46 ` Austin Gonyou
2001-05-25 10:55   ` Kaj-Michael Lang
2001-05-25 19:46     ` Andreas Dilger
2001-05-25 22:36       ` [linux-lvm] lvm_chr_ioctl Justin Booth
2001-05-25 23:00         ` Joe Harvell
2001-05-24 17:04 ` [linux-lvm] Raid5 sync problem Andreas Dilger
2001-05-24 18:28   ` Austin Gonyou
2001-05-24 20:00   ` Jos� Luis Domingo L�pez [this message]

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=20010524200000.A1280@dardhal.mired.net \
    --to=jdomingo@internautas.org \
    --cc=linux-lvm@sistina.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.