Hello everyone, I need to do a live migration between two different hosts: 1: Intel(R) Core(TM)2 CPU2: AMD Athlon(tm) Processor TF-20 Alternatively I need to have it working with remus but once "xm migrate --live" is ready I guess that woudn''t mean a problem. The thing here is memory and processor flags masking because they will be different. Is there a way to do this from the guest config file? .. I''ve looked into /etc/xen/xmexample.hvm but got no clue about it yet. Thank you for any advice!, Tony. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2011-Nov-16 22:49 UTC
RE: [Xen-users] Xm live migration between Intel and AMD
> > I need to do a live migration between two different hosts: > > 1: Intel(R) Core(TM)2 CPU > 2: AMD Athlon(tm) Processor TF-20 >I tested this once upon a time... I think the cpuid entry I used was: cpuid = [ ''0:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''1:eax=0x06b1,ecx=xxxxxxxxxxx0000xx00xxx0000000xx0,edx=xxx00000xxxxxxx0x xxxxxxxx0xxxxxx'', ''4:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''0x80000000:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0''] I tested it with XP and it worked but Silverlight wouldn''t install because it needs the SIMD instructions and they are turned off because Intel and AMD have different implementations. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew Wells
2011-Nov-17 03:02 UTC
RE: [Xen-users] Xm live migration between Intel and AMD
Don''t the docs say you have to have the same cpu''s to do a pool, and therefore a migration? On Nov 16, 2011 5:50 PM, "James Harper" <james.harper@bendigoit.com.au> wrote:> > > > I need to do a live migration between two different hosts: > > > > 1: Intel(R) Core(TM)2 CPU > > 2: AMD Athlon(tm) Processor TF-20 > > > > I tested this once upon a time... I think the cpuid entry I used was: > > cpuid = [ ''0:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', > > ''1:eax=0x06b1,ecx=xxxxxxxxxxx0000xx00xxx0000000xx0,edx=xxx00000xxxxxxx0x > xxxxxxxx0xxxxxx'', > ''4:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', > ''0x80000000:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0''] > > I tested it with XP and it worked but Silverlight wouldn''t install > because it needs the SIMD instructions and they are turned off because > Intel and AMD have different implementations. > > James > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, the docs say that. In fact, you need to have exactly the same CPU, not just the same brand. For example, you cannot even add a new server to an existing pool if the CPUs are not identical. We recently added a dual Intel Xeon 5645 server to a pool that contained servers with dual Intel Xeon 5520. The only way we could add it to the pool was by using CPU leveling. We had to use xe to ask the existing pool members what their CPU features were and then we used xe on the new node to mask its CPU features down to the same level as the existing nodes in the pool. Then we could add the new node without any problem. I don''t think the CPU leveling tricks will work between Intel and AMD, though. I think the trick only works within a given brand. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Andrew Wells Sent: Wednesday, November 16, 2011 9:03 PM To: James Harper Cc: Antonio Colin; Xen Users List Subject: RE: [Xen-users] Xm live migration between Intel and AMD Don''t the docs say you have to have the same cpu''s to do a pool, and therefore a migration? On Nov 16, 2011 5:50 PM, "James Harper" <james.harper@bendigoit.com.au> wrote:> > I need to do a live migration between two different hosts: > > 1: Intel(R) Core(TM)2 CPU > 2: AMD Athlon(tm) Processor TF-20 >I tested this once upon a time... I think the cpuid entry I used was: cpuid = [ ''0:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''1:eax=0x06b1,ecx=xxxxxxxxxxx0000xx00xxx0000000xx0,edx=xxx00000xxxxxxx0x xxxxxxxx0xxxxxx'', ''4:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''0x80000000:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0''] I tested it with XP and it worked but Silverlight wouldn''t install because it needs the SIMD instructions and they are turned off because Intel and AMD have different implementations. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi guys, Thank you James for your example, I am about to test it. I agree with you all, at least I''m going to try it. Admin your example was really good, now guys I am wondering whatthe developpers did in this thread and if it is already a feature in Xen 4.1.1: http://lists.xensource.com/archives/html/xen-devel/2008-06/msg00430.html Honestly it made me think of a seamlessly migration between both architectures. Tony. From: admin@xenhive.com To: xen-users@lists.xensource.com Subject: RE: [Xen-users] Xm live migration between Intel and AMD Date: Thu, 17 Nov 2011 11:28:05 -0600 Yes, the docs say that. In fact, you need to have exactly the same CPU, not just the same brand. For example, you cannot even add a new server to an existing pool if the CPUs are not identical. We recently added a dual Intel Xeon 5645 server to a pool that contained servers with dual Intel Xeon 5520. The only way we could add it to the pool was by using CPU leveling. We had to use xe to ask the existing pool members what their CPU features were and then we used xe on the new node to mask its CPU features down to the same level as the existing nodes in the pool. Then we could add the new node without any problem. I don’t think the CPU leveling tricks will work between Intel and AMD, though. I think the trick only works within a given brand. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Andrew Wells Sent: Wednesday, November 16, 2011 9:03 PM To: James Harper Cc: Antonio Colin; Xen Users List Subject: RE: [Xen-users] Xm live migration between Intel and AMD Don''t the docs say you have to have the same cpu''s to do a pool, and therefore a migration? On Nov 16, 2011 5:50 PM, "James Harper" <james.harper@bendigoit.com.au> wrote:>> I need to do a live migration between two different hosts:>> 1: Intel(R) Core(TM)2 CPU> 2: AMD Athlon(tm) Processor TF-20>I tested this once upon a time... I think the cpuid entry I used was: cpuid = [ ''0:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''1:eax=0x06b1,ecx=xxxxxxxxxxx0000xx00xxx0000000xx0,edx=xxx00000xxxxxxx0x xxxxxxxx0xxxxxx'', ''4:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0'', ''0x80000000:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0''] I tested it with XP and it worked but Silverlight wouldn''t install because it needs the SIMD instructions and they are turned off because Intel and AMD have different implementations. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users