All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jaxboe@fusionio.com>
To: Troels Arvin <troels@arvin.dk>
Cc: fio@vger.kernel.org
Subject: Re: Unaligned AIO/DIO
Date: Thu, 2 Jun 2011 13:51:14 +0200	[thread overview]
Message-ID: <4DE77932.10809@fusionio.com> (raw)
In-Reply-To: <4DE64DC5.3060703@arvin.dk>

On 2011-06-01 16:33, Troels Arvin wrote:
> Hello,
> 
> Jens Axboe wrote:
>> The iometer like test
>> case you are using is meant to be used on a raw block device, not on a
>> file system.
> 
> OK, but how does one use fio with a raw device? Can you give an example of a job specification file for working with a raw block device?

To take your example:

[global]
bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10
rw=randrw
rwmixread=70
direct=1
size=10g
ioengine=libaio
iodepth=256
write_bw_log
write_lat_log
numjobs=6

[sda]
filename=/dev/sda

would run the workload in question directly on the raw sda device.

> And can that be done in a way which simulates parallel I/O (several
> processes/threads working simultaneously)?

For the above example, you have 6 processes doing random read/write
patterns with the 70/30 read/write mix and with the block sizes given.

-- 
Jens Axboe


      reply	other threads:[~2011-06-02 11:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31 18:22 Unaligned AIO/DIO Troels Arvin
2011-06-01 10:46 ` Jens Axboe
2011-06-01 12:51   ` Troels Arvin
2011-06-01 13:17     ` Jens Axboe
2011-06-01 14:33       ` Troels Arvin
2011-06-02 11:51         ` Jens Axboe [this message]

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=4DE77932.10809@fusionio.com \
    --to=jaxboe@fusionio.com \
    --cc=fio@vger.kernel.org \
    --cc=troels@arvin.dk \
    /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.