Hi Jimmy,

Considering bandwidth is configured in the domain XML for a VM (libvirt kvm) 
yes, a stop & start is required.

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
1547:                netBuilder.append("<inbound average='" + _networkRateKBps 
+ "' peak='" + _networkRateKBps + "'/>\n");

Met vriendelijke groet / Kind regards,

Ruben Bosch
CLDIN

> On 7 Nov 2023, at 15:25, Jimmy Huybrechts <[email protected]> wrote:
> 
> So a change in network limit fora n instance would always accompany a 
> shutdown and power-up of said instance(s)?
> 
> --
> Jimmy
> 
> Van: Daan Hoogland <[email protected]>
> Datum: dinsdag, 7 november 2023 om 13:27
> Aan: [email protected] <[email protected]>
> Onderwerp: Re: Network ratelimiting
> sounds like a doc issue to me, the global settings are not actualised on
> each resource and some of them are not even actualised unless you restart
> the management server. Only details of a particular resource (i.e. the
> local override of the setting) are sometimes actualised, depending on the
> type.
> 
> On Tue, Nov 7, 2023 at 1:17 PM Jimmy Huybrechts <[email protected]>
> wrote:
> 
>> I’m still finding out new things every day :)
>> 
>> I noticed all offerings set to 200Mbit by default which equals to around
>> 23MB/s, I changed the globals to 1 Gbit now and I can see all network
>> offerings were updated to 1000Mbit too.
>> However that made no difference in any instance that was set to the
>> network offering of 200mbit before. I actually had to shutdown an instance
>> and boot it back up before it got the gbit speeds.
>> 
>> Was this because I adjusted the global speeds? Or is that always the case
>> if you set / adjust the ratelimiting? (good to know up front) and wasn’t
>> mentioned on the docs.
>> 
>> --
>> Jimmy
>> 
> 
> 
> --
> Daan

Reply via email to