Hi again Jens, It really works great, thanks Michel Le 3 mai 2013 à 19:38, Jens Axboe a écrit : > On Fri, May 03 2013, Jens Axboe wrote: >> On Fri, May 03 2013, Michel Jansens wrote: >>> Hi, >>> >>> I'm trying out FIO, and rand a random read job with a 12GB file. It >>> seems that the "Laying out IO file(s) " process generates a >>> zero-filled file. This means that when compression is activated (on >>> ZFS), no reads actually happens. >>> >>> I tried adding a "buffer_compress_percentage=10" section to tell >>> generated data should compress from only "10%" but this seems to apply >>> only to actual benchmark job, not the 'laying out file's. >>> >>> Am I missing something? >> >> No, it currently just fills zeroes. It's trivial to make it honor the >> usual buffer fill logic, though. With the below patch, it'll do what fio >> otherwise would have done to IO buffers during the benchmark run. > > Since the followups didn't make it here, the below exposed a bug in the > compression logic where it would loop infinitely if compress_chunk > wasn't set too. > > So we got a new feature, and a fix for an older bug as well. Commit is > here: > > http://git.kernel.dk/?p=fio.git;a=commit;h=cc86c395fd9dd2002ec1edc0967b7c9453debdfb > > -- > 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 -- 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