From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linux Raid Study Subject: Re: iostat with raid device... Date: Wed, 13 Apr 2011 11:21:52 -0700 Message-ID: References: <20110409094629.2eae2d5b@notabene.brown> <20110409085044.GB417@cthulhu.home.robinhill.me.uk> <20110411092559.GA20532@cthulhu.home.robinhill.me.uk> <20110411095355.GB20532@cthulhu.home.robinhill.me.uk> <20110411201808.47cd19d5@notabene.brown> <20110412125141.679baaf0@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: NeilBrown Cc: Robin Hill , linux-raid@vger.kernel.org List-Id: linux-raid.ids Let me reword previous email... I tried to change stripe_cache_size as following and tried values between 16 to 4096 echo 512 > /sys/block/md0/md/stripe_cache_size But, I'm not seeing too much difference in performance. I'm running on 2.6.27sh kernel. Any ideas... Thanks for your help... On Tue, Apr 12, 2011 at 12:36 PM, Linux Raid Study wrote: > Hello Neil, > > For the benchmarking purpose, I've configured array of ~30GB. > stripe_cache_size is 1024 (so 1M). > > BTW, I'm using Windows copy (robocopy) utility to test perf and I > believe block size it uses is 32kB. But since everything gets written > thru VFS, I'm not sure how to change stripe_cache_size to get optimal > performance with this setup... > > Thanks. > > On Mon, Apr 11, 2011 at 7:51 PM, NeilBrown wrote: >> On Mon, 11 Apr 2011 18:57:34 -0700 Linux Raid Study >> wrote: >> >>> If I use --assume-clean in mdadm, I see performance is 10-15% lower= as >>> compared to the case wherein this option is not specified. When I r= un >>> without --assume_clean, I wait until mdadm prints "recovery_done" a= nd >>> then run IO benchmarks... >>> >>> Is perf drop expected? >> >> No. =C2=A0And I cannot explain it.... unless the array is so tiny th= at it all fits >> in the stripe cache (typically about 1Meg). >> >> There really should be no difference. >> >> NeilBrown >> > -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html