none
Virtual Network Rate Limiting RRS feed

  • Question

  • Hi

    We recently had a VM on a hyper-v host bring down all of the other VMs network availability due to excessive bandwidth.  Is there a facility that allows rate limiting on the virtual switch?  Or any suggestions on a good way of dealing with such things?

    Thanks

    Richard

    Thursday, February 10, 2011 9:24 AM

Answers

  • Hi!

    The quickest solution would be to add a physical NIC and create a new external virtual network dedicated to that particular VM. That would be my suggestion.

    There are however several guides, how-to's and best practice solutions when it comes to virtual network load balancing, and I'm sure the other guys on this forum will post replies and provide you with the links you need, if you want this solved properly.

    Thursday, February 10, 2011 9:41 AM
  • Not sure if this is relevant in your case: http://support.microsoft.com/kb/974909

    But as Mike mention, you need to find your needs when it comes to performance in a virtual environment, this also includes networking.

    For a VM with a heavy network load, you should have a dedicated NIC for this VM for best performance. 

    You simply create an external virtual network that is bound to this dedicated NIC, and assign this VM with a NIC connected to this network in Hyper-V manager.

    One last option is NIC teaming, for performance and failover. But, remember that NIC teaming is not supported by Microsoft, only the manufactorer. This does not mean that teaming is not compatible, but the support for the feature must be delivered by the manufactor.


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )
    Thursday, February 10, 2011 9:49 AM
  • Hello,

    For just this reason we will typically provision many NICs for virtual machines on a Hyper-V host.  Here is an overview of Hyper-V networking that might help you out:

    http://blog.concurrency.com/sharepoint/hyper-v-networking-best-practices/

    However your question specifically asked about "rate limiting".  There isn't a way to specifically set that through a slider or a configuration setting.  I couldn't see downgrading the NIC anyway, since most applications want servers to be running on 1 Gbs.  As such, I'd say your best option is to move it to a specific virtual NIC with a specific set of physical NICs.

    Nathan Lasnoski


    http://blog.concurrency.com/author/nlasnoski/
    Thursday, February 10, 2011 10:33 PM

All replies

  • Hi!

    The quickest solution would be to add a physical NIC and create a new external virtual network dedicated to that particular VM. That would be my suggestion.

    There are however several guides, how-to's and best practice solutions when it comes to virtual network load balancing, and I'm sure the other guys on this forum will post replies and provide you with the links you need, if you want this solved properly.

    Thursday, February 10, 2011 9:41 AM
  • Not sure if this is relevant in your case: http://support.microsoft.com/kb/974909

    But as Mike mention, you need to find your needs when it comes to performance in a virtual environment, this also includes networking.

    For a VM with a heavy network load, you should have a dedicated NIC for this VM for best performance. 

    You simply create an external virtual network that is bound to this dedicated NIC, and assign this VM with a NIC connected to this network in Hyper-V manager.

    One last option is NIC teaming, for performance and failover. But, remember that NIC teaming is not supported by Microsoft, only the manufactorer. This does not mean that teaming is not compatible, but the support for the feature must be delivered by the manufactor.


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )
    Thursday, February 10, 2011 9:49 AM
  • Hello,

    For just this reason we will typically provision many NICs for virtual machines on a Hyper-V host.  Here is an overview of Hyper-V networking that might help you out:

    http://blog.concurrency.com/sharepoint/hyper-v-networking-best-practices/

    However your question specifically asked about "rate limiting".  There isn't a way to specifically set that through a slider or a configuration setting.  I couldn't see downgrading the NIC anyway, since most applications want servers to be running on 1 Gbs.  As such, I'd say your best option is to move it to a specific virtual NIC with a specific set of physical NICs.

    Nathan Lasnoski


    http://blog.concurrency.com/author/nlasnoski/
    Thursday, February 10, 2011 10:33 PM