Re: [PATCH V2 2/3] drivers/staging: zcache: host services and PAMservices

From: Nitin Gupta
Date: Wed Feb 09 2011 - 12:36:14 EST


On 02/09/2011 11:39 AM, Dan Magenheimer wrote:


From: Minchan Kim [mailto:minchan.kim@xxxxxxxxx]

As I read your comment, I can't find the benefit of zram compared to
frontswap.

Well, I am biased, but I agree that frontswap is a better technical
solution than zram. ;-) But "dynamic-ity" is very important to
me and may be less important to others.



I agree that frontswap is better than zram when considering swap as the use case - no bio overhead, dynamic resizing. However, zram being a *generic* block-device has some unique cases too like hosting files on /tmp, various caches under /var or any place where a compressed in-memory block device can help.

So, frontswap and zram have overlapping use case of swap but are not the same.

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