Estimating migration costs for migrating logical partitions within a virtualized computing environment based on a migration cost history
First Claim
1. A method for managing requests for resources, comprising:
- responsive to a hypervisor determining that insufficient local resources are available for reservation to meet a performance parameter for at least one resource specified in a reservation request for a particular logical partition managed by the hypervisor in a host system, identifying another logical partition managed by the hypervisor in the host system that is assigned at the least one resource meeting the performance parameter specified in the reservation request;
estimating, by the hypervisor, a first cost of migrating the particular logical partition and a second cost of migrating the another logical partition to at least one other host system communicatively connected in a peer-to-peer network based on at least one previously recorded cost stored by the host system of migrating a previous logical partition to the at least one other host system by;
identifying a plurality of previously recorded costs for migrations to the at least one other host system;
identifying a pricing policy applied by the host system;
responsive to the host system applying the pricing policy comprising an average pricing policy, selecting a mean cost of the plurality of previously recorded costs to estimate the first cost and the second cost;
responsive to the host system applying the pricing policy comprising an optimist pricing policy, selecting a best case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and
responsive to the host system applying the pricing policy comprising a pessimist pricing policy, selecting a worst case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and
selecting, by the hypervisor, one of the particular logical partition and the another logical partition as a migration candidate based on a comparison of the first cost with the second cost, wherein the hypervisor negotiates for offers to migrate the migration candidate to the at least one other host system.
1 Assignment
0 Petitions
Accused Products
Abstract
Responsive to a hypervisor determining that insufficient local resources are available for reservation to meet a performance parameter for at least one resource specified in a reservation request for a particular logical partition managed by the hypervisor in a host system, the hypervisor identifies another logical partition managed by the hypervisor in the host system that is assigned at the least one resource meeting the performance parameter specified in the reservation request. The hypervisor estimates a first cost of migrating the particular logical partition and a second cost of migrating the another logical partition to at least one other host system communicatively connected in a peer-to-peer network based on at least one previously recorded cost stored by the host system of migrating a previous logical partition to the at least one other host system.
-
Citations
8 Claims
-
1. A method for managing requests for resources, comprising:
-
responsive to a hypervisor determining that insufficient local resources are available for reservation to meet a performance parameter for at least one resource specified in a reservation request for a particular logical partition managed by the hypervisor in a host system, identifying another logical partition managed by the hypervisor in the host system that is assigned at the least one resource meeting the performance parameter specified in the reservation request; estimating, by the hypervisor, a first cost of migrating the particular logical partition and a second cost of migrating the another logical partition to at least one other host system communicatively connected in a peer-to-peer network based on at least one previously recorded cost stored by the host system of migrating a previous logical partition to the at least one other host system by; identifying a plurality of previously recorded costs for migrations to the at least one other host system; identifying a pricing policy applied by the host system; responsive to the host system applying the pricing policy comprising an average pricing policy, selecting a mean cost of the plurality of previously recorded costs to estimate the first cost and the second cost; responsive to the host system applying the pricing policy comprising an optimist pricing policy, selecting a best case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and responsive to the host system applying the pricing policy comprising a pessimist pricing policy, selecting a worst case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and selecting, by the hypervisor, one of the particular logical partition and the another logical partition as a migration candidate based on a comparison of the first cost with the second cost, wherein the hypervisor negotiates for offers to migrate the migration candidate to the at least one other host system. - View Dependent Claims (2, 3, 5, 6, 7)
-
-
4. A computer system comprising one or more processors, one or more computer-readable memories, one or more computer-readable storage devices, and program instructions, stored on at least one of the one or more storage devices, for execution by at least one of the one or more processors via at least one of the one or more memories, the stored program instructions comprising:
-
program instructions, responsive to a hypervisor determining that insufficient local resources are available for reservation to meet a performance parameter for at least one resource specified in a reservation request for a particular logical partition managed by the hypervisor in a host system, to identify another logical partition managed by the hypervisor in the host system that is assigned at the least one resource meeting the performance parameter specified in the reservation request; program instructions to estimate, by the hypervisor, a first cost of migrating the particular logical partition and a second cost of migrating the another logical partition to at least one other host system communicatively connected in a peer-to-peer network based on at least one previously recorded cost stored by the host system of migrating a previous logical partition to the at least one other host system by; identifying a plurality of previously recorded costs for migrations to the at least one other host system; identifying a pricing policy applied by the host system; responsive to the host system applying the pricing policy comprising an average pricing policy, selecting a mean cost of the plurality of previously recorded costs to estimate the first cost and the second cost; responsive to the host system applying the pricing policy comprising an optimist pricing policy, selecting a best case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and responsive to the host system applying the pricing policy comprising a pessimist pricing policy, selecting a worst case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and program instructions to select, by the hypervisor, one of the particular logical partition and the another logical partition as a migration candidate based on a comparison of the first cost with the second cost, wherein the hypervisor negotiates for offers to migrate the migration candidate to the at least one other host system.
-
-
8. A computer program product comprising one or more non-transitory computer-readable storage devices and program instructions, stored on at least one of the one or more storage devices, the stored program instructions comprising:
-
program instructions, responsive to a hypervisor determining that insufficient local resources are available for reservation to meet a performance parameter for at least one resource specified in a reservation request for a particular logical partition managed by the hypervisor in a host system, to identify another logical partition managed by the hypervisor in the host system that is assigned at the least one resource meeting the performance parameter specified in the reservation request; program instructions to estimate, by the hypervisor, a first cost of migrating the particular logical partition and a second cost of migrating the another logical partition to at least one other host system communicatively connected in a peer-to-peer network based on at least one previously recorded cost stored by the host system of migrating a previous logical partition to the at least one other host system by; identifying a plurality of previously recorded costs for migrations to the at least one other host system; identifying a pricing policy applied by the host system; responsive to the host system applying the pricing policy comprising an average pricing policy, selecting a mean cost of the plurality of previously recorded costs to estimate the first cost and the second cost; responsive to the host system applying the pricing policy comprising an optimist pricing policy, selecting a best case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and responsive to the host system applying the pricing policy comprising a pessimist pricing policy, selecting a worst case cost of the plurality of previously recorded costs to estimate the first cost and the second cost; and program instructions to select, by the hypervisor, one of the particular logical partition and the another logical partition as a migration candidate based on a comparison of the first cost with the second cost, wherein the hypervisor negotiates for offers to migrate the migration candidate to the at least one other host system.
-
Specification