home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compression
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!rogerj
- From: rogerj@aix.rpi.edu (Diversion (Jeff Rogers))
- Subject: An idea for HD compression
- Message-ID: <+7_3k_+@rpi.edu>
- Nntp-Posting-Host: aix.rpi.edu
- Date: Sun, 10 Jan 1993 19:16:11 GMT
- Lines: 33
-
- I came up with idea a few days ago; I don't know if it's been suggested
- before.
-
- On a hard disk, files take up integral multiples of sector sizes. (Unless
- the filesystem packs them together, but I don't think too many do that).
- This means that many files will waste disk space on their last sector. On
- average, each file will waste half of it's highest sector. Under messy-dos,
- this translates (If I remember ny ms-dos internals correctly) to a waste of
- about 1K per file. (1024 byte sectors, 2 sector clusters). On a resonable
- sized hard disk, this could mean a good deal of space. With 4000 files (not
- too unreasonable), this means a waste of almost 4 megs.
-
- Why not try to reclaim this lost space? Use a null-suppression algorithm on
- half-empty sectors, keep an index of them, store them somewhere else in a
- packed form, and get them when they're requested by int 13(?).
- As an extension of this, use a more elaborate compression scheme (LZ7x) and
- compress all sectors.
- I think this is similar to what stacker does, but I recall hearing that
- stacker operates on ms-dos files only, and doesn't work with other os's
- (including the hardware version). (My information might be wrong.) This
- would be an alternative to stacker, and os transparent (assuming the os
- reads the disk thru int 13, and not some ultra-low-level mumbo-jumbo).
-
- Is this type of thing possible? Feasable? worthwhile? copyright
- infringement? (I'm not too sure about stacker stuff, I'm sure lots of people
- will enlighten me ;-) )
-
- Diversion
-
- --
- "I can see 'em | "Want me to create a diversion?"
- I can see 'em | Diversion
- Someone wake me when it's over" | rogerj@rpi.edu
-