From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755261AbZHMRbu (ORCPT ); Thu, 13 Aug 2009 13:31:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755251AbZHMRbt (ORCPT ); Thu, 13 Aug 2009 13:31:49 -0400 Received: from mail-gx0-f215.google.com ([209.85.217.215]:39757 "EHLO mail-gx0-f215.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755229AbZHMRbt convert rfc822-to-8bit (ORCPT ); Thu, 13 Aug 2009 13:31:49 -0400 MIME-Version: 1.0 In-Reply-To: <200908130805.36787.a1426z@gawab.com> References: <200908122007.43522.ngupta@vflare.org> <4A837D5A.3070407@vflare.org> <200908130805.36787.a1426z@gawab.com> Date: Thu, 13 Aug 2009 23:01:49 +0530 Message-ID: Subject: Re: compcache as a pre-swap area (was: [PATCH] swap: send callback when swap slot is freed) From: Nitin Gupta To: Al Boldi Cc: Hugh Dickins , Matthew Wilcox , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 13, 2009 at 10:35 AM, Al Boldi wrote: > Nitin Gupta wrote: >> BTW, last time compcache was not accepted due to lack of performance >> numbers. Now the project has lot more data for various cases: >> http://code.google.com/p/compcache/wiki/Performance >> Still need to collect data for worst-case behaviors and such... > > I checked the link, and it looks like you are positioning compcache as a swap > replacement.  If so, then repositioning it as a compressed pre-swap area > working together with normal swap-space, if available, may yield a much more > powerful system. > > compcache is really not really a swap replacement. Its just another swap device that compresses data and stores it in memory itself. You can have disk based swaps along with ramzswap (name of block device). Nitin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 54FF76B004F for ; Thu, 13 Aug 2009 13:31:52 -0400 (EDT) Received: by ywh32 with SMTP id 32so1229266ywh.11 for ; Thu, 13 Aug 2009 10:31:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <200908130805.36787.a1426z@gawab.com> References: <200908122007.43522.ngupta@vflare.org> <4A837D5A.3070407@vflare.org> <200908130805.36787.a1426z@gawab.com> Date: Thu, 13 Aug 2009 23:01:49 +0530 Message-ID: Subject: Re: compcache as a pre-swap area (was: [PATCH] swap: send callback when swap slot is freed) From: Nitin Gupta Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: Al Boldi Cc: Hugh Dickins , Matthew Wilcox , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Thu, Aug 13, 2009 at 10:35 AM, Al Boldi wrote: > Nitin Gupta wrote: >> BTW, last time compcache was not accepted due to lack of performance >> numbers. Now the project has lot more data for various cases: >> http://code.google.com/p/compcache/wiki/Performance >> Still need to collect data for worst-case behaviors and such... > > I checked the link, and it looks like you are positioning compcache as a = swap > replacement. =A0If so, then repositioning it as a compressed pre-swap are= a > working together with normal swap-space, if available, may yield a much m= ore > powerful system. > > compcache is really not really a swap replacement. Its just another swap device that compresses data and stores it in memory itself. You can have disk based swaps along with ramzswap (name of block device). Nitin -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org