Erblichs wrote:
        So, my first order would be to take 1GB or 10GB .wav files
        AND time both the kernel implementation of Gzip and the
        user application. Approx the same times MAY indicate
        that the kernel implementation gzip funcs should
        be treatedly maybe more as  interactive scheduling
        threads and that it is too high and blocks other
        threads or proces from executing.

If you just run gzip(1) against the files you are operating on the whole file so you only incur startup costs once and are thus doing quite a different compression to operating on a block level. A fairer comparison would be to build a userland program that compresses and then writes to disk in ZFS blocksize chunks, that way you are compressing the same sizes of data and doing the startup every time just like zio has to do.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to