You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

Network throttling is the process of controlling the network access and bandwidth usage based on certain rules. CloudStack controls this behavior by setting network throttling parameter set on VM's nic(s). This parameter is defined as the default data transfer rate in Mbps (Megabits Per Second).

How to configure network throttling in CloudStack

Network throttling rate parameter can be configured in:

 

  • Service offering.
  • Network offering.
  • Global Config (network.throttling.rate, vm.network.throttling.rate)

0 means unlimited.

If the value is set to NULL in service/network offerings, it means that we should take the rate from the Global Configuration (network.throttling.rate - used by network offering, vm.network.throttling.rate - used by service offering)

Network throttling on different types of CS Virtual Machines

On the hypervisor side, network throttling is begin set on a VM's NIC level. Implementation depends on the hypervisor. For example, on Xen its set per VM's vif; on vmWare - port group is configured on vSwitch, and the group gets assigned to the vm.

Configuring throttling on per VM's nic basis:

  • UserVm can have 1 Default network and 0-n additional networks (optional). For the default VM's nic, we take network throttling rate from the corresponding Service Offering, for all additional networks - from the corresponding Network Offerings.
  • For the VR Guest and Public networks we take network throttling from the corresponding Guest Virtual networkOffering.
  • For Storage/Control/Management nics on SSVM/CPVM/VR and Public network used by SSVM/CPVM, we take the throttling rate from the corresponding System Network Offerings.

 

 

Default throttling values:

  • For default Public/Storage/Control/Management network offerings throttling rate is set to 0 (Unlimited).
  • For default Guest network offerings throttling rate is set to NULL (and in this case it will be defaulted to Global config value)
  • No labels