All of lore.kernel.org
 help / color / mirror / Atom feed
* Running FIO on Windows on given partition or raw device
@ 2012-04-10  9:04 Neependra Khare
  2012-04-10 12:40 ` Jens Axboe
  2012-04-11  0:14 ` Bruce Cran
  0 siblings, 2 replies; 4+ messages in thread
From: Neependra Khare @ 2012-04-10  9:04 UTC (permalink / raw)
  To: fio

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.

--
Regards,
Neependra
www.neependra.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Running FIO on Windows on given partition or raw device
  2012-04-10  9:04 Running FIO on Windows on given partition or raw device Neependra Khare
@ 2012-04-10 12:40 ` Jens Axboe
  2012-04-11  0:14 ` Bruce Cran
  1 sibling, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2012-04-10 12:40 UTC (permalink / raw)
  To: Neependra Khare; +Cc: fio, Bruce Cran

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...

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Running FIO on Windows on given partition or raw device
  2012-04-10  9:04 Running FIO on Windows on given partition or raw device Neependra Khare
  2012-04-10 12:40 ` Jens Axboe
@ 2012-04-11  0:14 ` Bruce Cran
  2012-04-11  4:52   ` Neependra Khare
  1 sibling, 1 reply; 4+ messages in thread
From: Bruce Cran @ 2012-04-11  0:14 UTC (permalink / raw)
  To: Neependra Khare; +Cc: fio@vger.kernel.org

On 10 Apr 2012, at 10:04, Neependra Khare <neependra.khare@gmail.com> wrote:

> $ 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").

':' is a file name separator in fio (so e:\filename is writing to \filename on the current disk) so you should try escaping it, e.g. --filename=E\:\filename .

-- 
Bruce Cran

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Running FIO on Windows on given partition or raw device
  2012-04-11  0:14 ` Bruce Cran
@ 2012-04-11  4:52   ` Neependra Khare
  0 siblings, 0 replies; 4+ messages in thread
From: Neependra Khare @ 2012-04-11  4:52 UTC (permalink / raw)
  To: Bruce Cran; +Cc: fio@vger.kernel.org

On Wed, Apr 11, 2012 at 5:44 AM, Bruce Cran <bruce@cran.org.uk> wrote:
> On 10 Apr 2012, at 10:04, Neependra Khare <neependra.khare@gmail.com> wrote:
>> $ 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").
>
> ':' is a file name separator in fio (so e:\filename is writing to \filename on the current disk) so you should try escaping it, e.g. --filename=E\:\filename .

Thanks a lot Bruce.
By using  --filename=E\\:\filename I was able to run FIO on a partition.

Regards,
Neependra

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-11  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10  9:04 Running FIO on Windows on given partition or raw device Neependra Khare
2012-04-10 12:40 ` Jens Axboe
2012-04-11  0:14 ` Bruce Cran
2012-04-11  4:52   ` Neependra Khare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.