All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alireza Haghdoost <alireza@cs.umn.edu>
To: neto from Brazil <Antonio.Jose.Rodrigues.Neto@netapp.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: FIO and replay_redirect
Date: Fri, 12 Feb 2016 11:00:51 -0600	[thread overview]
Message-ID: <CAB-428kPtVR5y3vgST_LkEqZKhdj5rYLAX72GK=+PfnoJzF=Ew@mail.gmail.com> (raw)
In-Reply-To: <D2DFB645.1D3AB%Antonio.Jose.Rodrigues.Neto@netapp.com>

Neto,

Once again, I would recommend you to use blkreplay instead of fio. You
can control the compressibility ratio in blkreplay using fill_random
parameter.

--Alireza

On Tue, Feb 9, 2016 at 2:29 PM, neto from Brazil
<Antonio.Jose.Rodrigues.Neto@netapp.com> wrote:
>
>>Hi All,
>>
>>This is neto from Brazil
>>
>>How are you?
>>
>>I have captured a blktrace from an Oracle workload. 18 dm devices.
>>
>>Steps to capture:
>>
>>blktrace <device 0> <device 1> ... -w 40
>>blkparse -i <device 0> -i <device 1> ... -o /dev/null -d oracle_trace.out
>>
>>Trying to replay with FIO (here I have 2 devices - /dev/sdh and /dev/sdi)
>>
>>Testing with one device:
>>
>>[workload]
>>ioengine=libaio
>>iodepth=1
>>size=100g
>>numjobs=1
>>direct=1
>>thread
>>read_iolog=/root/traces/oracle-s144/oracle_trace.out
>>replay_no_stall=1
>>replay_redirect=/dev/sdh
>>
>>[root@oraperf1 fio]# ./fio oracle-replay.cfg
>>workload: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=1
>>fio-2.2.9-26-g669e
>>Starting 1 thread
>>fio: ioengines.c:422: td_io_open_file: Assertion `!fio_file_open(f)'
>>failed.
>>Aborted (core dumped)
>>
>>
>>
>>
>>
>>Questions:
>>
>>1) The workload that I capture, all DM devices have 200GB size. My devices
>>where I want to replay have 100GB. I believe I will need to match the size
>>of all disks (where I captured the workload) with the destination where I
>>am going to replay. For example: If I capture a workload with 18 LUNs
>>200GB, to replay I need to have 18 LUNs with 200GB minimum.
>>
>>2) I need to replay to more than one device. How can I do that with fio?
>>Seems to me replay_redirect is for a single specified device.
>>
>>3) Any help why I am getting that error? fio: ioengines.c:422:
>>td_io_open_file: Assertion `!fio_file_open(f)' failed.
>>
>>Thank you very much for all help.
>>
>>All the best
>>
>>Neto
>
>
> Hi All,
>
> This is neto from Brazil
>
> How are you?
>
> Any suggestions here?
>
> Thank you,
>
> neto
>
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-02-12 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 22:32 FIO and replay_redirect neto from Brazil
2016-02-04 23:11 ` Alireza Haghdoost
2016-02-04 23:17   ` neto from Brazil
2016-02-09 20:29 ` neto from Brazil
2016-02-12 17:00   ` Alireza Haghdoost [this message]
2017-07-31  6:17 ` Sitsofe Wheeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB-428kPtVR5y3vgST_LkEqZKhdj5rYLAX72GK=+PfnoJzF=Ew@mail.gmail.com' \
    --to=alireza@cs.umn.edu \
    --cc=Antonio.Jose.Rodrigues.Neto@netapp.com \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.