Re: Transparent compression in the FS

From: Jeff Garzik
Date: Wed Oct 15 2003 - 10:14:40 EST


Erik Mouw wrote:
On Tue, Oct 14, 2003 at 04:30:50PM -0400, Josh Litherland wrote:

Are there any filesystems which implement the transparent compression
attribute ? (chattr +c)


The NTFS driver supports compressed files. Because it doesn't have
proper write support, I don't think it will do anything useful with
chattr +c.

Nowadays disks are so incredibly cheap, that transparent compression
support is not realy worth it anymore (IMHO).


Josh and others should take a look at Plan9's venti file storage method -- archival storage is a series of unordered blocks, all of which are indexed by the sha1 hash of their contents. This magically coalesces all duplicate blocks by its very nature, including the loooooong runs of zeroes that you'll find in many filesystems. I bet savings on "all bytes in this block are zero" are worth a bunch right there.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/