Patent ID: 9658959
Date: 2017-05-23
CPC Classifications: G06F

Claim:
1. A method comprising: determining, by a resource manager, whether previously issued read commands from a cache system across a network to a remote flash memory incurred network latency problems; determining, by the resource manager, whether previously issued read commands from the cache system to a local flash memory incurred local flash memory latency problems; determining, by the resource manager, whether previously issued false write commands from the cache system to the local flash memory incurred local flash memory write latency problems; determining, by the resource manager, whether previously issued true write commands from the cache system to the local flash memory incurred local flash memory write latency problems; receiving by the cache system a command from a virtual machine; and if the received command is a read command then, issuing the read command from the cache system across the network to the remote flash memory if the resource manager determined that previously issued read commands from the cache system across the network to the remote flash memory did not incur network latency problems, and returning a remote flash memory read command result from the cache system to the virtual machine, else issuing the read command from the cache system to the local flash memory if the resource manager determined that previously issued read commands from the cache system to the local flash memory did not incur local flash memory read latency problems, and returning a local flash memory read command result from the cache system to the virtual machine, else issuing the read command from the cache system to a storage system and issuing a false write command to the local flash memory if the resource manager determined that previously issued false write commands from the cache system to the local flash memory did not incur local flash memory write latency problems, and returning a storage system read command result from the cache system to the virtual machine, else if the received command is a true write command then, issuing the true write command from the cache system to the local flash memory if the resource manager determined that previously issued true write commands from the cache system to the local flash memory did not incur local flash write latency problems, else issuing the true write command from the cache system to the storage system, and returning a true write command result from the cache system to the virtual machine; wherein a false write command is a write to cache memory initiated by a generated read command, and a true write command is a write to cache memory initiated in response to a generated write command.