From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 288E16B0215 for ; Thu, 29 Apr 2010 09:02:43 -0400 (EDT) Date: Thu, 29 Apr 2010 15:02:31 +0200 From: Pavel Machek Subject: Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview Message-ID: <20100429130231.GA1661@ucw.cz> References: <4BD1A74A.2050003@redhat.com> <4830bd20-77b7-46c8-994b-8b4fa9a79d27@default> <4BD1B427.9010905@redhat.com> <4BD336CF.1000103@redhat.com> <4BD43182.1040508@redhat.com> <7264e3c0-15fe-4b70-a3d8-2c36a2b934df@default20100427125624.GB3681@ucw.cz> <36b23d5c-ca25-44b5-be9f-b7ceaab0dd2e@default> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36b23d5c-ca25-44b5-be9f-b7ceaab0dd2e@default> Sender: owner-linux-mm@kvack.org To: Dan Magenheimer Cc: Avi Kivity , linux-kernel@vger.kernel.org, linux-mm@kvack.org, jeremy@goop.org, hugh.dickins@tiscali.co.uk, ngupta@vflare.org, JBeulich@novell.com, chris.mason@oracle.com, kurt.hackel@oracle.com, dave.mccracken@oracle.com, npiggin@suse.de, akpm@linux-foundation.org, riel@redhat.com List-ID: Hi! > > Stop right here. Instead of improving existing swap api, you just > > create one because it is less work. > > > > We do not want apis to cummulate; please just fix the existing one. > > > If we added all the apis that worked when proposed, we'd have > > unmaintanable mess by about 1996. > > > > Why can't frontswap just use existing swap api? > > Hi Pavel! > > The existing swap API as it stands is inadequate for an efficient > synchronous interface (e.g. for swapping to RAM). Both Nitin > and I independently have found this to be true. But swap-to-RAM So... how much slower is swapping to RAM over current interface when compared to proposed interface, and how much is that slower than just using the memory directly? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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