Skip to contentSkip to conversation

Re-2: Running FIO on Windows on given partition or raw device

DISCUSSION Jens Axboe 2 participants 3 messages Apr 10, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jens Axboe

author
#1 lore raw
Quoted 31 lines · On 2012-04-10 15:33, [email protected] wrote:
Quoted 31 lines · Neependra Khare
Quoted 30 lines

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.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

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.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 5 lines · Jens Axboe
Quoted 3 lines · On 2012-04-10 15:33, [email protected] 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

#3 lore raw
Quoted 9 lines · Neependra Khare
Quoted 5 lines · Jens Axboe

On 2012-04-10 15:33, [email protected] wrote:
 > please try the "\\.\PhysicalDrive1" notation.  I use the "full

Quoted 2 lines

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