Re: Transparent compression in the FS

From: Erik Mouw
Date: Wed Oct 15 2003 - 11:05:56 EST


On Wed, Oct 15, 2003 at 06:33:03PM +0400, Nikita Danilov wrote:
> Erik Mouw writes:
> > You have a point, but remember that modern IDE drives can do about
> > 50MB/s from medium. I don't think you'll find a CPU that is able to
> > handle transparent decompression on the fly at 50MB/s, even not with a
> > simple compression scheme as used in NTFS (see the NTFS docs on
> > SourceForge for details).
>
> Trend is that CPU is getting faster and faster with respect to the
> disk. So, even if it were hard to find such a CPU to-day, it will be
> common place to-morrow.

I'm not too sure about this. It's my feeling that CPU speed and disk
throughput grow about as fast. I don't have hard figures, so I can be
proven wrong on this.

FYI: you hardly see compressed files on NTFS. If you do, it's either
because the user thought it was a fun feature (in which case only a
small amount of files are compressed), or because it's an old (small)
disk filled to the brim with data (in which case most of the volume is
compressed). In the latter case compression indeed makes things faster,
but only when using the disk with a modern CPU, not when using it in
the original machine.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact Harddisk-recovery.com
-
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/