George Shuklin
2010-May-21 11:17 UTC
[Xen-users] [XCP] weight/cap VCPU-params ignores during migration
Good day. I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. May I as someone with xcp cloud nearly check this bug? Thank you. -- wBR,George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vern Burke
2010-May-21 11:43 UTC
Re: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration
You can't change either memory or vCPUs on a running VM. The bug isn't that it won't change, the bug is that it will allow you to try. How do you know XCP won't honor the max vCPUs setting? All of the VMs in my pool show the correct max and none are exceeding that after being migrated substantially by my load balancer. Vern Sent from my BlackBerry® wireless device from U.S. Cellular -----Original Message----- From: George Shuklin <nge@narod.ru> Date: Fri, 21 May 2010 15:17:42 To: <xen-users@lists.xensource.com> Subject: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration Good day. I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. May I as someone with xcp cloud nearly check this bug? Thank you. -- wBR,George. _______________________________________________ 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
Robert Dunkley
2010-May-21 11:49 UTC
RE: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration
Out of interest, does XCP keep CPUs pinned when it migrates VMs? -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Vern Burke Sent: 21 May 2010 12:44 To: George Shuklin; xen-users-bounces@lists.xensource.com; xen-users@lists.xensource.com Subject: Re: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration You can''t change either memory or vCPUs on a running VM. The bug isn''t that it won''t change, the bug is that it will allow you to try. How do you know XCP won''t honor the max vCPUs setting? All of the VMs in my pool show the correct max and none are exceeding that after being migrated substantially by my load balancer. Vern Sent from my BlackBerry(r) wireless device from U.S. Cellular -----Original Message----- From: George Shuklin <nge@narod.ru> Date: Fri, 21 May 2010 15:17:42 To: <xen-users@lists.xensource.com> Subject: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration Good day. I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. May I as someone with xcp cloud nearly check this bug? Thank you. -- wBR,George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users The SAQ Group Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ SAQ is the trading name of SEMTEC Limited. Registered in England & Wales Company Number: 06481952 http://www.saqnet.co.uk AS29219 SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. ISPA Member _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-May-21 15:04 UTC
Re: Re: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration
It simple. I create an VM with autostarting ''load generator'' (simple endless loop with little math on C). I set VCPU-params:cap=10, and after start this VM really take about 10% of CPU (I check it from xentop and xenmon.py). I do live migration of this VM to other host and xentop on new host show about 100% of CPU usage by same VM. Ignoring VCPU param changing on running VM may be feature. But ignoring it after migrating is defenitivly a bug. --- wBR, George. 21.05.10, 15:43, "Vern Burke" <vburke@skow.net>:> You can''t change either memory or vCPUs on a running VM. The bug isn''t that it won''t change, the bug is that it will allow you to try. > > How do you know XCP won''t honor the max vCPUs setting? All of the VMs in my pool show the correct max and none are exceeding that after being migrated substantially by my load balancer. > > Vern > Sent from my BlackBerry® wireless device from U.S. Cellular > > -----Original Message----- > From: George Shuklin > Date: Fri, 21 May 2010 15:17:42 > To: > Subject: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration > > Good day. > > I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. > > May I as someone with xcp cloud nearly check this bug? Thank you. > >-- wBR,George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vern Burke
2010-May-21 15:43 UTC
Re: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration
That''s weird, I just did the same thing with a CentOS 5.5 VM on my cloud and didn''t see this. Vern On 5/21/2010 11:04 AM, George Shuklin wrote:> It simple. I create an VM with autostarting ''load generator'' (simple endless loop with little math on C). > > I set VCPU-params:cap=10, and after start this VM really take about 10% of CPU (I check it from xentop and xenmon.py). > > I do live migration of this VM to other host and xentop on new host show about 100% of CPU usage by same VM. > > Ignoring VCPU param changing on running VM may be feature. But ignoring it after migrating is defenitivly a bug. > > --- > wBR, George. > > 21.05.10, 15:43, "Vern Burke"<vburke@skow.net>: > > >> You can''t change either memory or vCPUs on a running VM. The bug isn''t that it won''t change, the bug is that it will allow you to try. >> >> How do you know XCP won''t honor the max vCPUs setting? All of the VMs in my pool show the correct max and none are exceeding that after being migrated substantially by my load balancer. >> >> Vern >> Sent from my BlackBerry® wireless device from U.S. Cellular >> >> -----Original Message----- >> From: George Shuklin >> Date: Fri, 21 May 2010 15:17:42 >> To: >> Subject: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration >> >> Good day. >> >> I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. >> >> May I as someone with xcp cloud nearly check this bug? Thank you. >> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-May-21 19:06 UTC
Re: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration
21/05/2010 at 11:43 -0400, Vern Burke wrote: That''s interesting, because I test it twice, on different installation of XCP. Can you describe the test to reproduce (and compare)? host XCP version, settings on VM before VM start, VM OS, type of load, statistic before migration and after? (and, if we talking about strange... How long migration takes). Thanks. --- wBR, George.> That''s weird, I just did the same thing with a CentOS 5.5 VM on my cloud > and didn''t see this. > > Vern > > > On 5/21/2010 11:04 AM, George Shuklin wrote: > > It simple. I create an VM with autostarting ''load generator'' (simple endless loop with little math on C). > > > > I set VCPU-params:cap=10, and after start this VM really take about 10% of CPU (I check it from xentop and xenmon.py). > > > > I do live migration of this VM to other host and xentop on new host show about 100% of CPU usage by same VM. > > > > Ignoring VCPU param changing on running VM may be feature. But ignoring it after migrating is defenitivly a bug. > > > > --- > > wBR, George. > > > > 21.05.10, 15:43, "Vern Burke"<vburke@skow.net>: > > > > > >> You can''t change either memory or vCPUs on a running VM. The bug isn''t that it won''t change, the bug is that it will allow you to try. > >> > >> How do you know XCP won''t honor the max vCPUs setting? All of the VMs in my pool show the correct max and none are exceeding that after being migrated substantially by my load balancer. > >> > >> Vern > >> Sent from my BlackBerry® wireless device from U.S. Cellular > >> > >> -----Original Message----- > >> From: George Shuklin > >> Date: Fri, 21 May 2010 15:17:42 > >> To: > >> Subject: [Xen-users] [XCP] weight/cap VCPU-params ignores during migration > >> > >> Good day. > >> > >> I found that XCP ignores VCPU-params (weight and cap) after VM live migration, as well, as those parameters ignored if changed on running VM. > >> > >> May I as someone with xcp cloud nearly check this bug? Thank you. > >> > >> > >> > > > > > _______________________________________________ > 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