From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Date: Fri, 11 Sep 2009 19:03:19 +0300 Message-ID: <20090911160319.GJ31123@reaktio.net> References: <20090910140359.GB31123@reaktio.net> <4AA942BC.6080404@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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: "Mr. Teo En Ming (Zhang Enming)" Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang Enming) = wrote: > Hi, >=20 > Please refer to the disk I/O benchmark results here: >=20 > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchm= ark-results-with-xen.html >=20 > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than > 2.6.31-rc6. >=20 Btw you might also want to test with the latest rebase/master tree; it's at Linux 2.6.31 final now. -- Pasi > --=20 > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical > Engineering) > Alma Maters: > (1) Singapore Polytechnic > (2) National University of Singapore > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com > Email: space.time.universe@gmail.com > MSN: teoenming@hotmail.com > Mobile Phone: +65-9648-9798 > Street: Bedok Reservoir Road > Republic of Singapore >=20 > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) < > space.time.universe@gmail.com> wrote: >=20 > > Hi, > > > > I will try to stop unnecessary services on Dom 0 and do a disk I/O > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6 tonight (Si= ngapore > > time). That will be more conclusive. > > > > -- > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanica= l > > Engineering) > > Alma Maters: > > (1) Singapore Polytechnic > > (2) National University of Singapore > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com > > Email: space.time.universe@gmail.com > > MSN: teoenming@hotmail.com > > Mobile Phone: +65-9648-9798 > > Street: Bedok Reservoir Road > > Republic of Singapore > > > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge wrote: > > > >> On 09/10/09 07:03, Pasi K=E4rkk=E4inen wrote: > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming (Zhang E= nming) > >> wrote: > >> > > >> >> Dear All, > >> >> > >> >> Here is my latest video presentation on VGA passthrough. Please c= heck > >> out my > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or the > >> Youtube > >> >> link at http://www.youtube.com/watch?v=3D1ia3IwG6tp4 > >> >> > >> >> The "not enough free resources" problem for nVidia Geforce 8400 G= S PCI > >> >> Express x16 graphics card in earlier presentation videos: > >> >> > >> >> http://www.youtube.com/watch?v=3DHNEiSI...< > >> http://www.youtube.com/watch?v=3DHNEiSInrav0> > >> >> > >> >> http://www.youtube.com/watch?v=3D_hOT_9...< > >> http://www.youtube.com/watch?v=3D_hOT_9LIG5w> > >> >> > >> >> was fixed. Device manager in Windows XP HVM domU no longer shows = an > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics card= . The > >> >> device is working properly and the resources tab shows the availa= ble > >> memory > >> >> ranges. > >> >> > >> >> Full VGA passthrough to Windows XP HVM guest operating system usi= ng Xen > >> >> virtualization has been realized. I am now able to run 3-D video > >> benchmarks > >> >> on the passed through nVidia GeForce 8400 GS graphics card. > >> >> > >> >> All this is possible using Xen 3.5 hypervisor with Intel supplied= VGA > >> >> passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc= 6 > >> which > >> >> causes Win XP domU to run slowly, I am now using pvops dom0 kerne= l > >> >> 2.6.30-rc3. > >> >> > >> >> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could c= ause > >> > this HVM slowness? > >> > > >> > >> I can't think of anything, unless the new swiotlb code is causing > >> problems. > >> > >> > Any tips how it could be debugged? > >> > > >> > >> It would help to isolate where the slowness is coming from. How muc= h > >> slowdown are we talking about? Is the HVM domain doing lots of IO a= t > >> the time? Are there any processes using lots of time in dom0? What= 's > >> the interrupt rate like? > >> > >> J > >> > > > > > > > > > >