Skip to content

compcache: compressed caching v2

Nitin Gupta linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3compcache: RAM based block devicedrivers/block/Kconfig drivers/block/Makefile drivers/block/compcache.c +1 more+555 -00 replies
2/3compcache: TLSF Allocatorinclude/linux/tlsf.h init/Kconfig mm/Makefile +2 more+943 -00 replies
3/3compcache: documentationDocumentation/compcache.txt+29 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] compcache: compressed caching v2

Hi All,

(This revision contains all changes suggested in initial review).

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 on x86 and x86_64.

Thanks,
Nitin