Flexible I/O Tester development
 help / color / mirror / Atom feed
* Generating almost-sequential traffic
@ 2013-06-26 22:31 Carl Zwanzig
  2013-06-27  9:01 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Carl Zwanzig @ 2013-06-26 22:31 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hi,

I need to test some devices with "almost-sequential" data traffic. This would have anywhere from 10 to 50 I/Os in order then either drop one from the sequence "1 2 3 (no 4) 5 6" or transpose two adjacent ones "1 2 (4 3) 5 6". This could be done with an iolog, but that seems both wasteful (huge files, 131k lines/MB) and slow (for reading and processing the files). To properly test, I need to move something like 3-4 Tb in 8k blocks.

It's also inelegant :). 

It looks like a drop sequence can be done with something like:
	blocksize=64k
	rw=write:8k
but I'm at a loss for how to do transposition.  Could be a hack into the get-next-block code in io_u.c, but I don't see how to actually implement that.

Any ideas (or is an iolog the best way)?

Thanks,

z!
Carl Zwanzig


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

end of thread, other threads:[~2013-06-27 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 22:31 Generating almost-sequential traffic Carl Zwanzig
2013-06-27  9:01 ` Jens Axboe
2013-06-27 17:41   ` Carl Zwanzig
2013-06-27 19:28     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox