From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC 00/10] KVM: Add TMEM host/guest support Date: Tue, 12 Jun 2012 15:01:36 +0300 Message-ID: <4FD72FA0.1060104@redhat.com> References: <4FCF5A08.7080306@redhat.com> <1339161641.3200.15.camel@lappy> <4FD5A7CE.5060205@redhat.com> <1339410370.4999.35.camel@lappy> <4FD5DA5F.7090905@redhat.com> <06ae24f8-5083-49c4-9b9f-af553e1cdf68@default> <4FD625A7.5020707@redhat.com> <1339442716.4999.80.camel@lappy> <1339444574.4999.82.camel@lappy> <4FD72C1E.2090205@redhat.com> <20120612115857.GT580@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sasha Levin , Dan Magenheimer , mtosatti@redhat.com, gregkh@linuxfoundation.org, sjenning@linux.vnet.ibm.com, Konrad Wilk , kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:32096 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752224Ab2FLMBs (ORCPT ); Tue, 12 Jun 2012 08:01:48 -0400 In-Reply-To: <20120612115857.GT580@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/12/2012 02:58 PM, Gleb Natapov wrote: > On Tue, Jun 12, 2012 at 02:46:38PM +0300, Avi Kivity wrote: >> On 06/11/2012 10:56 PM, Sasha Levin wrote: >> > >> > btw, so far we've been poking on half of the code here. >> > >> > What about frontswap over kvm-tmem? are there any specific tests you'd >> > like to see there? >> >> hmm. On one hand, no one swaps these days so there aren't any good >> benchmarks for it. On the other hand, with swapping, at least we're >> guaranteed the page will be read in the future (unlike cache, where it's >> quite possible it won't be). I don't know. >> >> > Swapped page can be discarded without reading too. Right. The effects of frontswap can be achieved by swapping to a block device that sets cache=writeback, more or less (esp. with trim support, you can discard pages that you won't be needing again before they hit disk). -- error compiling committee.c: too many arguments to function