lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 24 Mar 2008 23:45:51 +0530
From:	"Nitin Gupta" <nitingupta910@...il.com>
To:	"Wander Winkelhorst" <w.winkelhorst@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 0/6]: compcache: Compressed Caching

On Mon, Mar 24, 2008 at 9:51 PM, Wander Winkelhorst
<w.winkelhorst@...il.com> wrote:
>
> On Mon, Mar 24, 2008 at 4:00 PM, Nitin Gupta <nitingupta910@...il.com>
> wrote:
> > Hi All,
> >
>
> Hi,
>
>
> > (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).
> >
>
> I think this is a very interesting patch, but I find the name confusing, it
> isn't actually a compresed cache, now is it? It's just a compressed ramdisk.

In future, I intend to extend it to include page-cache compression also.

> Is it possible to use it as a initramfs as well?
I guess not since R/W have to be page-aligned in this case.

>  How many can I run at the same time?
>

Only 1 for now :)


>
> >
> > Project home: http://code.google.com/p/compcache/
> >
>
> This page shows the usage as:
>
> Loading: run 'use_compcache.sh <size of swap device (KB)>' to load all
> required modules and setup swap device. If size is not specified, default
> size of 25% of RAM is used.
>
> Does that mean that if I load compcache without using it, I still lose 25%
> of my memory? Or is the memory dynamically allocated?
>

Memory is dynamically allocated.


Thanks,
Nitin


> Regards,
> Wander Winkelhorst
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