[linux-mm-cc] Question using compacache(zram) with multi devices

Mike Cao bcao at redhat.com
Fri Dec 24 01:48:13 EST 2010


On Thu, 2010-12-23 at 19:07 +0800, John McCabe-Dansted wrote:
> On Thu, Dec 23, 2010 at 6:24 PM, Mike Cao <bcao at redhat.com> wrote:
> > I wonder whether the /dev/zramX means zcache pools?
> 
> From the page you linked "zram can be used to provide a compressed
> swap, while zcache compresses filesystem cache pages". AFAICT zram and
> zcache are two different tools for two different purposes.
> 
I thought they should be the same thing, zcache now called zram.if
not ,how we can make zcache tool ?

> > if it is ,why need three?
> 
> Maybe Zcache needs to have a different pool for each partition it caches?
>    "Separate partitions (all ext4) for: /boot, / and /home. So, three
> separate zcache pools"
> 

-- 

Best Regards!
Mike



More information about the linux-mm-cc mailing list