Restricting processing within a processor to facilitate transaction completion
First Claim
1. A computer system for facilitating processing within a computing environment, the computer system comprising:
- a memory; and
a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising;
determining, by a processor, that a transaction executing within the computing environment has aborted a predefined number of times, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction;
based on determining the transaction has aborted the predefined number of times, performing an action to restrict processing of the processor or another processor during a retry of the transaction, the action to be performed being selected based on an abort count associated with the transaction, wherein there are a plurality of ranges of abort counts having one or more selectable actions associated therewith, and wherein the action selected to be performed comprises one or more actions of one or more selectable actions associated with a range of abort counts comprising the abort count; and
retrying the transaction one or more selected times subsequent to performing the action.
1 Assignment
0 Petitions
Accused Products
Abstract
Processing of transactions within a computing environment is facilitated by taking actions to increase the chances of successfully executing a transaction. A counter is maintained that provides a count of how often a transaction has aborted. The counter increments the count each time the transaction is aborted, and it is reset to zero upon successful completion of the transaction or an interruption leading to no more re-executions of the transaction. If the count reaches a threshold value, then an interrupt is presented and transaction execution is unsuccessful. However, before the count reaches the threshold, a number of actions may be taken to increase the chances of successfully executing the transaction. These actions include actions to be performed within the processor executing the transaction, and/or actions to be performed against conflicting processors.
197 Citations
20 Claims
-
1. A computer system for facilitating processing within a computing environment, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; determining, by a processor, that a transaction executing within the computing environment has aborted a predefined number of times, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; based on determining the transaction has aborted the predefined number of times, performing an action to restrict processing of the processor or another processor during a retry of the transaction, the action to be performed being selected based on an abort count associated with the transaction, wherein there are a plurality of ranges of abort counts having one or more selectable actions associated therewith, and wherein the action selected to be performed comprises one or more actions of one or more selectable actions associated with a range of abort counts comprising the abort count; and retrying the transaction one or more selected times subsequent to performing the action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product for facilitating processing within a computing environment, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; determining, by a processor, that a transaction executing within the computing environment has aborted a predefined number of times, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; based on determining the transaction has aborted the predefined number of times, performing an action to restrict processing of the processor or another processor during a retry of the transaction, the action to be performed being selected based on an abort count associated with the transaction, wherein there are a plurality of ranges of abort counts having one or more selectable actions associated therewith, and wherein the action selected to be performed comprises one or more actions of one or more selectable actions associated with a range of abort counts comprising the abort count; and retrying the transaction one or more selected times subsequent to performing the action. - View Dependent Claims (14, 15, 16, 17, 18)
-
19. A computer system for facilitating processing within a computing environment, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; determining, by the processor, that a transaction executing within the computing environment has aborted a predefined number of times; based on determining the transaction has aborted the predefined number of times, performing an action to restrict processing of the processor or another processor during a retry of the transaction, the action to be performed being selected based on an abort count associated with the transaction, wherein there are a plurality of abort counts configured that have selectable actions associated therewith at different levels of restrictiveness, and wherein the abort count associated with the transaction is an abort count of the plurality of abort counts; and retrying the transaction one or more selected times subsequent to performing the action. - View Dependent Claims (20)
-
Specification