Patent ID: 8767752

Claim:
A network device, comprising: a switch fabric comprising a plurality of output ports (OPs); and a resource coherency and analytics engine (RCAE) that includes: a plurality of input ports each configured to receive packets; a plurality of virtual traffic shapers (VTSs) each associated with one of the plurality of input ports, wherein each of the plurality of VTSs comprises a plurality of virtual output queues (VOQs) and a plurality of virtualizable resource groups (VRG), wherein each VOQ is associated with a VRG-OP pair for an OP from the plurality of OPs and a VRG from the plurality of VRGs; a vResource Snooper configured to obtain RCAE statistics from each of the plurality of VTSs; a vCoherency Controller configured to obtain the RCAE statistics from the vResource Snooper and set VTS operating parameters based on the RCAE statistics; and a vResource Policy Feedback Module configured to obtain the VTS operating parameters from the vCoherency controller and provide the VTS operating parameters to at least one of the plurality of VTSs, wherein a first VRG of the plurality of VRGs is associated with a first virtual network comprising a first virtual machine located on a first host and a second virtual machine located on a second host, wherein the RCAE is configured to initiate a migration of the second virtual machine to the first host when a latency for packets communicated between the first virtual machine and the second virtual machine exceeds a predetermined threshold.