From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964857Ab2J3Q0N (ORCPT ); Tue, 30 Oct 2012 12:26:13 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:39950 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964816Ab2J3Q0K (ORCPT ); Tue, 30 Oct 2012 12:26:10 -0400 MIME-Version: 1.0 In-Reply-To: <20121030152925.GA7023@redhat.com> References: <1340742778-11282-1-git-send-email-fes@google.com> <20120910090521.GB18544@redhat.com> <20120910195931.GD20721@redhat.com> <20120910211018.GB21484@redhat.com> <20121030152925.GA7023@redhat.com> From: Mike Waychison Date: Tue, 30 Oct 2012 09:25:49 -0700 Message-ID: Subject: Re: [PATCH] Add a page cache-backed balloon device driver. To: "Michael S. Tsirkin" Cc: Frank Swiderski , Rusty Russell , Rik van Riel , Andrea Arcangeli , virtualization@lists.linux-foundation.org, "linux-kernel@vger.kernel.org" , kvm@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2012 at 8:29 AM, Michael S. Tsirkin wrote: > On Tue, Sep 11, 2012 at 12:10:18AM +0300, Michael S. Tsirkin wrote: >> > On the plus side, having an exit taken here on each page turns out to >> > be relatively cheap, as the vmexit from the page fault should be >> > faster to process as it is fully handled within the host kernel. >> > >> > Perhaps some combination of both methods is required? I'm not sure :\ >> >> Perhaps some benchmarking is in order :) >> Can you try telling host, potentially MADV_WILL_NEED >> in that case like qemu does, then run your proprietary test >> and see if things work well enough? > > Ping. Had a chance to try that? Not yet. We've been focused on other things recently and probably won't have a chance to return to this for a couple months at best. Sorry :( From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Waychison Subject: Re: [PATCH] Add a page cache-backed balloon device driver. Date: Tue, 30 Oct 2012 09:25:49 -0700 Message-ID: References: <1340742778-11282-1-git-send-email-fes@google.com> <20120910090521.GB18544@redhat.com> <20120910195931.GD20721@redhat.com> <20120910211018.GB21484@redhat.com> <20121030152925.GA7023@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Frank Swiderski , Andrea Arcangeli , Rik van Riel , kvm@vger.kernel.org, "linux-kernel@vger.kernel.org" , virtualization@lists.linux-foundation.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20121030152925.GA7023@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: kvm.vger.kernel.org On Tue, Oct 30, 2012 at 8:29 AM, Michael S. Tsirkin wrote: > On Tue, Sep 11, 2012 at 12:10:18AM +0300, Michael S. Tsirkin wrote: >> > On the plus side, having an exit taken here on each page turns out to >> > be relatively cheap, as the vmexit from the page fault should be >> > faster to process as it is fully handled within the host kernel. >> > >> > Perhaps some combination of both methods is required? I'm not sure :\ >> >> Perhaps some benchmarking is in order :) >> Can you try telling host, potentially MADV_WILL_NEED >> in that case like qemu does, then run your proprietary test >> and see if things work well enough? > > Ping. Had a chance to try that? Not yet. We've been focused on other things recently and probably won't have a chance to return to this for a couple months at best. Sorry :(