From: Ingo Molnar Subject: Re: [PATCH] kvm tools: Add MMIO coalescing support Date: Sat, 4 Jun 2011 11:38:47 +0200 Message-ID: <20110604093847.GB14524@elte.hu> References: <1307130668-5652-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: penberg@kernel.org, kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com To: Sasha Levin Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:46801 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790Ab1FDJjD (ORCPT ); Sat, 4 Jun 2011 05:39:03 -0400 Content-Disposition: inline In-Reply-To: <1307130668-5652-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: * Sasha Levin wrote: > Coalescing MMIO allows us to avoid an exit every time we have a > MMIO write, instead - MMIO writes are coalesced in a ring which > can be flushed once an exit for a different reason is needed. > A MMIO exit is also trigged once the ring is full. > > Coalesce all MMIO regions registered in the MMIO mapper. > Add a coalescing handler under kvm_cpu. Does this have any effect on latency? I.e. does the guest side guarantee that the pending queue will be flushed after a group of updates have been done? Thanks, Ingo