Patent ID: 9569244
Date: 2017-02-14
CPC Classifications: G06F,H04L

Claim:
1. A method for implementing dynamic adjustment of Input/Output bandwidth for Virtual Machines using a Single Root Input/Output Virtualization (SRIOV) adapter comprising: providing the SRIOV adapter with a plurality of physical functions (PFs), wherein each PF containing a plurality of virtual functions (VFs), each individual virtual function (VF) enabled to be explicitly assigned to a Virtual Machine (VM); enabling each individual virtual function (VF) to be explicitly assigned to a Virtual Machine (VM); creating each of a plurality of VF teams with one or more VFs, each of the plurality of VF teams assigned to one of the Virtual Machines, each of the plurality of VF Teams indicating a plurality of VFs contained in a plurality of PFs, wherein each VF has a bandwidth and each VF team has a respective sum of bandwidth associated with their respective VFs; enabling the VF teams to be dynamically resizable for dynamic adjustment of the Input/Output bandwidth for the Virtual Machines by dynamically adjusting, at different run time points, I/O bandwidth for Virtual Machines of the SRIOV adapter based upon actual usage patterns at run time; tracking membership information about VF Team to VF mappings and PFs to VF Team mappings in an internal memory map, and periodically querying team usage data, from said hvpervisor for each VF team to compare current team usage of bandwidth with a threshold for each VF team; for each VF team: dynamically adjusting the I/O bandwidth for the Virtual Machines by: and updating the internal memory maps for the plurality of VF Teams.