
------=_Part_9067_281652121.1403821223261 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) ------=_Part_9067_281652121.1403821223261 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Can someone explain the cluster = policies to me? The explanation at <a href=3D"http://www.ovirt.org/Features= /Even_VM_Count_Distribution">http://www.ovirt.org/Features/Even_VM_Count_Di= stribution</a> is not quite clicking for me.<br data-mce-bogus=3D"1"></div>= <div><br></div><div><ul style=3D"padding: 0px; margin: 0.3em 0px 0px 1.6em;= color: #2e3436; font-family: 'Source Sans Pro', sans-serif; font-size: 14p= x; font-style: normal; font-variant: normal; font-weight: normal; letter-sp= acing: normal; line-height: 20px; orphans: auto; text-align: start; text-in= dent: 0px; text-transform: none; white-space: normal; widows: auto; word-sp= acing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;" dat= a-mce-style=3D"padding: 0px; margin: 0.3em 0px 0px 1.6em; color: #2e3436; f= ont-family: 'Source Sans Pro', sans-serif; font-size: 14px; font-style: nor= mal; font-variant: normal; font-weight: normal; letter-spacing: normal; lin= e-height: 20px; orphans: auto; text-align: start; text-indent: 0px; text-tr= ansform: none; white-space: normal; widows: auto; word-spacing: 0px; -webki= t-text-stroke-width: 0px; background-color: #ffffff;"><li style=3D"line-hei= ght: 20px;" data-mce-style=3D"line-height: 20px;"><b style=3D"font-weight: = 600;" data-mce-style=3D"font-weight: 600;">HighVMSCount</b><span class=3D"A= pple-converted-space"> </span>- Maximum VM limit. Exceeding it qualifi= es the host as overloaded. (<strong>Understood</strong>)</li><li style=3D"l= ine-height: 20px; margin-top: 10px;" data-mce-style=3D"line-height: 20px; m= argin-top: 10px;"><b style=3D"font-weight: 600;" data-mce-style=3D"font-wei= ght: 600;">MigrationThreshold</b><span class=3D"Apple-converted-space">&nbs= p;</span>- defines a buffer before we start migrating VMs from the host (<s= trong>Not quite grasping. If my High limit is 5 does this mean that it will= only begin to move VMs when the count reaches 10?</strong>)</li><li style= =3D"line-height: 20px; margin-top: 10px;" data-mce-style=3D"line-height: 20= px; margin-top: 10px;"><b style=3D"font-weight: 600;" data-mce-style=3D"fon= t-weight: 600;">SPMVMCountGrace</b><span class=3D"Apple-converted-space">&n= bsp;</span>- defines how many slots for VMs should be reserved on SPM hosts= (the SPM host should have less load than others, so this variable defines = how many VM less it should have) (<strong>Does this mean that if I ha= ve a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is th= is HighVmCount minus SpmVmGrace count?)</strong></li></ul></div><div><br></= div><div><br></div></div></body></html> ------=_Part_9067_281652121.1403821223261--

------=_Part_9498_745562110.1403884598181 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Can anyone shed any light for me? ----- Original Message ----- From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Thursday, June 26, 2014 6:20:23 PM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ------=_Part_9498_745562110.1403884598181 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Can anyone shed any light for me= ?<br></div><hr id=3D"zwchr"><div style=3D"color:#000;font-weight:normal;fon= t-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;= font-size:12pt;" data-mce-style=3D"color: #000; font-weight: normal; font-s= tyle: normal; text-decoration: none; font-family: Helvetica,Arial,sans-seri= f; font-size: 12pt;"><b>From: </b>"Maurice James" <mjames@media-node.com= ><br><b>To: </b>"users" <users@ovirt.org><br><b>Sent: </b>Thursday= , June 26, 2014 6:20:23 PM<br><b>Subject: </b>[ovirt-users] Spam Clus= ter Polcies<br><div><br></div><div style=3D"font-family: times new roman, n= ew york, times, serif; font-size: 12pt; color: #000000" data-mce-style=3D"f= ont-family: times new roman, new york, times, serif; font-size: 12pt; color= : #000000;"><div>Can someone explain the cluster policies to me? The explan= ation at <a href=3D"http://www.ovirt.org/Features/Even_VM_Count_Distributio= n" target=3D"_blank" data-mce-href=3D"http://www.ovirt.org/Features/Even_VM= _Count_Distribution">http://www.ovirt.org/Features/Even_VM_Count_Distributi= on</a> is not quite clicking for me.<br></div><div><br></div><div><ul style= =3D"padding: 0px; margin: 0.3em 0px 0px 1.6em; color: #2e3436; font-family:= 'Source Sans Pro', sans-serif; font-size: 14px; font-style: normal; font-v= ariant: normal; font-weight: normal; letter-spacing: normal; line-height: 2= 0px; orphans: auto; text-align: start; text-indent: 0px; text-transform: no= ne; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stro= ke-width: 0px; background-color: #ffffff;" data-mce-style=3D"padding: 0px; = margin: 0.3em 0px 0px 1.6em; color: #2e3436; font-family: 'Source Sans Pro'= , sans-serif; font-size: 14px; font-style: normal; font-variant: normal; fo= nt-weight: normal; letter-spacing: normal; line-height: 20px; orphans: auto= ; text-align: start; text-indent: 0px; text-transform: none; white-space: n= ormal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; bac= kground-color: #ffffff;"><li style=3D"line-height: 20px;" data-mce-style=3D= "line-height: 20px;"><b style=3D"font-weight: 600;" data-mce-style=3D"font-= weight: 600;">HighVMSCount</b><span class=3D"Apple-converted-space"> <= /span>- Maximum VM limit. Exceeding it qualifies the host as overloaded. (<= strong>Understood</strong>)</li><li style=3D"line-height: 20px; margin-top:= 10px;" data-mce-style=3D"line-height: 20px; margin-top: 10px;"><b style=3D= "font-weight: 600;" data-mce-style=3D"font-weight: 600;">MigrationThreshold= </b><span class=3D"Apple-converted-space"> </span>- defines a buffer b= efore we start migrating VMs from the host (<strong>Not quite grasping. If = my High limit is 5 does this mean that it will only begin to move VMs when = the count reaches 10?</strong>)</li><li style=3D"line-height: 20px; margin-= top: 10px;" data-mce-style=3D"line-height: 20px; margin-top: 10px;"><b styl= e=3D"font-weight: 600;" data-mce-style=3D"font-weight: 600;">SPMVMCountGrac= e</b><span class=3D"Apple-converted-space"> </span>- defines how many = slots for VMs should be reserved on SPM hosts (the SPM host should have les= s load than others, so this variable defines how many VM less it should hav= e) (<strong>Does this mean that if I have a host with only 3 VMs the = SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrac= e count?)</strong></li></ul></div><div><br></div><div><br></div></div><br>_= ______________________________________________<br>Users mailing list<br>Use= rs@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></div><div=
<br></div></div></body></html> ------=_Part_9498_745562110.1403884598181--

