cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Vogel <S.Vo...@ewerk.com>
Subject Re: Limit network speed in per VM basis
Date Wed, 04 Dec 2019 12:37:32 GMT
Hi Andrija,

We used that to for KVM.

Another question. There is a „vm.network.throttling.rate“ in global settings. What they
do? Any information?

Cheers

Sven


__

Sven Vogel
Teamlead Platform

EWERK DIGITAL GmbH
Brühl 24, D-04109 Leipzig
P +49 341 42649 - 99
F +49 341 42649 - 98
S.Vogel@ewerk.com
www.ewerk.com

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Frank Richter
Registergericht: Leipzig HRB 9065

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 20000-1:2011

EWERK-Blog | LinkedIn | Xing | Twitter | Facebook

Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist vertraulich und
nur für den Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein,
ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt.
Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail
(einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen Dank.

The contents of this e-mail (including any attachments) are confidential and may be legally
privileged. If you are not the intended recipient of this e-mail, any disclosure, copying,
distribution or use of its contents is strictly prohibited, and you should please notify the
sender immediately and then delete it (including any attachments) from your system. Thank
you.
> Am 22.11.2019 um 17:18 schrieb Riepl, Gregor (SWISS TXT) <Gregor.Riepl@swisstxt.ch>:
>
> Thanks for the clarification, Andrija.
>
> We're mostly using ESX here, but I do think it will work similarly, with the limit being
applied to the vNIC.
> ________________________________
> From: Andrija Panic <andrija.panic@gmail.com>
> Sent: 22 November 2019 16:32
> To: Riepl, Gregor (SWISS TXT) <Gregor.Riepl@swisstxt.ch>
> Cc: users <users@cloudstack.apache.org>
> Subject: Re: Limit network speed in per VM basis
>
> Setting Network rate on the Compute Offering (or simply inherit the global setting and
NOT explicitly set it on offering) will simply throttle the vnet (vNIC) speed of the VM's
interface. This is done with "tc qdisc...." on linux (KVM) host.
>
> For the VR, what I do know (at least for KVM...) is that whatever is the network rate
applied to the Public NIC of the VR, that same network rate is applied to all other NICs of
the VR. This is also done via network rate set on the Service Offering for VR (or simply inheriting
the global values)
> So, it's not possible to have i.e. 100 Mbps link to internet, while having 1000 Mbps
routing between internal networks (talking about isolated/vpc networks) Again, this is for
KVM specifically. I haven't tested this thoroughly with Vmware/XS so far, network throttling
is implemented differently there (on the network/vSwitch level)
>
> On Fri, 22 Nov 2019 at 15:28, Riepl, Gregor (SWISS TXT) <Gregor.Riepl@swisstxt.ch<mailto:Gregor.Riepl@swisstxt.ch>>
wrote:
> Is this really applied to each VM?
>
> I was under the impression that you could only limit network bandwidth on the network
offering.
>
> How is this implemented exactly? Does it limit the NIC speed of the individual VMs, or
does it only apply to external traffic on the VR?
> ________________________________
> From: Andrija Panic <andrija.panic@gmail.com<mailto:andrija.panic@gmail.com>>
> Sent: 14 November 2019 10:14
> To: users <users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>
> Subject: Re: Limit network speed in per VM basis
>
> you can set network rate while creating the offering.
> for existing offerings, you need to dig into the DB:
>
> SELECT id FROM disk_offering WHERE NAME="<OFFERING-NAME-HERE>"
> UPDATE service_offering SET nw_rate="200" WHERE id=<ID-FROM-ABOVE-HERE>
>
> stop and start existing VMs to apply the new setting
>
> On Wed, 13 Nov 2019 at 21:12, Fariborz Navidan <mdvlinquest@gmail.com<mailto:mdvlinquest@gmail.com>>
> wrote:
>
>> It is not possible to modify network rate of a compute offering even if it
>> is a custom offering. Is there any setting key I can add to a VM's setting?
>>
>> On Wed, Nov 13, 2019 at 11:35 PM Andrija Panic <andrija.panic@gmail.com<mailto:andrija.panic@gmail.com>>
>> wrote:
>>
>>> with KVM, you can set rate for each VM on the Compute Offering - or use
>> one
>>> of 2 global settings...
>>>
>>> On Wed, 13 Nov 2019 at 21:00, Fariborz Navidan <mdvlinquest@gmail.com<mailto:mdvlinquest@gmail.com>>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> Is there any way in ACS to limit network speed in per VM basis?
>>>>
>>>> Thanks all
>>>>
>>>
>>>
>>> --
>>>
>>> Andrija Panić
>>>
>>
>
>
> --
>
> Andrija Panić
>
>
> --
>
> Andrija Panić

Mime
View raw message