LWN.net Logo

: compcache: Compressed Caching

From:  Nitin Gupta <nitingupta910@gmail.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/6]: compcache: Compressed Caching
Date:  Mon, 24 Mar 2008 20:30:05 +0530
Message-ID:  <200803242030.05997.nitingupta910@gmail.com>
Cc:  linux-mm@kvack.org
Archive-link:  Article, Thread

Hi All,

(sending to lkml since I didn't get any reply at linux-mm).

This implements a RAM based block device which acts as swap disk.
Pages swapped to this disk are compressed and stored in memory itself.
This allows more applications to fit in given amount of memory. This is
especially useful for embedded devices, OLPC and small desktops
(aka virtual machines).

Project home: http://code.google.com/p/compcache/

It consists of following components:
- compcache.ko: Creates RAM based block device
- tlsf.ko: Two Level Segregate Fit (TLSF) allocator
- LZO de/compressor: (Already in mainline)

Project home contains some performance numbers for TLSF and LZO.
For general desktop use, this is giving *significant* performance gain
under memory pressure. For now, it has been tested only on x86.

Thanks,
Nitin

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds