| |
Alok Aggarwal's Weblog
Monday March 09, 2009 |
|
I just pushed the changes that add LZMA to (Open)Solaris
and also allow lofi(7D) to use LZMA as one of the
supported compression algorithms.
On an snv_111 machine, here's what you will see -
Usage: lofiadm -a file [ device ]
[-c aes-128-cbc|aes-192-cbc|aes-256-cbc|des3-cbc|blowfish-cbc]
[-e] [-k keyfile] [-T[token]:[manuf]:[serial]:key]
lofiadm -d file | device
lofiadm -C [gzip|gzip-6|gzip-9|lzma] [-s segment_size] file
lofiadm -U file
lofiadm [ file | device ]
So, if you take large'ish file and compress it with gzip
and lzma, the size difference is quite noticeable.
contraption# du -h solaris.orig
2.2G solaris.orig
contraption# lofiadm -C lzma solaris.orig
contraption# du -h solaris.orig
555M solaris.orig
contraption# lofiadm -U solaris.orig
contraption# lofiadm -C gzip solaris.orig
contraption# du -h solaris.orig
702M solaris.orig
With LZMA support now available for both userland and
kernel consumers, it should be very easy for other Solaris
utilities (zfs?) to provide support for it.
( Mar 10 2009, 03:38:07 PM EDT / Mar 09 2009, 02:44:26 PM EDT )
Permalink
Trackback: http://blogs.sun.com/aalok/entry/serving_up_lzma
|
|
|
|
| « March 2009 | | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | | | | | | | | Today |
Today's Page Hits: 14
|