Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F36DC17DCB for ; Tue, 10 Mar 2015 08:49:29 +0000 (UTC) Received: (qmail 42059 invoked by uid 500); 10 Mar 2015 08:49:29 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 41999 invoked by uid 500); 10 Mar 2015 08:49:29 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 41985 invoked by uid 99); 10 Mar 2015 08:49:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 08:49:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nux@li.nux.ro designates 31.193.175.196 as permitted sender) Received: from [31.193.175.196] (HELO mailserver.lastdot.org) (31.193.175.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 08:49:04 +0000 Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id BFF492E46CA for ; Tue, 10 Mar 2015 08:48:35 +0000 (GMT) Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id T_q-x6cXQIeA for ; Tue, 10 Mar 2015 08:48:27 +0000 (GMT) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id 34A602E46C9 for ; Tue, 10 Mar 2015 08:48:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.9.2 mailserver.lastdot.org 34A602E46C9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=li.nux.ro; s=C605E3A6-F3C6-11E3-AEB0-DFF9218DCAC4; t=1425977307; bh=OGqzD67kFt/rSejFdNjbXthfQgEXhItFRo1OBqHcagY=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding; b=pF/HROQ3uTAd62gw6QohFAOw0/YpM8exRMAPXgEDNTYr48yMsXhKomWzj5FAkc/Su bIblCw9Sl3kx2kKGAOAwmb07Cj55tFMaeXtJQ8bVmPHBdphqXBMYQ4nZNRKhfUr5G+ Qqu8yJG6ZyIa2VeY9Rac2cBKyVin0bhFkDM9ocXc= X-Virus-Scanned: amavisd-new at mailserver.lastdot.org Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id QWCrcjzzcJX1 for ; Tue, 10 Mar 2015 08:48:27 +0000 (GMT) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mailserver.lastdot.org (Postfix) with ESMTP id 08F0C2E46C7 for ; Tue, 10 Mar 2015 08:48:27 +0000 (GMT) Date: Tue, 10 Mar 2015 08:48:26 +0000 (GMT) From: Nux! To: dev@cloudstack.apache.org Message-ID: <392294051.2773.1425977306811.JavaMail.zimbra@li.nux.ro> In-Reply-To: <23994629.967.1425943397697.JavaMail.andrei@tuchka> References: <54FD9BE9.1020405@widodh.nl> <23994629.967.1425943397697.JavaMail.andrei@tuchka> Subject: Re: Disk throtling on KVM - shared storage - works ot not ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - FF36 (Linux)/8.6.0_GA_1153) Thread-Topic: Disk throtling on KVM - shared storage - works ot not ? Thread-Index: J8v+bUw7ryPnDnDoW//4CO9/rxWDudwgx2sE X-Virus-Checked: Checked by ClamAV on apache.org Andrei, A reboot of the guest OS is just yet another activity of the VM, from the h= ypervisor 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" > 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, >=20 > 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 ar= e 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 do= ne, > the throttle settings are passed on and it works okay. >=20 > Andrei >=20 > ----- Original Message ----- >=20 >> From: "Andrija Panic" >> 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 ? >=20 >> Thx guys ! >> On Mar 9, 2015 4:10 PM, "Wei ZHOU" wrote: >=20 >> > 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 : >> > >> > > 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 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 >> > > > : >> > > > >> > > > > 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 >> > > > > 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/0BuRCMcthp7ZHJho0hEFo= Wl >> > > > > > tZQ9k3OKtd6Y69wKbL8h6GuXlG/B4Wf1SM0QEM8yFSiO48YnoChmU4EZofSxZ4= X5 >> > > > > > 3Ah7oJAmvPuI6XoHziMafiAHz6V+91P7Lb8E72b2vz0cMW+uQDDDtaA77QCQWO= UG >> > > > > > HTkZRqYnhAAIKy7y6gvom+e//uRMUMEFAcjxbTBrpRhvRPJN3Wf+nG65tCKwW4= GH >> > > > > > fyaaVyKERW6Y3BHGRCYPPxfjLPBYvZAzfDx7PmtwrHfBrFMv+v1M30GPjN+dBz= Rs >> > > > > > 3TT+U970ALkcxlLWNLA+mvhA/kG6f9unYU5XyVTxzx4GonJYCRYzxchTV9b63O= O9 >> > > > > > 0p/UPaSuv8bgCQLlGpAxfEBzSjgvU28yNZg0UCesNmS41V9qdNRt0wzuV0uZzN= Kg >> > > > > > MsfRaGVTbR3VVysY8UYZCB/tz/5oFqtQzJMxQVmN/+Rigf8oxaI3aKHlfjlz1s= +Y >> > > > > > 1o28b2S6U1QcfYWFZq91FLoWMoetq2SwgzmOy2JSwjGFy6lM55IqgrYvd1QuTE= Gp >> > > > > > IxZKf4PKm+pCGbKJIJ+kUJdPfUJCtSCjw8yiT7brsp5mFfjoe9kvKvRsa9Kdm1= Ys >> > > > > > QqNMAjNkb9EWINqpqJYRlIwlGd/TT7QcH0t0kRjQuhuX1DPug2RghgyszHJzMs= rW >> > > > > > UlEXVeoy8RjTnh8+hQXy >> > > > > > =3D+PhJ >> > > > > > -----END PGP SIGNATURE----- >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > >> > > > > Andrija Pani=C4=87 >> > > > > >> > > > >> > > >> > > >> > > >> > > -- >> > > >> > > Andrija Pani=C4=87 >> > >