Re: random writes with different patterns

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

 



On 11 April 2016 at 14:54, Foley, Robert <robert.foley@xxxxxxx> wrote:
>
> Thanks for the information about the %o option.
>
> On Saturday, April 09, 2016 1:00 AM, Sitsofe Wheeler [mailto:sitsofe@xxxxxxxxx] wrote:
>>>  You could always force a particular pattern to be put into every block by using verify_pattern (https://github.com/axboe/fio/blob/fio-2.8/HOWTO#L1407) and use it's %o option for generating more sophisticated patterns. Another choice would be to change the block size otherwise you're going to struggle to work out what "run" the pattern in the block came from.
>
> I apologize for not mentioning before that we have use cases with compression where we cannot use a repeating pattern.  The %o seems to allow the pattern to vary between blocks, but within the block the pattern repeats.   We really appreciate the use of the randomly generated data bytes by fio.
>
>>>We had some ideas around how to solve this if it is not currently supported.   It might be useful to have an optional "verify_io_stamp" parameter, which would specify a simple 32 or 64 bit integer that could get added to and verified with the verify_header.
>
>>Might you be able to do this by creating a particular verify pattern and specifying a custom header format?
>
> We could create a new verify pattern with a custom header format.  That would give us the ability to save and validate this verify_io_stamp parameter.   But it seems we would lose the ability to specify the different validation types (md5, crc64, crc32, etc).
>
> We really appreciate the flexibility of fio in being able to use different validation types (md5, crc64, crc32, etc) along with randomly generated data, and we would like to leverage those options along with the ability to specify a new verify_io_stamp.  Adding a new parameter for verify_io_stamp seems like the best option to achieve this, but we would appreciate more thoughts or ideas here.

Some sort of "generation" id in the header would allow better
verification when using something like loops (assuming it was being
incremented on a per iteration basis). Perhaps what is needed is some
sort of verify_header_extra_pattern that allows a few extra bytes to
be set in the header and verified later...

However this doesn't seem to solve your entire problem as I understood
it: given the same randseed you want the ability for the same blocks
to be written in the same order but with different pseudorandom data
contents? Further this data must be verifiable in a separate job?
Would changing the buffer_compress_percentage option do?

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