Answered it the other thread you've opened.. Thanks, Gilad. ----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 6:56:38 PM Subject: [ovirt-users] Spam Re: Spam Cluster Polcies
Can anyone shed any light for me?
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Thursday, June 26, 2014 6:20:23 PM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. @Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 06/30/2014 01:53 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host.
let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
- exactly
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized.
- I think it's correct as it is, if the SpmVmGrace+currentVms > HighVmCount it is overutilized and should be freed if possible. --J
@Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com>, "Maurice James" <mjames@media-node.com> Cc: "users" <users@ovirt.org> Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 01:53 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host.
let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
- exactly
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized.
- I think it's correct as it is, if the SpmVmGrace+currentVms > HighVmCount it is overutilized and should be freed if possible.
not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there.
--J
@Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 06/30/2014 03:11 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com>, "Maurice James" <mjames@media-node.com> Cc: "users" <users@ovirt.org> Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 01:53 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host.
let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
- exactly
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized.
- I think it's correct as it is, if the SpmVmGrace+currentVms > HighVmCount it is overutilized and should be freed if possible.
not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there.
- that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to) --J
--J
@Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com> Cc: "Maurice James" <mjames@media-node.com>, "users" <users@ovirt.org> Sent: Monday, June 30, 2014 4:19:06 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 03:11 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com>, "Maurice James" <mjames@media-node.com> Cc: "users" <users@ovirt.org> Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 01:53 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host.
let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
- exactly
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized.
- I think it's correct as it is, if the SpmVmGrace+currentVms > HighVmCount it is overutilized and should be freed if possible.
not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there.
- that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to)
got it, thanks :-)
--J
--J
@Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Thanks I think I got it now. I can adjust my cluster policy accordingly ----- Original Message ----- From: "Gilad Chaplik" <gchaplik@redhat.com> To: "Jiri Moskovcak" <jmoskovc@redhat.com> Cc: "Maurice James" <mjames@media-node.com>, "users" <users@ovirt.org> Sent: Monday, June 30, 2014 9:20:31 AM Subject: Re: [ovirt-users] Spam Cluster Polcies ----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com> Cc: "Maurice James" <mjames@media-node.com>, "users" <users@ovirt.org> Sent: Monday, June 30, 2014 4:19:06 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 03:11 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Jiri Moskovcak" <jmoskovc@redhat.com> To: "Gilad Chaplik" <gchaplik@redhat.com>, "Maurice James" <mjames@media-node.com> Cc: "users" <users@ovirt.org> Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 01:53 PM, Gilad Chaplik wrote:
----- Original Message -----
From: "Maurice James" <mjames@media-node.com> To: "users" <users@ovirt.org> Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies
Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me.
* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood )
minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms).
* MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? )
don't think that there's any relation with "HighLimit". It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host.
let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 !> 3).
- exactly
* SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?)
you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized.
- I think it's correct as it is, if the SpmVmGrace+currentVms > HighVmCount it is overutilized and should be freed if possible.
not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there.
- that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to)
got it, thanks :-)
--J
--J
@Jirka?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Gilad Chaplik
-
Jiri Moskovcak
-
Maurice James