Re: Page compression in lieu of swap?

Barry K. Nathan (barryn@pobox.com)
Sat, 12 Apr 2003 15:50:25 -0700


On Sat, Apr 12, 2003 at 06:35:19PM -0400, Timothy Miller wrote:
> Given the hideous amount of time required to access a disk, especially when
> something else wants to access it, could there be a benefit to "swapping"
> pages by compressing them to somewhere else in memory? If we could achieve,
[snip]
>
> Comments?

This has been done before, on (Classic) Mac OS (the program's name was
RAM Doubler). It was *far* faster than Apple's swapping implementation,
although I don't know how much of that was due to the compression and
how much was due to Apple's horrid virtual memory implementation back in
the day. It also had some stability problems, but that could have been
due to the implementation quality rather than to the overall approach.

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