4.4, Master
Network throttling is the process of controlling the network access and bandwidth usage based on certain rules. It controls the maximum bandwidth which can be allocated to VM. The benefit here is that you may have very noisy VMs on host that consume a lot of bandwidth, and they can be stepped down yet still given an adequate amount of connectivity.
This is functional specification for Enabling Network throttling for VMs on Hyper-V
Author | Description | Date |
---|---|---|
Anshul Gangwar | Incorporating comments. | 03/27/2014 |
Rajesh Battala | Initial Revision |
VM - virtual machine running on hypervisor
NIC - network interface controller which is attached to VM
Currently network rate parameter which is passed during deployment of VM is not honoured in Hyper-V. In this feature we will apply network rate parameter to maximum bandwidth allowed for VM. This network rate parameter will be applied to NIC and controls the max data transfer date rate of the NIC and will apply to both ingress and egress traffic combined . By setting the maximum bandwidth allowed for VM, we are throttling the network appropriately.
The following table gives you an overview of how network rate is applied on different types of networks in CloudStack
Networks | Network Rate Is Taken from |
---|---|
Guest network of Virtual Router | Guest Network Offering |
Public network of Virtual Router | Guest Network Offering |
Storage network of Secondary Storage VM | System Network Offering |
Management network of Secondary Storage VM | System Network Offering |
Storage network of Console Proxy VM | System Network Offering |
Management network of Console Proxy VM | System Network Offering |
Storage network of Virtual Router | System Network Offering |
Management network of Virtual Router | System Network Offering |
Public network of Secondary Storage VM | System Network Offering |
Public network of Console Proxy VM | System Network Offering |
Default network of a guest VM | Compute Offering |
Additional networks of a guest VM | Corresponding Network Offerings |
Verify whether rates are applied to VMs as mentioned in above table.For more details see network throtling .
Logs can be looked up at the following location
With this we can control the max bandwidth allocated for VM, which helps in controlling the bandwidth alloction to noisy VMs which otherwise may consume the whole bandwidth and degrades the performance
No new APIs are added for this feature. Existing APIs which will be used for this feature are
To see how network throttling rate applies on VM see network throtling .
No new UI screens are introduced by this feature. Also, no changes need to be made in UI for enabling network throttling for VMs on Hyper-V. The UI workflow looks as follows.
There are two places where one can specify the network rate for network throttling
To see how network throttling rate applies on VM see network throtling .
No IP dependencies are introduced by this feature.
Appendix A:
Appendix B: