Dynamic CPU allocation on failover
AssigneeRakuten Symphony, Inc.
InventorsTushar Anil Doshi, Arumugam Nallasivam, Ashok Kumar Mishra
Life of this patent
Estimating the term…
Abstract
Upon failure of a host and, in response to a lack of hots having available processing units, a host is selected and one or more processing units of the selected host are allocated as shared CPUs for use by one or more components of the failed host. The selected host may be selected according to requirements, such as affinity, anti-affinity, and latency. The shared CPUs may have been previously allocated as a dedicated CPU. The shared CPUs may be bound to the one or more components. The one or more components may include a container.
Claims18
An apparatus comprising:
- a computing device including one or more processing devices and one or more memory devices operably coupled to a plurality of processing devices, the one or more memory devices storing executable code that, when executed by the one or more processing devices, causes the one or more processing devices to:
- detect that a plurality of hosts lack processing units available for allocation;
- and
- in response to detecting that the plurality of hosts lack processing units available for allocation:
- select a selected host of the plurality of hosts;
- and
- invoke instantiation of a first component using one or more previously-allocated processing units of the selected host that were previously dedicated to a second component by:
- adding the one or more previously-allocated processing units to a shared set of processing units;
- instantiating the first component on the selected host;
- and
- binding the first component to the one or more previously-allocated processing units such that both of the first component and the second component are bound to the one or more previously-allocated processing units.
A method comprising:
- detect, by a computer system, that a plurality of hosts lack processing units available for allocation;
- and
- in response to detecting that the plurality of hosts lack processing units available for allocation:
- selecting, by the computer system, a selected host of the plurality of hosts;
- and
- invoking, by the computer system, instantiation of a first component using one or more previously-allocated processing units of the selected host that were previously dedicated to a second component by:
- adding the one or more previously-allocated processing units to a shared set of processing units;
- instantiating the first component on the selected host;
- and
- binding the first component to the one or more previously-allocated processing units such that both of the first component and the second component are bound to the one or more previously-allocated processing units.
Dependencies are inferred from the claim text.