From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Tue, 17 Apr 2012 14:56:24 +0000 Subject: Re: [PATCH 00/13] KVM: MMU: fast page fault Message-Id: <4F8D8498.4080409@redhat.com> List-Id: References: <4F742951.7080003@linux.vnet.ibm.com> <4F82E04E.6000900@redhat.com> <20120409175829.GB21894@amt.cnet> <4F8329D3.7000605@gmail.com> <20120409194614.GB23053@amt.cnet> <4F840DD2.3090101@redhat.com> <20120410204031.ffb5b976225ac9fe6dae474e@gmail.com> <4F842074.1050108@linux.vnet.ibm.com> <20120411211514.35db29c11460516e604059b6@gmail.com> <4F857B61.9080602@linux.vnet.ibm.com> <20120411231441.9d0984672dd252b806f99128@gmail.com> <20120413232528.c5ddbddb3cc0870d6e85a332@gmail.com> <4F8A95CB.9070104@redhat.com> <20120417004935.a9a39d951b3c24588e29edd2@gmail.com> <4F8D0D29.9050009@linux.vnet.ibm.com> <4F8D210C.8070505@redhat.com> <20120417213748.f3c4ae8d0056676fd33a47c5@gmail.com> <4F8D6503.4040800@redhat.com> <20120417235450.c0972c06034002d7173eeb40@gmail.com> In-Reply-To: <20120417235450.c0972c06034002d7173eeb40@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Takuya Yoshikawa Cc: Xiao Guangrong , kvm-ppc@vger.kernel.org, Marcelo Tosatti , Xiao Guangrong , LKML , KVM On 04/17/2012 05:54 PM, Takuya Yoshikawa wrote: > On Tue, 17 Apr 2012 15:41:39 +0300 > Avi Kivity wrote: > > > > Since there are many known algorithms to predict hot memory pages, > > > the userspace will be able to tune the frequency of GET_DIRTY_LOG for such > > > parts not to get too many faults repeatedly, if we can restrict the range > > > of pages to protect. > > > > > > This is the fine-grained control. > > > > Do you want per-page control, or just range-based? > > Difficult question. > > For live migration, range-based control may be enough duo to the locality > of WWS. What's WWS? I don't see a reason to assume locality in gpa space (or in gva space either, for some workloads). -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 00/13] KVM: MMU: fast page fault Date: Tue, 17 Apr 2012 17:56:24 +0300 Message-ID: <4F8D8498.4080409@redhat.com> References: <4F742951.7080003@linux.vnet.ibm.com> <4F82E04E.6000900@redhat.com> <20120409175829.GB21894@amt.cnet> <4F8329D3.7000605@gmail.com> <20120409194614.GB23053@amt.cnet> <4F840DD2.3090101@redhat.com> <20120410204031.ffb5b976225ac9fe6dae474e@gmail.com> <4F842074.1050108@linux.vnet.ibm.com> <20120411211514.35db29c11460516e604059b6@gmail.com> <4F857B61.9080602@linux.vnet.ibm.com> <20120411231441.9d0984672dd252b806f99128@gmail.com> <20120413232528.c5ddbddb3cc0870d6e85a332@gmail.com> <4F8A95CB.9070104@redhat.com> <20120417004935.a9a39d951b3c24588e29edd2@gmail.com> <4F8D0D29.9050009@linux.vnet.ibm.com> <4F8D210C.8070505@redhat.com> <20120417213748.f3c4ae8d0056676fd33a47c5@gmail.com> <4F8D6503.4040800@redhat.com> <20120417235450.c0972c06034002d7173eeb40@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Xiao Guangrong , kvm-ppc@vger.kernel.org, Marcelo Tosatti , Xiao Guangrong , LKML , KVM To: Takuya Yoshikawa Return-path: In-Reply-To: <20120417235450.c0972c06034002d7173eeb40@gmail.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 04/17/2012 05:54 PM, Takuya Yoshikawa wrote: > On Tue, 17 Apr 2012 15:41:39 +0300 > Avi Kivity wrote: > > > > Since there are many known algorithms to predict hot memory pages, > > > the userspace will be able to tune the frequency of GET_DIRTY_LOG for such > > > parts not to get too many faults repeatedly, if we can restrict the range > > > of pages to protect. > > > > > > This is the fine-grained control. > > > > Do you want per-page control, or just range-based? > > Difficult question. > > For live migration, range-based control may be enough duo to the locality > of WWS. What's WWS? I don't see a reason to assume locality in gpa space (or in gva space either, for some workloads). -- error compiling committee.c: too many arguments to function