From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: References: <4F843D84.1070206@kernel.dk> Date: Tue, 10 Apr 2012 19:45:20 +0530 Message-ID: Subject: Re: Re-2: Running FIO on Windows on given partition or raw device From: Neependra Khare Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: Jens Axboe Cc: shu@wwwgroup.de, "fio@vger.kernel.org" List-ID: On Tue, Apr 10, 2012 at 7:44 PM, Neependra Khare wrote: > > > > On Tue, Apr 10, 2012 at 7:32 PM, Jens Axboe wrote: >> >> On 2012-04-10 15:33, shu@wwwgroup.de wrote: >> =C2=A0> please try the "\\.\PhysicalDrive1" notation. =C2=A0I use the "f= ull >> > physical drive" for stress testing RAID-Arrays under Windows and it >> > works great. I'll try this.=C2=A0I believe this will run FIO on whole physical drive. I was looking for an option to run the FIO on a specific partition. Thanks, Neependra From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <4F843D84.1070206@kernel.dk> References: <4F843D84.1070206@kernel.dk> Date: Tue, 10 Apr 2012 19:44:23 +0530 Message-ID: Subject: Re: Re-2: Running FIO on Windows on given partition or raw device From: Neependra Khare Content-Type: multipart/alternative; boundary=20cf3071c93c583a7704bd53bd41 To: Jens Axboe Cc: shu@wwwgroup.de, "fio@vger.kernel.org" List-ID: --20cf3071c93c583a7704bd53bd41 Content-Type: text/plain; charset=UTF-8 On Tue, Apr 10, 2012 at 7:32 PM, Jens Axboe wrote: > On 2012-04-10 15:33, shu@wwwgroup.de wrote: > > please try the "\\.\PhysicalDrive1" notation. I use the "full > > physical drive" for stress testing RAID-Arrays under Windows and it > > works great. > I'll try this. I believe this will run FIO on whole physical drive. I was looking for an option to run the FIO on a specific partition. Thanks, Neependra --20cf3071c93c583a7704bd53bd41 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Apr 10, 2012 at 7:32 PM, Jens Ax= boe <axboe@kernel.d= k> wrote:
On 2012-04-10 15:33, shu@wwwgroup.de= wrote:
=C2=A0> please try the "\\.\PhysicalDrive1" notatio= n. =C2=A0I use the "full
> physical drive" for stress testing RAID-Arrays under Windows and = it
> works great.

I'll try this.=C2= =A0I believe this will run FIO on whole physical drive.
I was loo= king for an option to run the FIO on a specific partition.

Thanks,
Neependra
=C2=A0
--20cf3071c93c583a7704bd53bd41-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from merlin.infradead.org ([205.233.59.134]:34243 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201Ab2DJOCr (ORCPT ); Tue, 10 Apr 2012 10:02:47 -0400 Message-ID: <4F843D84.1070206@kernel.dk> Date: Tue, 10 Apr 2012 16:02:44 +0200 From: Jens Axboe MIME-Version: 1.0 Subject: Re: Re-2: Running FIO on Windows on given partition or raw device References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: shu@wwwgroup.de Cc: neependra.khare@gmail.com, "fio@vger.kernel.org" On 2012-04-10 15:33, shu@wwwgroup.de wrote: >> On 04/10/2012 11:04 AM, Neependra Khare wrote: >>> Hi, >>> >>> I want to run FIO on a given partition on Windows. To do this I use >>> the "mountvol" command and get the volume names and their mount >>> points and then use them for "filename" option with FIO >>> >>> For example for "E:\" get following from "mountvol" command. >>> >>> \\?\Volume{1277e70d-79a7-11e1-9fed-f04da2ef6fc9}\ E:\ >>> >>> Then I run following commands:- >>> >>> $ fio.exe --name=baseline --rw=randwrite --direct=1 --size=1g >>> --iodepth=32 --blocksize=4096 --ioengine=windowsaio >>> --filename=\\.\Volume{1277e70d-79a7-11e1-9fed-f04da2ef6fc9} >>> --name=hddBaseline --stonewall >>> >>> $ fio.exe --name=baseline --rw=randwrite --direct=1 --size=1g >>> --iodepth=32 --blocksize=4096 --ioengine=windowsaio --filename=E:\ >>> --name=hddBaseline --stonewall >>> >>> $ fio.exe --name=baseline --rw=randwrite --direct=1 --size=1g >>> --iodepth=32 --blocksize=4096 --ioengine=windowsaio >>> --filename=E:\filename --name=hddBaseline --stonewall >>> >>> In all these cases I do not see any IO happening on "E" drive using >>> "perfmon". All the IO happens on the root drive("C"). >>> >>> On Linux I can use "/dev/sda" , "/dev/sda1" etc. >>> >>> I was expecting same on Windows. Any help or pointers would be >>> great. >> >> CC'ing in Bruce, he's the Windows guru... > > please try the "\\.\PhysicalDrive1" notation. I use the "full > physical drive" for stress testing RAID-Arrays under Windows and it > works great. Taking the liberty of CC'ing the original asker and the list back. Hope this works for you, too. -- Jens Axboe