Flexible I/O Tester development
 help / color / mirror / Atom feed
* Writing an amount of data less than capacity at random to offsets from whole address range
@ 2014-04-14 12:40 Nikolaus Jeremic
  2014-04-14 20:11 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolaus Jeremic @ 2014-04-14 12:40 UTC (permalink / raw)
  To: fio

Hello,

how can I nudge fio to write a certain amount of data (less than 
capacity of block device) to randomly generated offsets covering the 
whole address space of a block device (e.g. MD RAID device)?

Using the size parameter yields offsets from 0 to size (thus, not 
covering the whole address range). Using a time based job leads to the 
desired result, but I would like two write a defined amount of data. I 
have already tried this with fio 2.0.14, 2.1.6.1, 2.1.17, and 2.1.18 
without success. I am using Gentoo Linux with kernel 3.13.6 and libaio 
0.3.109. The job description looks as follows:

######################
[global]
name=rw-04k
ioengine=libaio
iodepth=512
direct=1
continue_on_error=1
rw=randwrite
norandommap
filename=/dev/md9
bs=4k
ba=4k
numjobs=1
stonewall
size=1G

[rand-writes-04k]
#####################

Thanks,
Nikolaus


-- 
Dipl.-Inf. Nikolaus Jeremic          nikolaus.jeremic@uni-rostock.de
Universitaet Rostock                 Tel:  (+49) 381 / 498 - 7635
Albert-Einstein-Str. 22	             Fax:  (+49) 381 / 498 - 7482
18059 Rostock, Germany               wwwava.informatik.uni-rostock.de

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

end of thread, other threads:[~2014-04-29  2:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14 12:40 Writing an amount of data less than capacity at random to offsets from whole address range Nikolaus Jeremic
2014-04-14 20:11 ` Jens Axboe
2014-04-28 17:15   ` Nikolaus Jeremic
2014-04-29  2:03     ` Jens Axboe

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