Resource Pools in oVirt

--_fd17b1d6-c06b-4854-bb53-dd62b57eb9ae_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Hello all=2C As far as I understand=2C CPU Shares can be set on each VM individually and= cannot be changed while it's powered on. It would be great if we could create resource pools (similar to what VMware= does) for CPU shares so that we could assign priorities on multiple VMs an= d be able to move them between Resource Pools of different priorities. I k= now that we can configure quotas but it's not the same as CPU shares. Is that something planned for a future release? Shall I open an RFE for tha= t ? Regards=2C Sokratis = --_fd17b1d6-c06b-4854-bb53-dd62b57eb9ae_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>Hello all=2C<div><br></div><div>= As far as I understand=2C CPU Shares can be set on each VM individually and= cannot be changed while it's powered on.</div><div><br></div><div><br></di= v><div>It would be great if we could create resource pools (similar to what= VMware does) for CPU shares so that we could assign priorities on multiple= VMs and be able to move them between Resource Pools of different prioritie= s. =3BI know that we can configure quotas but it's not the same as CPU= shares.</div><div><br></div><div>Is that something planned for a future re= lease? Shall I open an RFE for that ?</div><div><br></div><div>Regards=2C</= div><div><br></div><div>Sokratis</div> </div></body> </html>= --_fd17b1d6-c06b-4854-bb53-dd62b57eb9ae_--

--Apple-Mail=_2BB330D1-88A9-4B89-A972-9B19502DDFCC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1253 On 10 Jun 2014, at 23:18, s k wrote: the same as CPU shares.
Doron would know=85?
--Apple-Mail=_2BB330D1-88A9-4B89-A972-9B19502DDFCC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1253 <html><head><base href=3D"x-msg://1812/"></head><body style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><br><div><div>On 10 Jun 2014, at 23:18, s k = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: = separate; font-family: Helvetica; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = class=3D"hmmessage" style=3D"font-size: 12pt; font-family: Calibri; = "><div dir=3D"ltr">Hello all,<div><br></div><div>As far as I understand, = CPU Shares can be set on each VM individually and cannot be changed = while it's powered on.</div><div><br></div><div><br></div><div>It would = be great if we could create resource pools (similar to what VMware does) = for CPU shares so that we could assign priorities on multiple VMs and be = able to move them between Resource Pools of different priorities. = I know that we can configure quotas but it's not the same as CPU = shares.</div><div><br></div><div>Is that something planned for a future = release? Shall I open an RFE for that = ?</div></div></div></span></blockquote><div><br></div>Doron would = know=85?</div><div><br><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = class=3D"hmmessage" style=3D"font-size: 12pt; font-family: Calibri; = "><div = dir=3D"ltr"><div><br></div><div>Regards,</div><div><br></div><div>Sokratis= </div></div>_______________________________________________<br>Users = mailing list<br><a = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br><a = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a><br></div></span></blockquote></div><br></bo= dy></html>= --Apple-Mail=_2BB330D1-88A9-4B89-A972-9B19502DDFCC--

