n0derunner

    Creating compressible data with fio.

    Published: (Updated: ) in fio, , , , by .

    binary-code-507785_1280

    Today I used fio to create some compressible data to test on my Nutanix nodes.  I ended up using the following fio params to get what I wanted.

     

    buffer_compress_percentage=50
    refill_buffers
    buffer_pattern=0xdeadbeef

    Much of this is well explained in the README for latest version of fio.

    Also NOTE  Older versions of fio do not support many of the fancy data creation flags, but will not alert you to the fact that fio is ignoring them. I spent quite a bit of time wondering why my data was not compressed, until I downloaded and compiled the latest fio.