WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Does faster 2D Host video card help HVM guest?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Does faster 2D Host video card help HVM guest?
From: "Trolle Selander" <trolle.selander@xxxxxxxxx>
Date: Mon, 4 Jun 2007 11:58:21 +0200
Delivery-date: Mon, 04 Jun 2007 02:56:35 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NBv8pxl5MFyGZnK6SCRbYuQL6F0keqZoLlzJpuS7LIGjrB8+GtbLwpojyj5QSOBJHSAU7hASmoI2bb+Vzg40wS6D7FjsE+A961s20JpAAnMLptF6Ts6WlneKW3/7mx8Oc4/5Owc2n27SXsdB36sfpdJYV37LtNDvf0emhQkwf3k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cL/JRPBlUkltdretUd4nAQA4KQlyFNRc4t/c/joNK2jmyLzpFcmKLXyLknyYI7Xg0OW7ca1uawiwmHb3yC8w+A/CgCoRb2vwS18vzG5paS1jdtU0rPAB4lhz6OnfqdGDceoaax+hUPqXpQI009hcJ4HANRql/Nl/SRCjZum/u04=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706040636.52868.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1Huoke-0003QE-O1@host-192-168-0-1-bcn-london> <895212.86505.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <515922b50706030953l48d28073l7feb0ee441c99194@xxxxxxxxxxxxxx> <200706040636.52868.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I recently measured graphics performance on an OS/2 guest (which is as "unaccellerated" as it can get) and discovered, much to my surprise, that graphics performance is nowhere near as bad as one might assume, and in fact pretty good. I believe the explanation to be that though unacellerated, the virtual graphics card is sitting on a "bus" that actually has the full speed of RAM, which on a fast dual channel DDR2 system is actually faster than even PCIe 16x. Moroever, due to the fact that the cirrus device model uses buffered mmio, in a multi-core system, a certain amount of the "work" can get handed off to dom0 and the other CPU core.
It would seems to me that the main reason 2D & gui ops feel "slow" in guests right now is the fact that even with SDL, the guest VM's screen is only updated  at 30 Hz.

/Trolle

On 6/4/07, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Because of how the qemu-dm graphics card emulation works, I believe host
> graphics card speed has pretty much no impact whatsoever with the current
> device model. The important factors are host CPU & RAM speed.

Right now, the guest's graphics performance is going to be fairly slow
whatever you're running in the host.  It's not worth trying to upgrade the
host graphics card, because it's not really going to make any difference to
the guest.

Guest display improvements will probably come from future optimisations in
future releases of Xen.

Cheers,
Mark

--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users