* The relation about size/filesize/nrfiles
@ 2013-01-10 12:08 majianpeng
2013-01-10 12:14 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: majianpeng @ 2013-01-10 12:08 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio
Hi all,
I wanted to test some files.But i wanted to use size rather than nrfiles.The job file is:
[global]
rw=write
directory=/media
bs=64k
size=500M
[j1]
filesize=256k
But fio only created one file.If i used nrfiles,the size is ignored.
So how to write which can do what i wanted?
Jianpeng
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The relation about size/filesize/nrfiles
2013-01-10 12:08 The relation about size/filesize/nrfiles majianpeng
@ 2013-01-10 12:14 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-01-10 12:14 UTC (permalink / raw)
To: majianpeng; +Cc: fio
On 2013-01-10 13:08, majianpeng wrote:
> Hi all,
> I wanted to test some files.But i wanted to use size rather than nrfiles.The job file is:
> [global]
> rw=write
> directory=/media
> bs=64k
> size=500M
>
> [j1]
> filesize=256k
>
> But fio only created one file.If i used nrfiles,the size is ignored.
> So how to write which can do what i wanted?
If you just set size= and nrfiles=, then the file size will set according
to that. By default, each file will be size / nrfiles. You can influence
that with filesize=low:high.
The above wont work, fio will not calculate the number of files
needed to satisfy that job file (it could though, I'll take a patch!).
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-10 12:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 12:08 The relation about size/filesize/nrfiles majianpeng
2013-01-10 12:14 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox