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-devel

[Xen-devel] [PATCH] TSC scaling for live migration between platforms wit

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] TSC scaling for live migration between platforms with different TSC frequecies
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Thu, 18 Jun 2009 10:56:46 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Jun 2009 19:59:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnvwGrBg+4kDTqFR/KfIVHgiCk9gA==
Thread-topic: [PATCH] TSC scaling for live migration between platforms with different TSC frequecies
Hi, Keir

    This patchset targets for enabling TSC scaling in software for live 
migration between platforms with different TSC frequecies.  Once found the 
target host's frequency is different with source host's, hypervisor will trap 
and emulate guest's all rdtsc instructions with its expected frequency.  
    If hardware's TSC frequency is difffernt with guest's exepcted freq, guest 
may behave abnormally, eg. incorrect wallclock, soft lockup, even hang in some 
cases.  Therefore, this patchset is necessary to avoid such issues. 

PATCH 0001-- Save guest's preferred TSC in image for save/restore and migration
PATCH 0002-- Move multidiv64 as a library function. 
PATCH 0003-- Scaling host TSC freqeuncy patch. 

Signed-off-by Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
Xiantao

Attachment: 0001-save_tsc_frequency.patch
Description: 0001-save_tsc_frequency.patch

Attachment: 0002-move_multidiv64_out.patch
Description: 0002-move_multidiv64_out.patch

Attachment: 0003-scaling_guest_tsc.patch
Description: 0003-scaling_guest_tsc.patch

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