Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845Ab1FCPRc (ORCPT ); Fri, 3 Jun 2011 11:17:32 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:54482 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753868Ab1FCPRb convert rfc822-to-8bit (ORCPT ); Fri, 3 Jun 2011 11:17:31 -0400 MIME-Version: 1.0 Message-ID: <30a1e906-eb9c-45db-8afe-6c4acc51399a@default> Date: Fri, 3 Jun 2011 08:17:01 -0700 (PDT) From: Dan Magenheimer To: Steven Whitehouse Cc: ocfs2-devel@oss.oracle.com, Joel Becker , Sunil Mushran , linux-kernel@vger.kernel.org Subject: RE: bug in cleancache ocfs2 hook, anybody want to try cleancache? References: <1307004343.2823.17.camel@menhir> <75f89186-d730-4b89-b88c-899cd5674cf0@default 1307090628.2881.15.camel@menhir f1ce7f0e-91a3-479b-aaea-de92929c77e7@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.4.1.0 (410211) [OL 12.0.6557.5001] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4DE8FB04.0089:SCFMA922111,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1265 Lines: 31 > > I'd like to try and understand the design of the existing code before > I > > consider anything more advanced such as writing a kvm backend, > > OK. I'd be happy to answer any questions on the design > at any time. Oops, forgot to add: If you do any experimentation (e.g. benchmarking), I strongly recommend that you also try frontswap** at the same time. As of today, frontswap is now in linux-next. Dan ** Frontswap is complementary to cleancache. When memory is plentiful, cleancache essentially stores more clean page cache pages to avoid disk reads. When memory is scarce and swapping is imminent or happening, frontswap stores swap pages in memory to avoid disk writes and reads. Both zcache and Xen tmem support both, and in both zcache and Xen tmem, cleancache pages are prioritized lower than frontswap pages, i.e. the number of cleancache pages is reduced as frontswap pages increase. Both cleancache and frontswap share the underlying Transcendent Memory "ABI". -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/