From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5DJBgCO029310 for ; Wed, 13 Jun 2007 15:11:42 -0400 Received: from mx12.bbn.com (mx12.bbn.com [128.33.0.81]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l5DJBeWx024742 for ; Wed, 13 Jun 2007 15:11:40 -0400 Received: from mgillen2.dsl.bbn.com ([128.89.72.74]) by mx12.bbn.com with esmtp (Exim 4.60) (envelope-from ) id 1HyYFZ-0003qa-3q for linux-lvm@redhat.com; Wed, 13 Jun 2007 15:11:25 -0400 Message-ID: <4670415C.7020808@mattgillen.net> Date: Wed, 13 Jun 2007 15:11:24 -0400 From: Matthew Gillen MIME-Version: 1.0 Subject: Re: [linux-lvm] LVM2 resync speed problems References: <89f9efee0706121852rb00a21oab00877f4af43dfd@mail.gmail.com> In-Reply-To: <89f9efee0706121852rb00a21oab00877f4af43dfd@mail.gmail.com> Content-Transfer-Encoding: 7bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Leonard Smith wrote: > I am running CentOS4.4 on two "black" box systems that are > identically configured. Both have 500 GB internal drives, ( same type) > and were installed using the same kickstart configuration. The drives > are being mirrored using LVM. > > When I check the first system it is re-syncing and the resync time and > speed are > > finish=18559.6min speed=355K/sec > > On the second system the time and speed are > > finish=89.5min speed=68170K/sec > > I can't figure out why the speeds are different between the two. I > checked /proc/sys/dev/raid/speed_limit_ and they are the same. The > priority of the md proceses are they same. > > I tweaked the setting of the speel_limit_min and increase the nice > priority of the resync process, on the first box, but I could never > get it better than > > finish=4551.8min speed=1445K/sec > > > I've googled and I haven't found much more useful information that to > adjust those settings. Besides those setting what else dictates the > speed used? You might compare the hd settings using 'hdparm'. I'm not sure factor of 100+ can be explained by an incorrect DMA setting or something like that, but it might be a contributor. Matt