From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Date: Sat, 12 Sep 2009 18:11:43 +0800 Message-ID: References: <20090910140359.GB31123@reaktio.net> <4AA942BC.6080404@goop.org> <20090911160319.GJ31123@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1653068435==" 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: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, space.time.universe@gmail.com List-Id: xen-devel@lists.xenproject.org --===============1653068435== Content-Type: multipart/alternative; boundary=000e0cd5c770e5803c04735ea8d0 --000e0cd5c770e5803c04735ea8d0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB 3.0 driver but the kernel stops loading. Then I totally disabled all USB support by passing the "nousb" parameter to the kernel but it still stops loading. pvops dom 0 2.6.31 final can't work. --=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 On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) < space.time.universe@gmail.com> wrote: > After disabling the USB 1.0 driver, but leaving the USB 2.0 driver compil= ed > statically into the kernel, I get an error with the USB 2.0 driver. This > means I cannot use either of the USB 1.0 and USB 2.0 drivers. > > Please refer to my blog post here: > > > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-= usb-10-host-controller.html > > -- > 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 > > On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) < > space.time.universe@gmail.com> wrote: > >> Hi, >> >> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree. >> >> But it gave me a USB host controller died error. >> >> Please refer to the error output here: >> >> >> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-o= ps-dom-0-kernel-2631.html >> >> -- >> 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 >> >> On Sat, Sep 12, 2009 at 12:03 AM, Pasi K=E4rkk=E4inen wro= te: >> >>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang Enming= ) >>> wrote: >>> > Hi, >>> > >>> > Please refer to the disk I/O benchmark results here: >>> > >>> > >>> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchm= ark-results-with-xen.html >>> > >>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than >>> > 2.6.31-rc6. >>> > >>> >>> Btw you might also want to test with the latest rebase/master tree; it'= s >>> at Linux 2.6.31 final now. >>> >>> -- Pasi >>> >>> > -- >>> > 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 8:19 AM, Mr. Teo En Ming (Zhang Enming) < >>> > space.time.universe@gmail.com> wrote: >>> > >>> > > 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 >>> (Singapore >>> > > time). That will be more conclusive. >>> > > >>> > > -- >>> > > 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 >>> > > >>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge < >>> jeremy@goop.org>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 >>> Enming) >>> > >> wrote: >>> > >> > >>> > >> >> Dear All, >>> > >> >> >>> > >> >> Here is my latest video presentation on VGA passthrough. Please >>> check >>> > >> out my >>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/ or th= e >>> > >> Youtube >>> > >> >> link at http://www.youtube.com/watch?v=3D1ia3IwG6tp4 >>> > >> >> >>> > >> >> The "not enough free resources" problem for nVidia Geforce 8400 >>> GS 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 show= s >>> an >>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS graphics >>> card. The >>> > >> >> device is working properly and the resources tab shows the >>> available >>> > >> memory >>> > >> >> ranges. >>> > >> >> >>> > >> >> Full VGA passthrough to Windows XP HVM guest operating system >>> using Xen >>> > >> >> virtualization has been realized. I am now able to run 3-D vide= o >>> > >> benchmarks >>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card. >>> > >> >> >>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel suppli= ed >>> VGA >>> > >> >> passthrough patches. Instead of using pvops dom0 kernel >>> 2.6.31-rc6 >>> > >> which >>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0 >>> kernel >>> > >> >> 2.6.30-rc3. >>> > >> >> >>> > >> >> >>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that could >>> cause >>> > >> > 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 >>> much >>> > >> slowdown are we talking about? Is the HVM domain doing lots of IO >>> at >>> > >> the time? Are there any processes using lots of time in dom0? >>> What's >>> > >> the interrupt rate like? >>> > >> >>> > >> J >>> > >> >>> > > >>> > > >>> > > >>> > > >>> > > >>> >> >> >> >> >> > > > > --000e0cd5c770e5803c04735ea8d0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled USB = 3.0 driver but the kernel stops loading.

