摘要 |
PROBLEM TO BE SOLVED: To provide a cache controller implemented in O/S kernel, driver and application levels within a guest virtual machine, the cache controller dynamically allocating a cache store to virtual machines for improved responsiveness to changing demands of virtual machines.SOLUTION: A single cache device or a group of cache devices are prepared as multiple logical devices and exposed to a resource allocator. A core caching algorithm is executed in the guest virtual machine. As new virtual machines are added under management of a virtual machine manager, existing virtual machines are prompted to relinquish a portion of the cache store allocated for use by the respective existing machines. The relinquished cache is allocated to the new machines. Similarly, if a virtual machine is shutdown or migrated to a new host system, the cache capacity allocated to the virtual machine is redistributed among the remaining virtual machines being managed by the virtual machine monitor. |