US 12,032,466 B2
Optimizing CPU requests and limits for a pod based on benchmarked hardware
Ramakrishna Alavala, Podili (IN); Krishnan Venkitasubramanian, Bengaluru (IN); Sundaragopal Venkatraman, Chennai (IN); and Renganathan Sundararaman, Cary, NC (US)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jun. 29, 2021, as Appl. No. 17/305,021.
Prior Publication US 2022/0413985 A1, Dec. 29, 2022
Int. Cl. G06F 9/48 (2006.01); G06F 11/34 (2006.01); G06F 16/245 (2019.01)
CPC G06F 11/3428 (2013.01) [G06F 9/4881 (2013.01); G06F 16/245 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer implemented method comprising using a processor of a cluster manager that operates on a cluster of heterogeneous computer nodes, the processor configured for:
receiving, by a scheduler of the cluster manager, a request to provision a container as a software container on a current node of the cluster;
accessing a performance information data store (PIDS) to obtain a record associated with the container that includes benchmarked performance metrics including container-required resources associated with a benchmark-specified node of the container;
accessing the PIDS to obtain a record associated with the current node of the cluster that includes current-node performance metrics associated with the current node;
comparing the benchmarked performance metrics with the current node performance metrics to determine that a difference exists and an extent of the difference; and
conditioned upon the difference existing:
adjusting, with a resource adjustment calculator (RAC), the container-required resources based on the determination of the extent of the difference; and
provisioning the container on the current node with adjusted container-required resources.