----- Original Message -----
Hi Sokratis, thanks for the feedback. We have an RFE[1] opened to allow changing shares dynamically for a VM while it's running. As you probably know VMWare's implementation handles much more than shares, so it's a wider concept. In oVirt we've been working hard to introduce QoS elements during 3.3 and 3.5 versions[2]. Once we have it all in place we'll start heading for the next level (up) which will be a Policy to aggregate QoS aspects for a VM. Once we have a policy you'll be able to assign it to multiple VMs and have much better control over resource including a planning element. So you should be monitoring the Policy task progress once we start working on it. So... as you can understand this is a lot of work (which I'm sure was the same for VMWare when they did it). Until then you'll be able to handle it using [1] I expect to happen in the next version, and as always- patches are welcomed! Thanks, Doron [1] Bug 1103537 - [RFE] Dynamic CPU Shares [2] QoS aspects: http://www.ovirt.org/Features/CPU_SLA http://www.ovirt.org/Features/Network_QoS http://www.ovirt.org/Features/blkio-support

--_facb027b-b636-4f40-ba8e-1bfb283ad698_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable That's great Doron! Especially the QoS Policy sounds almost like the VMware= Resource Pools. Looking forward for the next release then! By the way=2C since we are talking about CPU shares=2C the default option w= hen creating a VM is 'disabled'. How is that compared with the Low/Medium/H= igh options in terms of CPU priority? that
--_facb027b-b636-4f40-ba8e-1bfb283ad698_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>That's great Doron! Especially t= he QoS Policy sounds almost like the VMware Resource Pools. =3BLooking= forward for the next release then!<div><br></div><div>By the way=2C since = we are talking about CPU shares=2C the default option when creating a VM is= 'disabled'. How is that compared with the Low/Medium/High options in terms= of CPU priority?<br><br><div>>=3B Date: Fri=2C 13 Jun 2014 04:29:09 -040= 0<br>>=3B From: dfediuck@redhat.com<br>>=3B To: sokratis123k@outlook.co= m<br>>=3B CC: users@ovirt.org=3B mskrivan@redhat.com<br>>=3B Subject: R= e: [ovirt-users] Resource Pools in oVirt<br>>=3B <br>>=3B ----- Origina= l Message -----<br>>=3B >=3B From: "s k" <=3Bsokratis123k@outlook.com= >=3B<br>>=3B >=3B To: users@ovirt.org<br>>=3B >=3B Sent: Wednesda= y=2C June 11=2C 2014 12:18:35 AM<br>>=3B >=3B Subject: [ovirt-users] Re= source Pools in oVirt<br>>=3B >=3B <br>>=3B >=3B Hello all=2C<br>&g= t=3B >=3B <br>>=3B >=3B As far as I understand=2C CPU Shares can be s= et on each VM individually and<br>>=3B >=3B cannot be changed while it'= s powered on.<br>>=3B >=3B <br>>=3B >=3B <br>>=3B >=3B It would= be great if we could create resource pools (similar to what VMware<br>>= =3B >=3B does) for CPU shares so that we could assign priorities on multi= ple VMs and<br>>=3B >=3B be able to move them between Resource Pools of= different priorities. I know<br>>=3B >=3B that we can configure quotas= but it's not the same as CPU shares.<br>>=3B >=3B <br>>=3B >=3B Is= that something planned for a future release? Shall I open an RFE for that<= br>>=3B >=3B ?<br>>=3B >=3B <br>>=3B >=3B Regards=2C<br>>=3B = >=3B <br>>=3B >=3B Sokratis<br>>=3B >=3B <br>>=3B <br>>=3B Hi= Sokratis=2C<br>>=3B thanks for the feedback.<br>>=3B <br>>=3B We hav= e an RFE[1] opened to allow changing shares dynamically for a VM while it's= <br>>=3B running.<br>>=3B <br>>=3B As you probably know VMWare's impl= ementation handles much more than shares=2C so<br>>=3B it's a wider conce= pt.<br>>=3B <br>>=3B In oVirt we've been working hard to introduce QoS = elements during 3.3 and 3.5<br>>=3B versions[2]. Once we have it all in p= lace we'll start heading for the next level<br>>=3B (up) which will be a = Policy to aggregate QoS aspects for a VM. Once we have a<br>>=3B policy y= ou'll be able to assign it to multiple VMs and have much better control<br>= >=3B over resource including a planning element. So you should be monitor= ing the Policy<br>>=3B task progress once we start working on it.<br>>= =3B <br>>=3B So... as you can understand this is a lot of work (which I'm= sure was the same<br>>=3B for VMWare when they did it). Until then you'l= l be able to handle it using [1]<br>>=3B I expect to happen in the next v= ersion=2C and as always- patches are welcomed!<br>>=3B <br>>=3B Thanks= =2C<br>>=3B Doron<br>>=3B <br>>=3B [1] Bug 1103537 - [RFE] Dynamic CP= U Shares<br>>=3B [2] QoS aspects:<br>>=3B http://www.ovirt.org/Features= /CPU_SLA<br>>=3B http://www.ovirt.org/Features/Network_QoS<br>>=3B http= ://www.ovirt.org/Features/blkio-support<br></div></div> </div></= body> </html>= --_facb027b-b636-4f40-ba8e-1bfb283ad698_--

----- Original Message -----
Actually I'd expect a better implementation as we hand aspects which are not available in Resource Pools.
According to the docs[1]: "If this is omitted, it defaults to the OS provided defaults." I guess it would be interesting to check this while it's running to get the actual number from your run. Doron [1] http://libvirt.org/formatdomain.html#elementsCPUTuning
participants (3)
-
Doron Fediuck
-
Michal Skrivanek
-
s k