* Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond
@ 2013-02-06 21:15 Neto, Antonio Jose Rodrigues
2013-02-06 21:27 ` Bruce Cran
2013-02-06 23:42 ` Bruce Cran
0 siblings, 2 replies; 4+ messages in thread
From: Neto, Antonio Jose Rodrigues @ 2013-02-06 21:15 UTC (permalink / raw)
To: fio@vger.kernel.org
Hi All,
This is neto from Brazil
How are you?
Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond
-- Random.sh - to generate config.fio file
cat > config.fio << EOF
[global]
bs=8k
ioengine=windowsaio
size=1024g
iodepth=3
numjobs=2
direct=1
runtime=30
file_service_type=random
rw=randrw
rwmixread=80
rwmixwrite=20
thread
unified_rw_reporting=1
group_reporting=1
randrepeat=0
norandommap=1
EOF
loops=1
OFFSET=0
USERS=0016
MEGABYTES=8192
while [[ $loops -le 8 ]] ; do
JOBNUMBER=$loops
loops=$(expr $loops + 1)
OFFSET=`echo $(( $RANDOM % 134217728000 * 1024))`
cat >> config.fio << EOF
[PhysicalDrive$JOBNUMBER]
filename=\\\\.\PhysicalDrive$JOBNUMBER
size=125g
offset=$OFFSET
zonesize=`echo $((RANDOM%1000001+200000000))`
zoneskip=`echo $((RANDOM%2000001+500000000))`
EOF
done
-- config.fio
[global]
bs=8k
ioengine=windowsaio
size=1024g
iodepth=3
numjobs=2
direct=1
runtime=30
file_service_type=random
rw=randrw
rwmixread=80
rwmixwrite=20
thread
unified_rw_reporting=1
group_reporting=1
randrepeat=0
norandommap=1
[PhysicalDrive1]
filename=\\.\PhysicalDrive1
size=125g
offset=14062592
zonesize=200003129
zoneskip=500017345
[PhysicalDrive2]
filename=\\.\PhysicalDrive2
size=125g
offset=11035648
zonesize=200020109
zoneskip=500027097
[PhysicalDrive3]
filename=\\.\PhysicalDrive3
size=125g
offset=29750272
zonesize=200001897
zoneskip=500026993
[PhysicalDrive4]
filename=\\.\PhysicalDrive4
size=125g
offset=20156416
zonesize=200015008
zoneskip=500013464
[PhysicalDrive5]
filename=\\.\PhysicalDrive5
size=125g
offset=27099136
zonesize=200002460
zoneskip=500027452
[PhysicalDrive6]
filename=\\.\PhysicalDrive6
size=125g
offset=32296960
zonesize=200001144
zoneskip=500002836
[PhysicalDrive7]
filename=\\.\PhysicalDrive7
size=125g
offset=7057408
zonesize=200013388
zoneskip=500027799
[PhysicalDrive8]
filename=\\.\PhysicalDrive8
size=125g
offset=21437440
zonesize=200011927
zoneskip=500019535
When I run, I've got a pop-up message on windows - fio.exe has stopped working ...
NOTE: If I remove zoneskip and zonesize- everything works.
Could you please help me understand what am I doing wrong?
Thank you very much
neto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond
2013-02-06 21:15 Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond Neto, Antonio Jose Rodrigues
@ 2013-02-06 21:27 ` Bruce Cran
2013-02-06 21:29 ` Neto, Antonio Jose Rodrigues
2013-02-06 23:42 ` Bruce Cran
1 sibling, 1 reply; 4+ messages in thread
From: Bruce Cran @ 2013-02-06 21:27 UTC (permalink / raw)
To: Neto, Antonio Jose Rodrigues; +Cc: fio@vger.kernel.org
On 06/02/2013 21:15, Neto, Antonio Jose Rodrigues wrote:
> When I run, I've got a pop-up message on windows - fio.exe has stopped working ...
>
> NOTE: If I remove zoneskip and zonesize- everything works.
>
> Could you please help me understand what am I doing wrong?
I saw fio crash yesterday when I ran it on a disk that contained
volumes. Windows prevented writes to that area of the disk and fio
crashed - I'm working on fixing it today.
--
Bruce Cran
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond
2013-02-06 21:27 ` Bruce Cran
@ 2013-02-06 21:29 ` Neto, Antonio Jose Rodrigues
0 siblings, 0 replies; 4+ messages in thread
From: Neto, Antonio Jose Rodrigues @ 2013-02-06 21:29 UTC (permalink / raw)
To: Bruce Cran; +Cc: fio@vger.kernel.org
On 06/02/2013 21:15, Neto, Antonio Jose Rodrigues wrote:
> When I run, I've got a pop-up message on windows - fio.exe has stopped working ...
>
> NOTE: If I remove zoneskip and zonesize- everything works.
>
> Could you please help me understand what am I doing wrong?
I saw fio crash yesterday when I ran it on a disk that contained volumes. Windows prevented writes to that area of the disk and fio crashed - I'm working on fixing it today.
--
Bruce Cran
Thank you so much my friend, but I don't have volumes... I am using the whole physical disk. Great when you have a fix I will download and I will test.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond
2013-02-06 21:15 Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond Neto, Antonio Jose Rodrigues
2013-02-06 21:27 ` Bruce Cran
@ 2013-02-06 23:42 ` Bruce Cran
1 sibling, 0 replies; 4+ messages in thread
From: Bruce Cran @ 2013-02-06 23:42 UTC (permalink / raw)
To: Neto, Antonio Jose Rodrigues; +Cc: fio@vger.kernel.org
On 06/02/2013 21:15, Neto, Antonio Jose Rodrigues wrote:
> When I run, I've got a pop-up message on windows - fio.exe has stopped working ...
>
> NOTE: If I remove zoneskip and zonesize- everything works.
>
> Could you please help me understand what am I doing wrong?
It's a divide by zero bug in eta.c:160:
bytes_total /= (td->o.zone_skip / td->o.zone_size);
It seems that td->o.zone_size isn't getting set via the zonesize setting
in the job file and so the default of the entire size is used.
--
Bruce Cran
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-06 23:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 21:15 Running fio on Windows 64 bits with offset, zonesize and zoneskip and fio stops to respond Neto, Antonio Jose Rodrigues
2013-02-06 21:27 ` Bruce Cran
2013-02-06 21:29 ` Neto, Antonio Jose Rodrigues
2013-02-06 23:42 ` Bruce Cran
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.