Hi Marty,

what do you mean by "RX pauses"? Are you using xoa as management interface
for xcp-ng? You should be able to see speed limits on the nic attached to
the VM and the VR.

Regards,
Swen

-----Ursprüngliche Nachricht-----
Von: ma...@gonsource.com <ma...@gonsource.com> 
Gesendet: Montag, 20. November 2023 05:31
An: users@cloudstack.apache.org
Betreff: RE: How does Cloudstack limit bandwidth

Thank you for the explanation Jayanth.

So, could the RX pauses be caused by the hypervisor for bandwidth control? I
am using XCP-NG.

Thoughts?

-----Original Message-----
From: Jayanth Reddy <jayanthreddy5...@gmail.com>
Sent: Sunday, November 19, 2023 10:50 PM
To: users@cloudstack.apache.org
Subject: Re: How does Cloudstack limit bandwidth

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