US 12,141,611 B2
Simultaneous-multi-threading (SMT) aware processor allocation for cloud real-time workloads
Marcel Apfelbaum, Ra'anana (IL); and Swati Sehgal, Cork (IE)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by Red Hat, Inc., Raleigh, NC (US)
Filed on Sep. 1, 2021, as Appl. No. 17/464,155.
Prior Publication US 2023/0063893 A1, Mar. 2, 2023
Int. Cl. G06F 9/50 (2006.01)
CPC G06F 9/5027 (2013.01) 19 Claims
OG exemplary drawing
 
1. A system comprising:
a processor; and
a node agent executing on the processor, the node agent configured to:
receive a message indicative of a workload, a processor policy of the workload, and a number of processor threads requested for the workload;
allow simultaneous allocation of a processor core to the workload and another workload based on the processor policy being a first policy;
prevent simultaneous allocation of the processor core to the workload and the other workload based on the processor policy being a second policy or a third policy;
allow simultaneous allocation of the processor core for two or more of the requested processor threads based on the processor policy being the second policy;
prevent simultaneous allocation of the processor core for more than one of the requested processor threads based on the processor policy being the third policy;
based on the processor policy being the first policy, operate the processor core in a simultaneous-multi-threading (SMT) configuration to simultaneously execute the workload and the other workload; and
based on the processor policy being the second policy or the third policy, executing the other workload on one or more other processor cores different than one or more processor cores allocated to the workload.