Re: New Feature Idea: Compress swap file

Samuel Leo (samuel@szonline.net)
Fri, 20 Feb 1998 12:55:57 +0800


I think this is a good feature for some system. In Windows 95,
already have Quaterdeck's MagnaRAM doing it. This feature
need two stage:
1. a buffer for cache swap data, working buffer for compression,
and hold the transient swap data.
2. a kernel thread doing actually compression and swapping.
The buffer will be dynamic or share the system cache memory.
If the buffer can't hold the swaping data, doing a normal swap.
When system haven't heavy disk io operation, swapping thread
can reread it and compress it.

Jeffrey B. Siegal wrote:

> Even better, compress pages *in* memory and keep them there, as a first
> step prior to paging them out or discarding them. This technique is
> used by products like RAM Doubler and, properly tuned, should yield a
> big performance boost even on systems that don't page from increased
> effectiveness of the disk cache.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu

--
If you find the attached file "vcard.vcf",
You need Netscape Communicator to read it.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu