All of lore.kernel.org
 help / color / mirror / Atom feed
* Running fio with offset Increment option
@ 2012-04-13 23:48 Suresh Dhanarajan
  2012-04-14 15:23 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Suresh Dhanarajan @ 2012-04-13 23:48 UTC (permalink / raw)
  To: fio

Hi,

I wanted to use the "offset increment option" and  "numjobs" so that i
can split the work load between ten jobs and reduce the run time.
But what i am seeing is that the offset counter is not getting reset
when the first job in the jobfile is completed.(is it that the offset
is global for the job file and not for the Jobs inside the jobfile?)
So  my read starts from the last offset set by the writes.

here is my job file,

[global]
bs=64k
direct=1
numjobs=10
size=1m
group_reporting

[write-phase]
offset_increment=1m
filename=/dev/sdb
rw=write
write_iolog=verfywrite2

[read-phase]
stonewall
offset_increment=1m
filename=/dev/sdb
rw=read
write_iolog=verfyread2

I tried using the offset=0 option in the read phase job but now every
time the read happens from zeroth offsite.
Now the offset increment option is not getting honored.

[write-phase]
offset_increment=1m
filename=/dev/sdb
rw=write
write_iolog=verfywrite2

[read-phase]
stonewall
offset=0
offset_increment=1m
filename=/dev/sdb
rw=read
write_iolog=verfyread2

I tried the same case with verify option.
the behavior is same.

Is there any way that i can reset the offset counters once the job is completed?

thanks,

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

end of thread, other threads:[~2012-05-02 12:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13 23:48 Running fio with offset Increment option Suresh Dhanarajan
2012-04-14 15:23 ` Jens Axboe
2012-04-14 15:29   ` Jens Axboe
2012-04-16 23:15     ` Suresh Dhanarajan
2012-04-17  6:30       ` Jens Axboe
2012-04-18 21:37         ` Suresh Dhanarajan
2012-04-19  5:47           ` Jens Axboe
2012-04-19 19:32             ` Suresh Dhanarajan
2012-04-20  6:27               ` Jens Axboe
2012-04-28 19:09                 ` Suresh Dhanarajan
2012-05-02 12:12                   ` Jens Axboe

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.