All of lore.kernel.org
 help / color / mirror / Atom feed
* [Question] How to perform stride access?
@ 2014-09-23 13:47 Akira Hayakawa
  2014-09-23 14:05 ` Andrey Kuzmin
  0 siblings, 1 reply; 19+ messages in thread
From: Akira Hayakawa @ 2014-09-23 13:47 UTC (permalink / raw)
  To: fio

Hi,

I want to perform stride write access to a block device but
I don't have a clue how I can do that.

What I want to do is to perform a stride access that
each write size is 1 sector and 7 sectors are apart between each writes.
(i.e. Only the first sector of each 4KB block)

For example,
0, 8, 16, 24, 32, ...

And, it repeat over the device until certain amount of writes are accomplished.
In my case, amount of 32MB to 508KB device.

I consider the command below works like as I want but it doesn't actually.
Instead, it looks performing ordinary 512KB seq write.
fio --name=test --filename=#{dev.path} --rw=write --ioengine=libaio --direct=1 --io_limit=32M --size=100% --ba=4k --bs=512

My questions are:
1) How to perform stride write access in fio?
2) If fio is not a appropriate tool for this purpose, easy to fix?
   Or do you recommend other tool?

- Akira

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

end of thread, other threads:[~2014-10-05  7:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 13:47 [Question] How to perform stride access? Akira Hayakawa
2014-09-23 14:05 ` Andrey Kuzmin
2014-09-24  8:35   ` Akira Hayakawa
     [not found]     ` <CANvN+emPbk+MwwNoABs-rdWdJbn+JD+O0GVAGftR4w7mNVndcg@mail.gmail.com>
2014-09-24  9:28       ` Akira Hayakawa
2014-09-24  9:52     ` Sitsofe Wheeler
2014-09-24  9:58       ` Akira Hayakawa
2014-09-24 21:22       ` Sitsofe Wheeler
2014-09-28  2:24         ` Jens Axboe
2014-09-28 10:32           ` Sitsofe Wheeler
2014-09-28 10:36           ` Sitsofe Wheeler
2014-09-28 14:24             ` Jens Axboe
2014-09-28 15:08               ` Jens Axboe
2014-09-28 19:44                 ` Sitsofe Wheeler
2014-09-28 22:13                   ` Jens Axboe
2014-09-29  5:42                     ` Sitsofe Wheeler
2014-09-29  7:41                     ` Sitsofe Wheeler
2014-09-30  1:23                       ` Akira Hayakawa
2014-09-30  2:21                         ` Jens Axboe
2014-10-05  7:15                         ` Akira Hayakawa

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.