Bandwidth throttling of virtual disks
First Claim
Patent Images
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, wherein the virtual disk includes logical data blocks that map to physical data blocks distributed among multiple physical storage devices, the access by the virtual disk to the multiple physical storage devices being in parallel;
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 for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk 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 access to one or more of the multiple physical storage devices 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.
-
Citations
19 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, wherein the virtual disk includes logical data blocks that map to physical data blocks distributed among multiple physical storage devices, the access by the virtual disk to the multiple physical storage devices being in parallel; 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 for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk 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 access to one or more of the multiple physical storage devices 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. 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, the access by each of the plurality of virtual disks to the plurality of underlying physical storage devices being in parallel, wherein each virtual disk emulates a local physical disk, and wherein the virtual disk includes logical data blocks that map to physical data blocks distributed among multiple physical storage devices; 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, the simulated latency cost including a simulated data transfer latency for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk 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 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.
-
-
8. A computer storage 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, wherein the virtual disk includes logical data blocks that map to physical data blocks distributed among multiple physical storage devices, the access by the virtual disk to the multiple physical storage devices being in parallel; 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 for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk 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 access to one or more of the multiple physical storage devices 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 (9, 10, 11, 12, 13)
-
-
14. 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, wherein the virtual disk includes logical data blocks that map to physical data blocks distributed among multiple physical storage devices, the access by the virtual disk to the multiple physical storage devices being in parallel; 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 for carrying out the requested disk I/O access on the local physical disk emulated by the virtual disk 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 access to one or more of the multiple physical storage devices 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 (15, 16, 17, 18, 19)
-
Specification