From: "Ky Srinivasan" Subject: Re: PV drivers for HVM guests Date: Wed, 04 Oct 2006 14:42:56 -0400 Message-ID: <4523C843.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: aball@us.ibm.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Andrew, The I/O performance of HVM guests with PV drivers is SIGNIFICANTLY better = than what we get without PV drivers. I will post the patches after some = additional testing and code cleanup. Regards, K. Y >>> On Tue, Oct 3, 2006 at 6:19 PM, in message <1159913996.27206.37.camel@localhost>, "Andrew D. Ball" wrote:=20 > Interesting! Ideally, there would be better performance in the base HVM > device model. I think I know of some people that are working hard on > that. >=20 > I'm curious to see what you've done for (1) and (2). >=20 > Peace. > Andrew >=20 > On Tue, 2006- 10- 03 at 16:31 - 0400, Ky Srinivasan wrote: >> I am trying to build PV drivers for SLES9 HVM guests. SLES 9 is based = on the=20 > 2.6.5 kernel. Since the PV driver code is really designed for the = latest=20 > kernel release, I have had many issues/problems in building the PV = drivers=20 > for older Linux OS targets - I have only been looking at the issues = with 2.6.5=20 > kernel base and I suspect the problem will be even worse if one were to = look=20 > at older Linux kernels. This is unfortunate since PV drivers are so = critical=20 > for HVM guests and there is considerable interest in supporting legacy = Linux=20 > environments as HVM guests. The problems I have had to deal with can = be=20 > broadly classified into: >>=20 >> a) Compiler related issues >> b) Missing functionality in the legacy kernel - this includes = features as=20 > well as changed data structures >> c) Implementation differences of a given feature >>=20 >> These differences can be dealt with in a couple of different ways: >> 1) Modify the code in the PV drivers under appropriate compilation = switches=20 > to deal with the differences in the base kernels. >> 2) Introduce a compatibility component that bridges the gap between = the=20 > current PV code and a given Linux target and leave much of the PV driver = =20 > code untouched. >>=20 >> I have implemented both these schemes for the sles9 kernel and would = like to=20 > get your input on your preference. I personally like option 2. Going = forward,=20 > the evolution of PV drivers needs to be constrained by the required = support=20 > for legacy Linux environments.=20 >>=20 >> Regards, >>=20 >> K. Y. Srinivasan=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> _______________________________________________ >> Xen- devel mailing list >> Xen- devel@lists.xensource.com >> http://lists.xensource.com/xen- devel >=20 >=20 > _______________________________________________ > Xen- devel mailing list > Xen- devel@lists.xensource.com > http://lists.xensource.com/xen- devel