Hello Marty,

Yes, at the hypervisor level and applied on the bridge ports. It is defined in 
the VM domxml. An example is as below and you may also do # virsh dumpxml <name 
or ID> to get it.

<interface type='bridge'>
      <mac address='02:00:32:97:00:01'/>
      <source bridge='brvx-164333'/>
      <bandwidth>
        <inbound average='25600' peak='25600'/>
        <outbound average='25600' peak='25600'/>
      </bandwidth>

25600 KB/s is 200 Mbps in this case.

If we're taking about the network as a whole, it applies on all the interfaces 
connected to the Virtual Router in a similar manner defined above. Also note 
that there is also a network limit defined in the Compute Offering which limits 
the bandwidth at the TAP port of the VM connected to the bridge.

Thanks,
Jayanth
________________________________
From: ma...@gonsource.com <ma...@gonsource.com>
Sent: Monday, November 20, 2023 8:47:27 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: How does Cloudstack limit bandwidth

Hello CS Community,



When you create a network, it, by default, has a bandwidth limit of 500Mb.
My question is how does it do this? Since CS is not interacting with
switches and is creating the network on the hypervisor, does it do this at
the hypervisor level or in a different manner? The reason I ask this is I am
seeing a large number of pause frames on the interfaces that are used for
the internal traffic in my CS cluster. These are 40G ports and I know we
don't have the load to be seeing this many pause frames.



So how does CS limit the bandwidth?



Thanks guys.



Marty


Reply via email to