Then I totally disabled all= USB support by passing the "nousb" parameter to the kernel but i= t still stops loading.

pvops dom 0 2.6.31 final can't work.

--
Mr. Teo En M= ing (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
= Alma Maters:
(1) Singapore Polytechnic
(2) National University of Sin= gapore
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 Sat, Sep 12, 2009 at 4:44 PM= , Mr. Teo En Ming (Zhang Enming) <space.time.universe@gmail.com> w= rote:
After disabling t= he USB 1.0 driver, but leaving the USB 2.0 driver compiled statically into = the kernel, I get an error with the USB 2.0 driver. This means I cannot use= either of the USB 1.0 and USB 2.0 drivers.

Please refer to my blog post here:

http://teo-en-m= ing-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-contr= oller.html


--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mech= anical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) Nat= ional University of Singapore
Blog URL: http://teo-en-ming-aka-zhang= -enming.blogspot.com
Email: s= pace.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-964= 8-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zha= ng Enming) <space.time.universe@gmail.com> wrote= :
Hi,

I have= tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.

But i= t gave me a USB host controller died error.

Please refer to the error output here:

http://teo-en-ming-aka-zhang-enming.blogspot.co= m/2009/09/error-with-pv-ops-dom-0-kernel-2631.html


--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mech= anical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) Nat= ional University of Singapore
Blog URL: http://teo-en-ming-aka-zhang= -enming.blogspot.com
Email: s= pace.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-964= 8-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Sat, Sep 12, 2009 at 12:03 AM, Pasi K=E4rkk=E4inen <pasik@iki.fi= > wrote:
On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang Enmin= g) wrote:
> Hi,
>
> Please refer to the disk I/O benchmark results here:
>
> http://teo-en-ming= -aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.h= tml
>
> Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> 2.6.31-rc6.
>

Btw you might also want to test with the latest rebase/master tree; i= t's
at Linux 2.6.31 final now.

-- Pasi

> --
> 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: teoenm= ing@hotmail.com
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) < > spa= ce.time.universe@gmail.com> wrote:
>
> > 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= (Singapore
> > time). That will be more conclusive.
> >
> > --
> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mecha= nical
> > 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: t= eoenming@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 <jeremy@goop.org>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 Min= g (Zhang Enming)
> >> wrote:
> >> >
> >> >> Dear All,
> >> >>
> >> >> Here is my latest video presentation on VGA passthro= ugh. Please check
> >> out my
> >> >> blog at http://teo-en-ming-aka-zhang-enming.blo= gspot.com/ or the
> >> Youtube
> >> >> link at http://www.youtube.com/watch?v=3D1ia3IwG6tp4=
> >> >>
> >> >> The "not enough free resources" problem fo= r nVidia Geforce 8400 GS PCI
> >> >> Express x16 graphics card in earlier presentation vi= deos:
> >> >>
> >> >> 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 sho= ws the available
> >> memory
> >> >> ranges.
> >> >>
> >> >> Full VGA passthrough to Windows XP HVM guest operati= ng system using Xen
> >> >> virtualization has been realized. I am now able to r= un 3-D video
> >> benchmarks
> >> >> on the passed through nVidia GeForce 8400 GS graphic= s card.
> >> >>
> >> >> All this is possible using Xen 3.5 hypervisor with I= ntel supplied VGA
> >> >> passthrough patches. Instead of using pvops dom0 ker= nel 2.6.31-rc6
> >> which
> >> >> causes Win XP domU to run slowly, I am now using pvo= ps dom0 kernel
> >> >> 2.6.30-rc3.
> >> >>
> >> >>
> >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 th= at could cause
> >> > 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. = =A0How much
> >> slowdown are we talking about? =A0Is the HVM domain doing lot= s of IO at
> >> the time? =A0Are there any processes using lots of time in do= m0? =A0What's
> >> the interrupt rate like?
> >>
> >> =A0 =A0J
> >>
> >
> >
> >
> >
> >











--000e0cd5c770e5803c04735ea8d0-- --===============1653068435== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1653068435==--