BANDWIDTH THROTTLING OF VIRTUAL DISKS
First Claim
1. A computer-implemented method, the method comprising:
- receiving a first disk access request for disk input/output (I/O) access on a virtual disk of a virtual machine, the virtual disk emulating a local physical disk for the virtual machine;
deriving a simulated latency cost for the requested disk I/O access according to one or more latency and throughput characteristics of the local physical disk emulated by the virtual disk, the simulated latency cost including a simulated data transfer latency and a simulated random access latency for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk; and
determining whether to delay execution of the requested disk I/O access based on a comparison between the simulated latency cost and a current value of a disk access service quota allotted to the virtual disk, wherein the current value of the disk access service quota is replenished over time, is capped at a predetermined cap value, and is decreased by a respective simulated latency cost of each previous disk access request for the virtual disk when respective requested disk I/O access of the previous disk access request was carried out.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for managing resources in a computing system. For virtual hard disk drives supported by multiple physic hard disk drives over a network, artificial throttling of the disk access bandwidth is implemented, such that the resulting latency behavior of each virtual hard disk drive resembles the latency behavior of a corresponding physical hard disk drive emulated by the virtual hard disk drive. In various implementations, the artificial throttling simulates both characteristics of sequential access latencies and random access latencies on a physical hard drive.
56 Citations
22 Claims
-
1. A computer-implemented method, the method comprising:
-
receiving a first disk access request for disk input/output (I/O) access on a virtual disk of a virtual machine, the virtual disk emulating a local physical disk for the virtual machine; deriving a simulated latency cost for the requested disk I/O access according to one or more latency and throughput characteristics of the local physical disk emulated by the virtual disk, the simulated latency cost including a simulated data transfer latency and a simulated random access latency for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk; and determining whether to delay execution of the requested disk I/O access based on a comparison between the simulated latency cost and a current value of a disk access service quota allotted to the virtual disk, wherein the current value of the disk access service quota is replenished over time, is capped at a predetermined cap value, and is decreased by a respective simulated latency cost of each previous disk access request for the virtual disk when respective requested disk I/O access of the previous disk access request was carried out. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method, the method comprising:
-
providing access to a plurality of virtual disks, the plurality of virtual disks being hosted on a plurality of underlying physical storage devices managed by one or more servers; deriving a simulated latency cost for each disk access request received for each of the plurality of virtual disks according to one or more latency and throughput characteristics of a local physical disk emulated by the virtual disk; and controlling a promptness by which respective requested disk accesses for each of the plurality of virtual disks are executed on the plurality of underlying physical storage devices according to a comparison between the simulated latency costs of the respective requested disk accesses and a simulated disk access capacity of the local physical disk emulated by the virtual disk.
-
-
9. A computer-readable medium having instructions stored thereon, the instructions, when executed by one or more processors, cause the processors to perform operations comprising:
-
receiving a first disk access request for disk input/output (I/O) access on a virtual disk of a virtual machine, the virtual disk emulating a local physical disk for the virtual machine; deriving a simulated latency cost for the requested disk I/O access according to one or more latency and throughput characteristics of the local physical disk emulated by the virtual disk, the simulated latency cost including a simulated data transfer latency and a simulated random access latency for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk; and determining whether to delay execution of the requested disk I/O access based on a comparison between the simulated latency cost and a current value of a disk access service quota allotted to the virtual disk, wherein the current value of the disk access service quota is replenished over time, is capped at a predetermined cap value, and is decreased by a respective simulated latency cost of each previous disk access request for the virtual disk when respective requested disk I/O access of the previous disk access request was carried out. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A system, comprising:
-
one or more processors; and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising; receiving a first disk access request for disk input/output (I/O) access on a virtual disk of a virtual machine, the virtual disk emulating a local physical disk for the virtual machine; deriving a simulated latency cost for the requested disk I/O access according to one or more latency and throughput characteristics of the local physical disk emulated by the virtual disk, the simulated latency cost including a simulated data transfer latency and a simulated random access latency for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk; and determining whether to delay execution of the requested disk I/O access based on a comparison between the simulated latency cost and a current value of a disk access service quota allotted to the virtual disk, wherein the current value of the disk access service quota is replenished over time, is capped at a predetermined cap value, and is decreased by a respective simulated latency cost of each previous disk access request for the virtual disk when respective requested disk I/O access of the previous disk access request was carried out. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
Specification