Patent ID: 9619288
Date: 2017-04-11
CPC Classifications: G06F

Claim:
1. A method for identifying a preferred central processing unit (CPU) core to memory ratio, the method comprising: executing instructions that correspond to a workload of an application program out of a memory by a first CPU core from a plurality of CPU cores; identifying an amount of memory used by the first CPU core when the first CPU core executes the corresponding instructions of the application program out of the memory; executing the corresponding instructions out of the memory by two or more CPU cores of the plurality of CPU cores out of the memory; identifying an initial measure of CPU usage when the two or more cores of the plurality of CPU cores execute the corresponding instructions; changing the number of CPU cores of the plurality of CPU cores that Mon execute the corresponding instructions; executing the corresponding instructions by the changed number of CPU cores; identifying a subsequent measure of CPU usage when the changed number of CPU cores execute the corresponding instructions; identifying a preferred number of CPU cores for executing the corresponding instructions based on comparing the initial measure of CPU usage and the subsequent measure of CPU usage to a CPU usage threshold level, wherein the CPU usage threshold level corresponds to a CPU core to memory ratio for executing the application program; and identifying the preferred CPU core to memory ratio, wherein the preferred CPU core to memory ratio also corresponds to the preferred number of CPU cores and to the identified amount of memory, wherein the preferred number of CPU cores and the identified amount of memory are allocated for executing the application program when at least one instance of the application program is subsequently deployed.