Re: fio file test patterns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-09-01 08:18, Brian Fallik wrote:
> Perhaps I should describe what I'm seeing.  I have two terminals open.
>  In one, I launch:
>   $ watch "ls -l foo* | head -n 20"
> In the other terminal I kick off fio.  fio first spits out the "Laying
> out" messages, one per job.  Immediately the full 4MB files appear in
> the directory listing.  *Then* fio starts writing to the files, as
> indicated by the fio output.  The size of each file never changes
> during the test.
> 
> I wasn't expecting the full 4Mb files to be created before the
> sequential writes.  I expected to not see any files initially, and
> then a file for each job growing at a rate of 200Kbs throughout the
> test until reaching the 4MB limit.
> 
> Perhaps I'm just configuring fio incorrectly?

That you see them there does not mean they are actually written. Fio
will use truncate to setup the files, but only actually fill them with
data if you are going to be reading them (or requested overwrite).

BTW, please don't top-post. Reply beneath the original text, like a
normal flow of conversation.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux