[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] VGA acceleration utilizing shadow logdirty functionality


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Huang, Xinmei" <xinmei.huang@xxxxxxxxx>
  • Date: Thu, 17 May 2007 17:53:52 +0800
  • Delivery-date: Thu, 17 May 2007 02:53:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AceYZSldSoX4x3tKTEyhYB9cAR9S5AAA7FKw
  • Thread-topic: [PATCH] VGA acceleration utilizing shadow logdirty functionality

 
Hi all, 

here's a patch for vga acceleration. Can anyone give some suggestions ?

Shadow log dirty mode is enabled to track vram pages dirty status.When
drawing guest graphic screen, VGA dm gets the dirty bitmap of mmio space
through one shadow control hypercall. VGA
dm updates dirty pages of vram according to the dirty bitmap.Hypervisor
marks the vram pages read-only for the guest, in order to log the write
access to these pages from the guest. Once a vram page is written and
logged by hypervisor, it becomes r/w for this guest. After returning the
dirty bitmap to VGA dm, hypervisor re-marks these vram pages read-only
for next round.

This patch would save the heavy overhead of current vram dirty
algorithm(compare between vram and vram copy of last round), albeit
brings overhead of ram page fault for dirty status log. 

Any suggesion will be really appreciated.

Thanks !


Attachment: vga.logdirty.patch
Description: vga.logdirty.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.