|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] Re: [PATCH][HVM] remove qemu shadow_vram patch for	performan 
| 
Keir Fraser wrote:
 
On 15/3/07 03:30, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:
 
remove qemu shadow_vram patch and force a whole screen update each time for
performance.
W/O this patch, there is huge performance drop in HVM domain when adding other
guest(windows or linux with xwindow).
shadow_vram_revert.patch - revert the shadow_vram patch
shadow_vram_force_update.patch - explictly redraw screen each time
 
How can updating the whole screen 30 times a second be faster than the
memcmp() that we do currently?
 
It really depends.  The VNC display already has a minimization mechanism 
so doign the memcmp() in the vga driver doesn't help at all. 
For SDL, when using X, it's going to be doing an XShmImage so the 
difference is only in the size of update (no data is transferred to the 
X server).  If the X server is double buffering the framebuffer (which I 
have to assume it's doing), then you're just paying the cost of a 
memcpy() in the X server that you would normally pay in qemu-dm. 
However, if you're forwarding SDL over X, or for some reason your X 
server isn't using XShmImage, this patch will slow things down considerably. 
Perhaps this should be made a configuration option?
Regards,
Anthony Liguori
 
 -- Keir
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] Re: [PATCH][HVM] remove qemu shadow_vram patch for	performance, Anthony Liguori
[Xen-devel] Re: [PATCH][HVM] remove qemu shadow_vram patch for	performance,
Anthony Liguori <=RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, (continued)
RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Li, Xin B
Re: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Keir Fraser
RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Li, Xin B
Re: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Keir Fraser
RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Li, Xin B
Re: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Zhai, Edwin
RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram	patchforperformance, Dong, Eddie
Re: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram patch	forperformance, Christian Limpach
RE: [Xen-devel] [PATCH][HVM] remove qemu shadow_vram	patchforperformance, Dong, Eddie
 |  |  | 
  
    |  |  |