Optimizing memory fences based on workload
AssigneeInternational Business Machines Corporation
InventorsHiroshi Horii, Hiroshi Inoue
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsHiroshi Horii, Hiroshi Inoue
Estimating the term…
A method, computer program product, and apparatus for optimizing memory fences based on workload are provided. The method includes determining whether to execute a target program on a single hardware thread or a plurality of hardware threads. The method also includes assigning one of a light-weight memory fence and a heavy-weight memory fence as a memory fence in the target program based on whether to execute the target program on the single hardware thread or the plurality of hardware threads. The method further includes assigning the light-weight memory fence in response to determining to execute the target program on the single hardware thread, and the heavy-weight memory fence is assigned in response to determining to execute the target program on the plurality of hardware threads.
A computer-implemented method comprising:
A computer program product including one or more computer readable storage mediums correctively storing program instructions that are executable by a processor or programmable circuitry to cause the processor or programmable circuitry to perform operations comprising:
An apparatus comprising:
Dependencies are inferred from the claim text.