From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stan Hoeppner Subject: Re: raid10 centos5 vs. centos6 300% worse random write performance Date: Mon, 12 Aug 2013 14:25:24 -0500 Message-ID: <520936A4.8070806@hardwarefreak.com> References: <51F4B034.3040801@hardwarefreak.com> Reply-To: stan@hardwarefreak.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Wes Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids On 8/12/2013 3:43 AM, Wes wrote: > Stan Hoeppner hardwarefreak.com> writes: > > >> ~$ cat /sys/block/sda/queue/scheduler >> [CFQ] noop deadline >> Wes, yours will show CFQ probably as the default on RHEL/CentOS. You'll >> want deadline for best seek and all around performance. So: >> ~$ echo deadline > /sys/block/sda/queue/scheduler >> Add that to an init script or cron entry so it sets on every boot. >> Barriers are not an issue with this test. >> > > Thank you all. The issue is now closed. > RHEL5 was not doing cache flush right. It was only corrected in 2.6.32+ > After removing O_SYNC from seekmark the results are now comparable. Glad you got it figured out. > Actually it is hard to find a linux raw device random R/W benchmark tool and FIO is good for raw IO benchmarking. Can do file based IO as well. Very flexible, but maybe a bit complicated for first time users. > seekmark being the most popular fails when comparing pre and post 2.6.32 > systems (unless you remove O_SYNC). Dunno about seekmark being the most popular. I'd never heard of it until this thread. I'd have guessed FIO was most popular. But then again I don't get out much. ;) -- Stan