Re: buffer-cache builds up with invalidate=1 too

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

 



> Il giorno 24 ott 2017, alle ore 08:28, Sitsofe Wheeler <sitsofe@xxxxxxxxx> ha scritto:
> 
> Hi,
> 
> If memory serves it's actually slightly more complicated. If you are
> using loops=<number> then I *think* (you'll have to check) you will
> find that invalidation happens once per each loop start. However when
> you use time_based to do the repetition there is essentially only one
> "loop" (even though the job goes on forever) so loop actions only
> happen right at the start of the job with that option (that's why I
> put the scare quotes around "beginning" ;-).
> 

Thanks for this additional, useful piece of information.  Actually,
this further, possibly different caching behavior makes me think that
some extra comment in the manpage might be helpful.

Thanks,
Paolo

> On 24 October 2017 at 04:23, Paolo Valente <paolo.valente@xxxxxxxxxx> wrote:
>> 
>> thank you very much for answering this and my other question
>> thoroughly!
>> 
>> Maybe I would specify, in the description of invalidate, that the
>> invalidation is not repeated in case the I/O on a file restarts from
>> the beginning go the file.
> 
> -- 
> Sitsofe | http://sucs.org/~sits/

--
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