From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <53B462A3.8050402@kernel.dk> Date: Wed, 02 Jul 2014 13:50:59 -0600 From: Jens Axboe MIME-Version: 1.0 Subject: Re: multiple block devices question References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: "Yuyang (Alex) Wang" , fio@vger.kernel.org List-ID: On 07/02/2014 01:42 PM, Yuyang (Alex) Wang wrote: > hi all, > > I am using FIO (2.1.7) to profile block level performance of multiple > RAID devices. (see config file below). The test is done on a capable > 16-core server. With a sigle raid device, I am getting roughly > 1.4GB/s, with two devices in place, I am still getting around 1.4GB/s, > which is weird. Another in-house developed benchmark tool, running > SINGLE-thread suggested we can almost double. I could get double the > performance through FIO by configuring two jobs, with each job > handling one device only. However, it still puzzles me as to why a > single process FIO can't drive the performance of two devices. Did I > do anything wrong as to the configure file? > > Thanks > > Alex. > > > [globals] > > rw=write > ioengine=libaio > iodepth=16 > direct=1 > blocksize=1m > runtime=30 > > [devices] > filename=/dev/mapper/raid-0 > filename=/dev/mapper/raid-1 You are overwriting filename here, hence running with just one device. -- Jens Axboe