* Re: replay blktrace to different device
@ 2010-11-20 7:34 Alireza Haghdoost
2010-11-21 12:37 ` Jens Axboe
0 siblings, 1 reply; 5+ messages in thread
From: Alireza Haghdoost @ 2010-11-20 7:34 UTC (permalink / raw)
To: fio@vger.kernel.org
Dear Sebastian
Did you find any way to reply trace on another device ?
Alireza Haghdoost
>> I'm running fio like this:
>> # fio --name=replay --filename=/dev/sdc --read_iolog=trace_input_fio
>> and it aborts with
>> fio: filesetup.c:855: get_file: Assertion `fio_file_open(f)' failed.
>I captured another trace, this time for /dev/sdc, tried again using it
>as input to read_iolog
>and got the same error message.
>So it looks like there is a general problem with "read_iolog" in fio 1.38?
>I can supply the "--debug=all" logfile if needed.
>Thanks!
>- Sebastian
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* replay blktrace to different device
@ 2010-05-16 14:54 Sebastian Färber
2010-05-16 15:50 ` Sebastian Färber
0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Färber @ 2010-05-16 14:54 UTC (permalink / raw)
To: fio
Hi,
i discovered that fio is able to replay captured blktrace patterns and
just tried it ... without luck.
It seems that fio can only replay the blktrace to the device that the
trace was captured on?
I did a blktrace on one of my servers which uses /dev/md1 as its main
device and tried replaying
the patterns on another server where i prepared a spare device (/dev/sdc).
I'm running fio like this:
# fio --name=replay --filename=/dev/sdc --read_iolog=trace_input_fio
and it aborts with
fio: filesetup.c:855: get_file: Assertion `fio_file_open(f)' failed.
I also enabled --debug=all and noticed that while parsing the blktrace
fio adds /dev/md1 to it's list of devices.
The system i'm running fio on also has a /dev/md1 but this is my
root-device and i don't want fio to run the r/w benchmark
there.
Is this a bug or would it be possible to modify fio so "--filename"
overrides the device in captured trace?
- Sebastian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: replay blktrace to different device
2010-05-16 14:54 Sebastian Färber
@ 2010-05-16 15:50 ` Sebastian Färber
2010-05-17 17:42 ` Jens Axboe
0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Färber @ 2010-05-16 15:50 UTC (permalink / raw)
To: fio
> I'm running fio like this:
> # fio --name=replay --filename=/dev/sdc --read_iolog=trace_input_fio
> and it aborts with
> fio: filesetup.c:855: get_file: Assertion `fio_file_open(f)' failed.
I captured another trace, this time for /dev/sdc, tried again using it
as input to read_iolog
and got the same error message.
So it looks like there is a general problem with "read_iolog" in fio 1.38?
I can supply the "--debug=all" logfile if needed.
Thanks!
- Sebastian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: replay blktrace to different device
2010-05-16 15:50 ` Sebastian Färber
@ 2010-05-17 17:42 ` Jens Axboe
0 siblings, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2010-05-17 17:42 UTC (permalink / raw)
To: Sebastian Färber; +Cc: fio
On Sun, May 16 2010, Sebastian F�rber wrote:
> > I'm running fio like this:
> > # fio --name=replay --filename=/dev/sdc --read_iolog=trace_input_fio
> > and it aborts with
> > fio: filesetup.c:855: get_file: Assertion `fio_file_open(f)' failed.
>
> I captured another trace, this time for /dev/sdc, tried again using it
> as input to read_iolog
> and got the same error message.
> So it looks like there is a general problem with "read_iolog" in fio 1.38?
> I can supply the "--debug=all" logfile if needed.
I'll take a look.
--
Jens Axboe
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-21 12:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 7:34 replay blktrace to different device Alireza Haghdoost
2010-11-21 12:37 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2010-05-16 14:54 Sebastian Färber
2010-05-16 15:50 ` Sebastian Färber
2010-05-17 17:42 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox