From: tgingold@free.fr Subject: Re: Improving hvm IO performance by using self IO emulator (YA io-emu?) Date: Thu, 22 Feb 2007 10:33:43 +0100 Message-ID: <1172136823.45dd6377a6d3b@imp.free.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Tristan Gingold , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Quoting Keir Fraser : > On 22/2/07 05:23, "Tristan Gingold" wrote: > > > The current IO emulator (ioemu process in dom-0) is a well known bott= leneck > > for hvm performance because IO requests travel is long and cross many > rings. > > > > Many ideas to improve the emulation have been proposed. None of them= have > > been adopted because their approach are too disruptive. > > > > Based on my recent firmware experience I'd like to propose a new meth= od. > > This sounds plausible. It probably depends on what kind of 'firmware' > environment you plan to drop the ioemu code into? The general idea of > emulated devices looking to the control stack like PV I/O is one that w= e > want for x86 as well. Yes that's the idea. > So any xend changes to that effect are welcome. > > * From the hypervisor point of view such an hvm domain looks like a P= V > domain: > > only the creation differs. This IO emulation method unifies the doma= in. > This > > will simplify save & restore and Xen in general. > > I don't know the specifics of ia64 VTi, but I'd expect that Xen will st= ill > need to be aware of VTi? Sure. > I'd be surprised if the differences can be hidden > safely and efficiently. If we can get rid of the ioemu process the differences between hvm and PV= will be small, won't they ? > The model you propose sounds much more to me like a > VTi (non-PV) domain with PV extensions in an extended firmware module. Yes, but this model should work with the ioemu process. Tristan.