public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext2 compression: How about using the Netware principle?
@ 2000-11-20 14:49 Roy Sigurd Karlsbakk
  2000-11-21 20:00 ` Jorge Nerin
  2000-11-22 13:29 ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Roy Sigurd Karlsbakk @ 2000-11-20 14:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: Frank Ronny Larsen, Frank Ronny Larsen, Jannik Rasmussen,
	Lars Christian Nygård

Hi

With some years of practice with Novell NetWare, I've been wandering why
the (unused?) file system compression mechanism in ext2 is based on
doing realtime compression. To make compression efficient, it can't be
made this simple. Let's look at the type of volume (file system)
compression introduced with Novell NetWare 4.0 around '94:

- A file is saved to disk
- If the file isn't touched (read or written to) within <n> days
(default 14), the file is compressed.
- If the file isn't compressed more than <n> percent (default 20), the
file is flagged "can't compress".
- All file compression is done on low traffic times (default between
00:00 and 06:00 hours)
- The first time a file is read or written to within the <n> days
interval mentioned above, the file is addressed using realtime
compression. The second time, the file is decompressed and commited to
disk (uncompressed).

Results:
A minimum of CPU time is wasted compressing/decompressing files.
The average server I've been out working with have an effective
compression of somewhere between 30 and 100 per cent.

PS: This functionality was even scheduled for Win2k, but was somewhere
lost... I don't know where...

Questions:
I'm really not a kernel hacker, but really...
- The daily (or nightly) compression job can run as a cron job. This can
be a normal user process running as root. Am I right?
- The decompress-and-perhaps-commit-decompressed-to-disk process should
be done by a kernel process within (or beside) the file system.
- The M$ folks will get even more problems braging about a less useful
product.

Please CC: to me, as I'm not on the list

Regards

Roy Sigurd Karlsbakk

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-11-24 11:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-20 14:49 ext2 compression: How about using the Netware principle? Roy Sigurd Karlsbakk
2000-11-21 20:00 ` Jorge Nerin
2000-11-22 13:29 ` Pavel Machek
2000-11-23 11:07   ` Anders K. Pedersen
2000-11-23 12:51   ` Roy Sigurd Karlsbakk
2000-11-24 10:15     ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox