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

RE: [Xen-ia64-devel] First migration ! and RFCs...


  • To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Thu, 6 Jul 2006 11:20:57 +0800
  • Delivery-date: Wed, 05 Jul 2006 20:23:02 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcagRT4z8a1FphspQ5ODTh2pc72cxwAY7LAQ
  • Thread-topic: [Xen-ia64-devel] First migration ! and RFCs...

>From: Tristan Gingold
>Sent: 2006年7月5日 23:15
>
>The live migration requires a bitmap of dirtied pages.  So the d bit (dirty
>bit) has to be virtualized.
>
>I can see at least two issues now:
>
>* When a dirty bit fault occurs Xen has to re-insert the pte.  This
>requires
>more information than available directly in the handler but these
>informations should be available in the VHPT.  However if the VHPT
>entry
>doesn't match, a page fault has to be injected which may be inefficient or
>prevent forward progress...

If current logic always ensures VHPT is the superset of machine DTLB, 
ideally the entry can be always hit from VHPT once dirty bit fault occurs. 
Or else you have to inject...

Psr.da also requires virtualized in this context.

>
>* Where is the bitmap ?  Within the data dirty fault, the virtual address is
>available but useless.  The physical address is available.  Because it is
>too
>sparse (like the memmap) the natural way is to put the bit within the
>memmap.
>Or we can add a gpfn index within the VHPT and using a compact
>bitmap.
>

Memmap is xen wise and you need extra check for domain ownership 
when retrieving information. VHPT table is only a cache to guest vTLB 
activity which doesn't contain all the dirty entries in the migration period.
So how about creating the bit in p2m table which is domain specific 
only?  the p2m table can be mapped to the virtual address space of 
migration thread which can then monitor the dirty status convergent in 
the migration process.

Thanks,
Kevin

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


 


Rackspace

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