PrivatePuffin / zfs-compression-test

Standardised ZFS compression test
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

zfs-compression-test

Crude Standardised ZFS compression test, with repeatable results in mind

Important notes

How setup

  1. Install all dependancies as described here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS#installing-dependencies
  2. make sure fio is installed (ex. apt-get install fio )
  3. Run: git clone https://github.com/Ornias1993/zfs-compression-test
  4. Run: cd zfs-compression-test
  5. Clone the branch/repo containing ZoL (ex. git clone https://github.com/zfsonlinux/zfs )

By now you'll have all dependencies and you'll have a clean git clone in zfs-compression-test/zfs

How to use

  1. Make sure you cd into the zfs-compression-test directory
  2. run: sudo ./comp-test.sh with one of the options (ex. sudo ./comp-test.sh -i -b -r )

options

Compression Tests

Other

When finished you'll have a .txt file in the zfs-compression-test directory, containing the test results

To Do

LICENCE

This work is dual licenced under GPLv2 and BSD-2 clause