Andrei, A reboot of the guest OS is just yet another activity of the VM, from the hypervisor pov the machine is on and running. That's why you need stop/start (which I imagine is what ACS does).
Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Andrei Mikhailovsky" <and...@arhont.com> > To: dev@cloudstack.apache.org > Sent: Monday, 9 March, 2015 23:24:23 > Subject: Re: Disk throtling on KVM - shared storage - works ot not ? > Hi Guys, > > What i have noticed ( with version 4.2.1 I think) is that when you attach a > new > disk with throttle offering to the running vm, the throttling settings are not > passed to kvm untill the vm is restarted from the acs side. Simply doing the > reboot within the OS itself doesn't help. However, once the restart is done, > the throttle settings are passed on and it works okay. > > Andrei > > ----- Original Message ----- > >> From: "Andrija Panic" <andrija.pa...@gmail.com> >> To: dev@cloudstack.apache.org >> Sent: Monday, 9 March, 2015 3:30:01 PM >> Subject: Re: Disk throtling on KVM - shared storage - works ot not ? > >> Thx guys ! >> On Mar 9, 2015 4:10 PM, "Wei ZHOU" <ustcweiz...@gmail.com> wrote: > >> > Hi Andria, >> > >> > I am sure it works with QEMU 1.2.0+ , of course including Ubuntu >> > 14.04. >> > >> > Wei >> > >> > >> > 2015-03-09 15:53 GMT+01:00 Andrija Panic <andrija.pa...@gmail.com>: >> > >> > > Hi Wei, >> > > >> > > thanks for info - it is CentOS 6.x and libvirt 1.2.3 (manually >> > > compiled >> > > with RBD support) and also custom version of QEMU (original stock >> > > qemu >> > from >> > > CentOS 6.4, patched by Inktank for RBD support) >> > > >> > > So this is the reason I guess ? >> > > >> > > Do you know if it works with Ubuntu 14.04 - I plan using this for >> > > new ACS >> > > installation? >> > > >> > > >> > > Thanks >> > > >> > > On 9 March 2015 at 15:48, Wei ZHOU <ustcweiz...@gmail.com> wrote: >> > > >> > > > What's the QEMU and libvirt version? >> > > > QEMU on CentOS 6.X does not support it. >> > > > >> > > > 2015-03-09 15:01 GMT+01:00 Andrija Panic >> > > > <andrija.pa...@gmail.com>: >> > > > >> > > > > Because it doesnt work on my ACS 4.3 installation with CEPH >> > > > > :) >> > > > > >> > > > > I checked virsh dumpxml so only throtling on network level is >> > present - >> > > > > unless it wasnt applied because of my qemu version (intank's >> > > > > patched >> > > > > versions of stocl 0.12.1.2, just RBD support added). >> > > > > qemu-kvm version problematic perhaps ? >> > > > > >> > > > > Was it supposed to work with 4.3 also, Wido ? >> > > > > >> > > > > Thanks >> > > > > >> > > > > On 9 March 2015 at 14:11, Wido den Hollander <w...@widodh.nl> >> > > > > wrote: >> > > > > >> > > > > > -----BEGIN PGP SIGNED MESSAGE----- >> > > > > > Hash: SHA1 >> > > > > > >> > > > > > >> > > > > > >> > > > > > On 03/09/2015 01:57 PM, Andrija Panic wrote: >> > > > > > > Hi, >> > > > > > > >> > > > > > > I'm wondering if disk throtling on ACS44 or later works >> > > > > > > on shared >> > > > > > > storage (limiting number of IOPS and bandwtih, on compute >> > > > > > > offering) >> > > > > > > >> > > > > > >> > > > > > Why shouldn't it work? The throttling is done inside Qemu >> > > > > > and works >> > > > > > just fine with NFS or Ceph. >> > > > > > >> > > > > > Wido >> > > > > > >> > > > > > > I know this does NOT work (shared storage) on ACS 4.3, >> > > > > > > I'm >> > > > > > > wondering if it is there in 4.4/4/5 ? >> > > > > > > >> > > > > > > We are using KVM. >> > > > > > > >> > > > > > > Thanks, >> > > > > > > >> > > > > > -----BEGIN PGP SIGNATURE----- >> > > > > > Version: GnuPG v1 >> > > > > > >> > > > > > iQIcBAEBAgAGBQJU/ZvpAAoJEAGbWC3bPspCl0cP/0BuRCMcthp7ZHJho0hEFoWl >> > > > > > tZQ9k3OKtd6Y69wKbL8h6GuXlG/B4Wf1SM0QEM8yFSiO48YnoChmU4EZofSxZ4X5 >> > > > > > 3Ah7oJAmvPuI6XoHziMafiAHz6V+91P7Lb8E72b2vz0cMW+uQDDDtaA77QCQWOUG >> > > > > > HTkZRqYnhAAIKy7y6gvom+e//uRMUMEFAcjxbTBrpRhvRPJN3Wf+nG65tCKwW4GH >> > > > > > fyaaVyKERW6Y3BHGRCYPPxfjLPBYvZAzfDx7PmtwrHfBrFMv+v1M30GPjN+dBzRs >> > > > > > 3TT+U970ALkcxlLWNLA+mvhA/kG6f9unYU5XyVTxzx4GonJYCRYzxchTV9b63OO9 >> > > > > > 0p/UPaSuv8bgCQLlGpAxfEBzSjgvU28yNZg0UCesNmS41V9qdNRt0wzuV0uZzNKg >> > > > > > MsfRaGVTbR3VVysY8UYZCB/tz/5oFqtQzJMxQVmN/+Rigf8oxaI3aKHlfjlz1s+Y >> > > > > > 1o28b2S6U1QcfYWFZq91FLoWMoetq2SwgzmOy2JSwjGFy6lM55IqgrYvd1QuTEGp >> > > > > > IxZKf4PKm+pCGbKJIJ+kUJdPfUJCtSCjw8yiT7brsp5mFfjoe9kvKvRsa9Kdm1Ys >> > > > > > QqNMAjNkb9EWINqpqJYRlIwlGd/TT7QcH0t0kRjQuhuX1DPug2RghgyszHJzMsrW >> > > > > > UlEXVeoy8RjTnh8+hQXy >> > > > > > =+PhJ >> > > > > > -----END PGP SIGNATURE----- >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > >> > > > > Andrija Panić >> > > > > >> > > > >> > > >> > > >> > > >> > > -- >> > > >> > > Andrija Panić >> > >