Re: Bug with --buffer_compress_percentage

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

 



>> I think this is an artifact of how gzip compression works, it doesn't
>> have an unlimited size window. It's 32k, iirc. Fio should fill so that
>> it ideally would compress to the given size with an ideal compression
>> algorithm.
>>
>> You'd probably want to use buffer_compress_chunk=x to always force fio
>> to operate in sizes of that for compression, if you want to ensure that
>> gzip would be able to compress to the specified ratio. I do think we
>> have a loop missing though for that to do what you need, let me test
>> that and report back.
>
>
> I think things should work for all sizes, if you add this patch and then add
> buffer_compress_chunk=32k or similar to your job file. You can do that for
> smaller block sizes as well, fio will use the minimum of that chunk size or
> the write block size.
>
> --
> Jens Axboe
>

Applied the patch and added buffer_compress_chunk=32k and now it's
working for all block sizes. Thank you for the info and the patch!
--
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