From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623Ab2DKJPT (ORCPT ); Wed, 11 Apr 2012 05:15:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3134 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198Ab2DKJPO (ORCPT ); Wed, 11 Apr 2012 05:15:14 -0400 Message-ID: <4F854B9C.3000405@redhat.com> Date: Wed, 11 Apr 2012 12:15:08 +0300 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120316 Thunderbird/11.0 MIME-Version: 1.0 To: Marcelo Tosatti CC: Xiao Guangrong , Xiao Guangrong , LKML , KVM Subject: Re: [PATCH 00/13] KVM: MMU: fast page fault References: <4F742951.7080003@linux.vnet.ibm.com> <4F82E04E.6000900@redhat.com> <20120409175829.GB21894@amt.cnet> <4F8329D3.7000605@gmail.com> <20120409194614.GB23053@amt.cnet> <4F84059D.80606@redhat.com> <20120411014712.GA15327@amt.cnet> In-Reply-To: <20120411014712.GA15327@amt.cnet> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/11/2012 04:47 AM, Marcelo Tosatti wrote: > On Tue, Apr 10, 2012 at 01:04:13PM +0300, Avi Kivity wrote: > > On 04/09/2012 10:46 PM, Marcelo Tosatti wrote: > > > Perhaps the mmu_lock hold times by get_dirty are a large component here? > > > > That's my concern, because it affects the scaling of migration for wider > > guests. > > > > > If that can be alleviated, not only RO->RW faults benefit. > > > > Those are the most common types of faults on modern hardware, no? > > Depends on your workload, of course. If there is memory pressure, > 0->PRESENT might be very frequent. My point is that reduction of > mmu_lock contention is a good thing overall. > Agreed. -- error compiling committee.c: too many arguments to function