×

Method, terminal, device and computer readable storage medium for improving the performance of virtual machine

  • US 10,509,710 B2
  • Filed: 03/14/2017
  • Issued: 12/17/2019
  • Est. Priority Date: 07/22/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for improving a performance of a virtual machine, comprising:

  • determining whether or not a failure of a disk of a host having a virtual disk file stored therein occurs if a virtual machine sends a read request or a write request to the virtual disk file;

    if the failure occurs, sending the read request or the write request to a storage device which is associated with the host and has the virtual disk file stored therein so that the storage device is able to feed back corresponding data;

    detecting whether or not a corresponding disk of the host is recovered if the data fed back from the write request is received; and

    writing the data fed back from the write request into the corresponding disk of the host if the disk of the host is recovered;

    the method further comprising;

    determining whether or not a congestion of the read request or write request occurs if the virtual machine sends the read request or the write request to the virtual disk file;

    buffering the read request or write request in a memory allocated by the host if no congestion occurs;

    determining whether or not a failure of the disk of the host having the virtual disk file stored therein occurs; and

    sending the buffered read request or write request to a storage device, which is associated with the host and has the virtual disk file stored therein, according to a predetermined order if a failure occurs, so that the storage device is able to feed back corresponding data.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×